GEF editor without a Wizard [message #119549] |
Thu, 26 February 2004 03:43  |
Eclipse User |
|
|
|
Hello,
I've been modifying the Logic Editor to work without a Wizard, and it
constructs a new LogicDiagram when a new *.logic file is first created.
The file size increases after I perform a SaveAction, so the action must
be working. But when I try to access the file after a save, I get the
following error during setInput():
java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
I haven't changed the doSave() method or the createOutputStream() method.
Any thoughts?
Thanks again.
Matt
|
|
|
Re: GEF editor without a Wizard [message #119637 is a reply to message #119549] |
Thu, 26 February 2004 10:27  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
For a long time there was no logic wizard. I have not seen this error
before. I have seen serialization problems before when we change one of the
model classes.
"Matt" <mattscar@yahoo.com> wrote in message
news:c1kbil$4uu$1@eclipse.org...
> Hello,
>
> I've been modifying the Logic Editor to work without a Wizard, and it
> constructs a new LogicDiagram when a new *.logic file is first created.
>
> The file size increases after I perform a SaveAction, so the action must
> be working. But when I try to access the file after a save, I get the
> following error during setInput():
>
> java.io.StreamCorruptedException: invalid stream header
> at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
> at java.io.ObjectInputStream.<init>(Unknown Source)
>
> I haven't changed the doSave() method or the createOutputStream() method.
> Any thoughts?
>
> Thanks again.
>
> Matt
>
|
|
|
Powered by
FUDForum. Page generated in 0.06127 seconds