NullPointerException in SetupShortcut when checkbox is unchecked


Clicking on "next" button in the SetupShortcut panel, with the checkbox unchecked, throws a NullPointerException.
Then, the setup is frozen and the uninstaller isn't created.
I put the console output below and a screenshot just to add visual support.
If no one is investigating I can handle this as my first contribution

+air-de-adrien:web adrien$ java -jar /Users/adrien/Downloads/web/izpack-dist-5.1.2.jar +
Command line arguments:
Cannot find named resource: 'packsLang.xml' AND 'packsLang.xml_fra'
Installation started
Framework: 5.1.2-f74e5 (IzPack)
Platform: mac_osx,version=10.13.2,arch=x86,symbolicName=null,javaVersion=1.8.0_111
Cleaning up the target folder ...
Installation finished
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.izforge.izpack.util.os.Unix_Shortcut.execPostAction(
at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createShortcuts(
at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createAndRegisterShortcuts(
at com.izforge.izpack.panels.shortcut.ShortcutPanel.isValidated(
at com.izforge.izpack.installer.gui.IzPanel.panelValidated(
at com.izforge.izpack.installer.gui.IzPanelView.isValid(
at com.izforge.izpack.installer.panel.AbstractPanels.executeValidationActions(
at com.izforge.izpack.installer.panel.AbstractPanels.isValid(
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.navigate(
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.access$100(
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler$1$
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(


macOS 10.13.2 (High Sierra)
Java 1.8u111


René Krell
March 26, 2018, 10:25 AM

No problem.
With closing issues we are maybe a bit behind. Although an off-topic just an opinion, how I'd handle this:

  • RESOLVED FIXED - pull request is merged to izpack/izpack master branch

  • CLOSED - change has been released (not done frequently to this time).

We should probably document this somewhere in Confluence.

Adrien Lesur
March 26, 2018, 9:20 AM

Sorry for this, I thought the « closed » status was used in this case.

René Krell
March 26, 2018, 8:58 AM

Thanks for contributing. Just a small note: Please set issues Resolved just in case the pull request is merged, which is better for organizational purposes.

Your pinned fields
Click on the next to a field label to start pinning.


Adrien Lesur


Adrien Lesur