NullPointerException in SetupShortcut when checkbox is unchecked

Description

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(Unix_Shortcut.java:897)
at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createShortcuts(ShortcutPanelLogic.java:1189)
at com.izforge.izpack.panels.shortcut.ShortcutPanelLogic.createAndRegisterShortcuts(ShortcutPanelLogic.java:223)
at com.izforge.izpack.panels.shortcut.ShortcutPanel.isValidated(ShortcutPanel.java:282)
at com.izforge.izpack.installer.gui.IzPanel.panelValidated(IzPanel.java:277)
at com.izforge.izpack.installer.gui.IzPanelView.isValid(IzPanelView.java:60)
at com.izforge.izpack.installer.panel.AbstractPanels.executeValidationActions(AbstractPanels.java:564)
at com.izforge.izpack.installer.panel.AbstractPanels.isValid(AbstractPanels.java:178)
at com.izforge.izpack.installer.panel.AbstractPanels.next(AbstractPanels.java:228)
at com.izforge.izpack.installer.gui.DefaultNavigator.next(DefaultNavigator.java:341)
at com.izforge.izpack.installer.gui.DefaultNavigator.next(DefaultNavigator.java:326)
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.navigate(DefaultNavigator.java:559)
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler.access$100(DefaultNavigator.java:522)
at com.izforge.izpack.installer.gui.DefaultNavigator$NavigationHandler$1$1.run(DefaultNavigator.java:542)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Environment

macOS 10.13.2 (High Sierra)
Java 1.8u111

Attachments

Assignee

Adrien Lesur

Reporter

Adrien Lesur

Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium
Configure