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! ]