Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 17:21:00 EDT 2025

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

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

Back to the top