[izpack-users] custom panel cont'd ( 3 )

Bartz, Klaus Klaus.Bartz at coi.de
Mon Oct 16 15:47:20 CEST 2006


Hi le dinh,
the line with the ResourceNotFoundException is only  for information if you have
defined -DTRACE=TRUE.
For the pack description you can add a separated locale file named packsLang.xml_<ISO3>.
But that is facultative, the message is only for information. See docu
Writing Installation XML Files -> The iZPACK Elements -> The Packs Element <packs> -> Internationalization of the PacksPanel

 
Since some emails the problematically file|line is
PingPanelWorker.java:363
I think...
 
Cheers
 
Klaus
 

-----Original Message-----
From: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of le dinh
Sent: Monday, October 16, 2006 3:17 PM
To: izpack-users-request at lists.berlios.de; izpack-users at lists.berlios.de
Subject: [izpack-users] custom panel cont'd ( 3 )


Hi Klaus,

Thanks for your advices.I've downloaded Izpack 3.9 ( mine is 3.8 ) and installed it. I saw in the documentation how to debug in eclipse. I followed instructions step by step and it works. After a dump of XML features, it gives the following output. I've indeed added in eng.xml messages concerning my PingPanel. So what does it mean 'Can not find Resource packsLang.xml for language eng' ? Something wrong with my eng.xml ?

You're right. I'd better start with a simple panel like HelloPanel because there's less things to control and master. 

Cheers,

 

com.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language eng

this=com.izforge.izpack.panels.PingPanel[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]

input=PingPanel.Spec.xml protspec=null protlist=null

- Error -

java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

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

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

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame.java:202)

at com.izforge.izpack.installer.InstallerFrame.<init>(InstallerFrame.java:159)

at com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:389)

at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:126)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

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

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

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at com.izforge.izpack.installer.Installer.main(Installer.java:62)

Caused by: java.lang.NullPointerException

at com.izforge.izpack.installer.PingPanelWorker.readChoices(PingPanelWorker.java:363)

at com.izforge.izpack.installer.PingPanelWorker.getAvailableProt(PingPanelWorker.java:136)

at com.izforge.izpack.panels.PingPanel.<init>(PingPanel.java:193)

... 15 more


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20061016/00583932/attachment.html 


More information about the izpack-users mailing list