Skip to main content


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 14:11 Go to next message
vrush Mising nameFriend
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 06:30 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
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: Tue Sep 24 08:40:14 GMT 2024

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

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

Back to the top