[izpack-devel] New language

Zycor.net Development Solutions airhead at webmail.co.za
Tue Mar 6 07:20:09 CET 2007


Hi,

I get the following exception when I try to create my own panels. Why is 
this? Even if I just rename the HelloPanel and recompile, create Jar and 
copy Jar and Class files into bin folder, this happens.

//===================== Start of Trace ========================//
No custom langpack available.
Can not find optional resource conditions.xml
No specification for conditions found.
Resource customicons.xml not defined. No custom icons available.
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
Source)

        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at 
com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame
.java:336)
        at 
com.izforge.izpack.installer.InstallerFrame.<init>(InstallerFrame.jav
a:256)
        at 
com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:4
27)
        at 
com.izforge.izpack.installer.GUIInstaller.access$100(GUIInstaller.jav
a:79)
        at 
com.izforge.izpack.installer.GUIInstaller$2.run(GUIInstaller.java:148
)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at java.awt.Container.addImpl(Unknown Source)
        at java.awt.Container.add(Unknown Source)
        at com.izforge.izpack.panels.MSDEPanel.<init>(MSDEPanel.java:106)
        at com.izforge.izpack.panels.MSDEPanel.<init>(MSDEPanel.java:64)
        ... 17 more
//===================== End of Trace ========================//

Also, what is the 'private static final long serialVersionUID = 
3257848774955905587L;' on each panel? How do I generate this?

Regards
Riaan Cornelius  Software Developer - B.Sc(IT)  -  *neo at zycor.net*
Ask an Expert - Visit my Virtual Office at Kasamba 
<http://www.kasamba.com/Advice/VirtualOffice/ViewExpert.aspx?hE_x002F_LQgGt_x002B_kFYNCfS2_x002F_PTa5dl08QtDMq_x002B_vNnpiXfkC_x002B_0JhFyjXBf6T80Eopgpc_x002F_nqY6hjWiws56Ypu4tAD2Mw1bmvUI_x002F_GBarL> 
	     	Get Thunderbird <http://www.mozilla.org/products/thunderbird/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070306/cfcddd9b/attachment.html 


More information about the izpack-devel mailing list