History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IZPACK-50
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Hans Aikema
Reporter: Jeroen Ticheler
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IzPack

Commandline install fails due to ShortcutPanelAutomationHelper error

Created: 03/Apr/08 02:17 AM   Updated: 20/Apr/08 09:15 AM
Component/s: Installer, Panels
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified

Environment: Mac OS X and Windows
Issue Links:
Related
 


 Description  « Hide
After a normal install I saved the installation script. Using that script to run the installation from the commandline, a NullPointerException is raised on the ShortcutPanelAutomationHelper.runAutomated (see stack trace). I tested this on both Mac OS X (where the panel is correctly ignored during normal installation) and on Windows. Both had the same error. It seems to me that the tests at the start of the runAutomated method are not working as they should.

Here's the terminal output:

$ java -jar geonetwork-install-2.2.0-0.jar install.xml
[ Starting automated installation ]
[ Starting to unpack ]
[ Processing package: Core (1/3) ]
[ Processing package: Sample metadata (2/3) ]
[ Processing package: GeoServer web map server (3/3) ]
[ Unpacking finished ]
java.lang.NullPointerException
at com.izforge.izpack.panels.ShortcutPanelAutomationHelper.runAutomated(ShortcutPanelAutomationHelper.java:141)
at com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:397)
at com.izforge.izpack.installer.Installer.main(Installer.java:68)
[ Writing the uninstaller data ... ]
[ Automated installation FAILED! ]



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Julien Ponge - 03/Apr/08 04:09 AM
Those issues affect the same component.

Hans Aikema - 08/Apr/08 02:46 PM
targeting for fix in version 4.0.0

Hans Aikema - 20/Apr/08 09:15 AM
Updated ShortcutPanelAutomationHelper to prevent the NPE on automated installs where the Shortcut specification does not include a programGroup