[izpack-devel] New panel creation

Zycor.net Development Solutions airhead at webmail.co.za
Tue Mar 6 08:02:47 CET 2007


Sorry, just hit reply and didn't change the subject...

I changed the build script, so panels should be in the right places... 
It seems that the problem was somehow with my panel...
I'm starting from scratch. I have now gotten a copy of the HelloPanel to 
work.

Still need an answer on this though:

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

Thanks
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/>

 



Zycor.net Development Solutions wrote:
> 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/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007 9:41 AM
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070306/860d3b3d/attachment.html 


More information about the izpack-devel mailing list