[izpack-users] NullPointerException during installation?

Dennis Thrysøe dth at conscius.com
Thu Nov 23 12:25:03 CET 2006


Marc Eppelmann wrote:
> Hi Dennis,
> 
> Which (Language) Windows Version did you  exactly use?
> ... and to help to debug, can you re-start your your_izpack_setup.jar with:
> 
> ~> java -DLOG=true -jar your_izpack_setup.jar
> 
> and send us the logfile which will be written?

Now I ran into the same problem in a new variant for my own installer.

I'm creating an installer that includes the DLL for creating shortcuts, 
and then wrapping this installer in an exe file with launch4j.

But this causes two exceptions:

java.lang.Exception: can't locate library
         at 
com.izforge.izpack.util.Librarian.loadLibrary(Librarian.java:293) 
  at com.izforge.izpack.util.os.ShellLink.initialize(ShellLink.java:461)
         at com.izforge.izpack.util.os.ShellLink.<init>(ShellLink.java:349)
         at 
com.izforge.izpack.util.os.Win_Shortcut.initialize(Win_Shortcut.java:79)
         at 
com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:600)



java.lang.NullPointerException
         at 
com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Win_Shortcut.java:657)
         at 
com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(ShortcutPanel.java:685)
         at 
com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:614)



Is the izpack installer dependent on a a specific environment variable, 
or something else, that I am missing in the launch4j-exe?


Thanks,

-dennis

---------------------------------------------------------------------------
The information in this email is confidential and may be legally protected.




More information about the izpack-users mailing list