[izpack-users] UserInputPanel questions + NPE on CVS

Darren Govoni darren at ontrenet.com
Mon Jan 30 16:00:13 CET 2006


Hi,
  I've found out that I can use multiple search fields in UserInputPanel 
to direct different packs to different locations
using the variables. Couple observations.

1) It seems UserInputPanel is using the field 'id' for the display 
description. This would be a bug.
2) If I add a lot (like 6) of search fields, they get cut off at the 
bottom. Has someone considered:
         a) Making the base panel a scrollpane so if many fields are 
added they would scroll?
         or
         b) Moving the browse button to the end of the text field where 
it is typically found rather
         than underneath it, which takes up twice as much vertical space.

I tried to update to the latest CVS to see if fixes had been made but 
then I cannot run my installer xxx.jar
I create from ant. It gives null pointer exceptions.

java -jar mets-install.jar
- Error -
java.lang.NullPointerException
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at java.util.Properties.setProperty(Properties.java:128)
        at 
com.izforge.izpack.installer.AutomatedInstallData.setVariable(AutomatedInstallData.java:170)
        at 
com.izforge.izpack.installer.InstallerBase.loadInstallData(InstallerBase.java:95)
        at 
com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.izforge.izpack.installer.Installer.main(Installer.java:62)

thanks for any types
Darren



More information about the izpack-users mailing list