Re: Troubles packaging cayenne in a java GUI exe for windows

From: Holger Hoffstätte (holge..izards.de)
Date: Mon Sep 15 2003 - 12:25:27 EDT

  • Next message: Troy McKinnon: "Re: Troubles packaging cayenne in a java GUI exe for windows"

    Holger Hoffstätte wrote:
    > Troy McKinnon wrote:
    > > I was trying to make a all inclusive package of the app to email a
    > > friend but I can't seem to get it runnable. I even tried including all
    > > resources and required libs. The package seems to have everything. (even
    > > the .cayenne directory) Is what I am doing doable? Or am I missing
    > > something obvious?
    >
    > An NPE should definitely not happen, even if there's something missing.
    > I'll look into it.

    The NPE was caused by getClassLoader() returning null, which is actually
    allowed but wasn't checked (I've never seen it before). I've just
    committed a simple fix to resort to the system class loader if this
    happens; please test the nightly build tomorrow and let us know if this
    fixes your problem.

    Holger



    This archive was generated by hypermail 2.0.0 : Mon Sep 15 2003 - 12:22:22 EDT