[izpack-devel] Issues while reading data from packs

Michael Scherer mscherer at gis-systemhaus.de
Fri Aug 4 11:06:35 CEST 2006


Hi.

I'm currently trying to implement a BackupPanel which saves all
files that will be overwritten by the InstallPanel into a jar.File.

While doing this I'm trying to find all filenames by reading them
from the packs like the InstallPanel does ...

Now when doing "PackFile packFile = (PackFile)packStream.readObject();" I get
java.io.OptionalDataException
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at 
com.izforge.izpack.panels.OpenBackupPanelAutomationHelper.doBackup(OpenBackupPanelAutomat
ionHelper.java:61)

What am I doing wrong here, copied must of the stuff from InstallPanel.
Mmmh, thanks for your help.

Greetings,
  Michael

PS: see my panel attached to this email
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OpenBackupPanelAutomationHelper.java
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060804/a2f77012/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OpenBackupPanel.java
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060804/a2f77012/attachment-0001.ksh 


More information about the izpack-devel mailing list