[izpack-user] Exception while adding shortcuts

34 views
Skip to first unread message

Davide Fiorentino

unread,
Jun 10, 2010, 5:24:51 AM6/10/10
to us...@izpack.codehaus.org
Hi,

I'm running IzPack Version 4.3.1, and on Vista x64 I'm having an exception while adding the shortcuts.
I'm running it with jre-6u20-x64 as privileged user.
May the included DLL be wrong for 64 environment?

Following the stack trace of the exeption while installing.

Davide


java.lang.Exception: can't locate library
        at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Librarian.java:314)
        at com.izforge.izpack.util.Librarian.loadLibrary(Librarian.java:173)
        at com.izforge.izpack.util.os.ShellLink.initialize(ShellLink.java:500)
        at com.izforge.izpack.util.os.ShellLink.<init>(ShellLink.java:374)
        at com.izforge.izpack.util.os.Win_Shortcut.initialize(Win_Shortcut.java:82)
        at com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:812)
        at com.izforge.izpack.installer.InstallerFrame.switchPanel(InstallerFrame.java:843)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1459)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1427)
        at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1569)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:110)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
        at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Win_Shortcut.java:679)
        at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(ShortcutPanel.java:915)
        at com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:826)
        at com.izforge.izpack.installer.InstallerFrame.switchPanel(InstallerFrame.java:843)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1459)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1427)
        at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1569)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:110)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.izforge.izpack.panels.ShortcutPanel.isValidated(ShortcutPanel.java:778)
        at com.izforge.izpack.installer.IzPanel.panelValidated(IzPanel.java:387)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1442)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1427)
        at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1569)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:110)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.izforge.izpack.panels.ShortcutPanel.isValidated(ShortcutPanel.java:778)
        at com.izforge.izpack.installer.IzPanel.panelValidated(IzPanel.java:387)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1442)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1427)
        at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1569)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:110)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.izforge.izpack.panels.ShortcutPanel.isValidated(ShortcutPanel.java:778)
        at com.izforge.izpack.installer.IzPanel.panelValidated(IzPanel.java:387)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1442)
        at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1427)
        at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1569)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:110)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
ZipException in writing custom data: duplicate entry: com/izforge/izpack/util/OSClassHelper.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/util/os/RegistryHandler.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/util/os/Win_RegistryHandler.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/util/os/WrappedNativeLibException.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/event/SimpleUninstallerListener.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/event/UninstallerListener.class
ZipException in writing custom data: duplicate entry: com/izforge/izpack/util/IoHelper.class

Kjell Braden

unread,
Jun 10, 2010, 5:30:53 AM6/10/10
to us...@izpack.codehaus.org, Davide Fiorentino
On 10.06.2010 11:24, Davide Fiorentino wrote:
> Hi,
>
> I'm running IzPack Version 4.3.1, and on Vista x64 I'm having an exception
> while adding the shortcuts.
> I'm running it with jre-6u20-x64 as privileged user.
> May the included DLL be wrong for 64 environment?
>
> Following the stack trace of the exeption while installing.
>
> Davide
>

If you only added ShellLink.dll, that dll is certainly wrong for 64bit
JREs. You'll need ShellLink_x64.dll too.

HTH
--
Kjell
IzPack developer

signature.asc

Okie

unread,
Jun 15, 2010, 3:32:03 PM6/15/10
to us...@izpack.codehaus.org

--
View this message in context: http://old.nabble.com/Exception-while-adding-shortcuts-tp28840733p28895405.html
Sent from the izpack - users @ codehaus mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Okie

unread,
Jun 15, 2010, 3:35:19 PM6/15/10
to us...@izpack.codehaus.org

> If the solution is to add "ShellLink_x64.dll" to my build, how do I add it
> to the build? Do I use a
> <native type="izpack" name="ShellLink.dll"/>
> <native type="izpack" name="ShellLink_x64.dll"/>
> since I have clients with both types of machines
>
>
>
>

--
View this message in context: http://old.nabble.com/Exception-while-adding-shortcuts-tp28840733p28895435.html

Reply all
Reply to author
Forward
0 new messages