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   Resolved: 20/Apr/08 09:15 AM
Return to search
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! ]



Julien Ponge made changes - 03/Apr/08 04:09 AM
Field Original Value New Value
Link This issue relates to IZPACK-49 [ IZPACK-49 ]
Julien Ponge added a comment - 03/Apr/08 04:09 AM

Those issues affect the same component.


Julien Ponge made changes - 03/Apr/08 04:10 AM
Component/s Panels [ 13125 ]
Hans Aikema made changes - 06/Apr/08 02:21 PM
Assignee Hans Aikema [ aikebah ]
Hans Aikema added a comment - 08/Apr/08 02:46 PM

targeting for fix in version 4.0.0


Hans Aikema made changes - 08/Apr/08 02:46 PM
Fix Version/s 4.0.0 [ 14071 ]
Hans Aikema added a comment - 20/Apr/08 09:15 AM

Updated ShortcutPanelAutomationHelper to prevent the NPE on automated installs where the Shortcut specification does not include a programGroup


Hans Aikema made changes - 20/Apr/08 09:15 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Hans Aikema made changes - 20/Apr/08 09:15 AM
Status Resolved [ 5 ] Closed [ 6 ]