Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Proble in saving file(Problem in saving file)
Proble in saving file [message #901045] Thu, 09 August 2012 10:11 Go to next message
vrush Mising name
Messages: 51
Registered: July 2009
Location: Pune
Member
Hi,

I have created a sample editor with flyout palette which can add radion button control to the editor. I could drag and drop the radio button from palatte to editor but can not save the file.
Error while saving -

java.io.NotSerializableException: org.eclipse.ui.views.properties.TextPropertyDescriptor
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeArray(Unknown Source)

I have implemented an abstract class with interfaces IPropertySource, Cloneable and Serializable.

Please advise me on this. Stuck since long.

Thanks in advance,
Vrushali.
Re: Proble in saving file [message #901152 is a reply to message #901045] Fri, 10 August 2012 02:30 Go to previous message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

it means thet the org.eclipse.ui.views.properties.TextPropertyDescriptor is being serialized while it's not implementing the Serializable interface.

You have an instance of it inside your serialized object.

Make it static or transient.
Previous Topic:[Zest] Arrange nodes over the visible range of the view
Next Topic:Sharing Edit Domain across application
Goto Forum:
  


Current Time: Sun Apr 20 12:30:21 EDT 2014

Powered by FUDForum. Page generated in 0.03385 seconds