Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF editor without a Wizard
GEF editor without a Wizard [message #119549] Thu, 26 February 2004 08:43 Go to next message
Matt is currently offline MattFriend
Messages: 40
Registered: July 2009
Member
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 15:27 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Installing with Update Manager?
Next Topic:Line routing in GEF
Goto Forum:
  


Current Time: Wed Jul 17 01:18:42 GMT 2024

Powered by FUDForum. Page generated in 0.02858 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top