Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Serial Version InvalidClassException
Serial Version InvalidClassException [message #211683] Wed, 15 March 2006 11:43 Go to next message
Eclipse UserFriend
Originally posted by: joshuaga.usc.edu

I am writing an editor using gef for eclipse. I am updating code that
used an older version of gef and eclipse. However, there are some removed
classes like CompoundSnapToStrategy and ToggleGridVisibililityAction that
the current versions of gef do not use. I have simply commented out this
code and replaced the code with the closest syntax that would make my
editor run.

However, At the line where setSAIGraph() is called, an
InvalidClassException occurs regarding the serial versions:

InputStream is = file.getContents(false);
..
..
..
ObjectInputStream ois = new ObjectInputStream(is);
setSAIGraph((Graph)ois.readObject());

I don't quite understand this, so I don't know what to do. What can I do
to fix this serial version problem? I have provided a copy of the stack
trace if that can help. Thanks in advance.

Josh

java.io.InvalidClassException: org.sai.visual.model.CompoundLabels; local
class incompatible: stream classdesc serialVersionUID =
-278808807177420868, local class serialVersionUID = -7667399604280763487
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.jav a:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1460)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1 628)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1293)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1 628)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1293)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 339)
at java.util.ArrayList.readObject(ArrayList.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass .java:919)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1813)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStrea m.java:468)
at org.sai.visual.model.Graph.readObject(Graph.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass .java:919)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1813)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 339)
at org.sai.visual.VisualEditor.setInput(VisualEditor.java:262)
at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEdito r.java:292)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:269)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:758)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:665)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:628)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2360)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2295)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage .java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2268)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2249)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileActio n.java:98)
at
org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystem EditorAction.java:98)
at
org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAct ion(OpenActionGroup.java:120)
at
org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAct ion(MainActionGroup.java:326)
at
org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen( ResourceNavigator.java:650)
at
org.eclipse.ui.views.navigator.ResourceNavigator$6.open(Reso urceNavigator.java:409)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:741)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:739)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:968)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1067)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:238)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:277)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Re: Serial Version InvalidClassException [message #211735 is a reply to message #211683] Wed, 15 March 2006 15:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Java serialization is not a robust mechanism for storing and reading in
data. If the class changes, it breaks compatibility with data stored using
the class' previous incarnation. There are some things you can do to improve
this. Google "java serialization UUID".

"Joshua Garcia" <joshuaga@usc.edu> wrote in message
news:15ae28ab12c09e549076a6abc372667e$1@www.eclipse.org...
>I am writing an editor using gef for eclipse. I am updating code that used
>an older version of gef and eclipse. However, there are some removed
>classes like CompoundSnapToStrategy and ToggleGridVisibililityAction that
>the current versions of gef do not use. I have simply commented out this
>code and replaced the code with the closest syntax that would make my
>editor run.
> However, At the line where setSAIGraph() is called, an
> InvalidClassException occurs regarding the serial versions:
> InputStream is = file.getContents(false);
> .
> .
> .
> ObjectInputStream ois = new ObjectInputStream(is);
> setSAIGraph((Graph)ois.readObject());
>
> I don't quite understand this, so I don't know what to do. What can I do
> to fix this serial version problem? I have provided a copy of the stack
> trace if that can help. Thanks in advance.
> Josh
>
> java.io.InvalidClassException: org.sai.visual.model.CompoundLabels; local
> class incompatible: stream classdesc serialVersionUID
> = -278808807177420868, local class serialVersionUID = -7667399604280763487
> at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.jav a:519)
> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream .java:1546)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.ja va:1460)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1693)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1 628)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1293)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1 628)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1293)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1836)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 339)
> at java.util.ArrayList.readObject(ArrayList.java:591)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass .java:919)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1813)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStrea m.java:1912)
> at java.io.ObjectInputStream.defaultReadObject(ObjectInputStrea m.java:468)
> at org.sai.visual.model.Graph.readObject(Graph.java:154)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass .java:919)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.j ava:1813)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStre am.java:1713)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java :1299)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java: 339)
> at org.sai.visual.VisualEditor.setInput(VisualEditor.java:262)
> at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEdito r.java:292)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:269)
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
> at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
> at
> org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
> at
> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
> at
> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
> at
> org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:758)
> at
> org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:665)
> at
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:628)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2360)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2295)
> at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage .java:2287)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2273)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2268)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2249)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
> at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileActio n.java:98)
> at
> org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystem EditorAction.java:98)
> at
> org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAct ion(OpenActionGroup.java:120)
> at
> org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAct ion(MainActionGroup.java:326)
> at
> org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen( ResourceNavigator.java:650)
> at
> org.eclipse.ui.views.navigator.ResourceNavigator$6.open(Reso urceNavigator.java:409)
> at
> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:741)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
> at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:739)
> at
> org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:968)
> at
> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1067)
> at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:243)
> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:238)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:277)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
>
Re: Serial Version InvalidClassException [message #211888 is a reply to message #211735] Thu, 16 March 2006 06:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joshuaga.usc.edu

Hi Randy,

Do you happen to know where I can get info on those no longer existing
classes like CompoundSnaptoStrategy and ToggleGridVisibilityAction? The
only possibility there seems right now is to grab an old version of GEF
and possibly eclipse and then hope there are javadocs that come with it.
Thanks for the help.

Josh
Re: Serial Version InvalidClassException [message #211957 is a reply to message #211888] Thu, 16 March 2006 20:32 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Joshua Garcia" <joshuaga@usc.edu> wrote in message
news:fe5bbecadd0926ebfe52a6f7e08729b4$1@www.eclipse.org...
> Hi Randy,
>
> Do you happen to know where I can get info on those no longer existing
> classes like CompoundSnaptoStrategy and ToggleGridVisibilityAction? The

Those classes were never in an official release of GEF. The correct classes
are CompoundSnapToHelper, and ToggleGridAction.

> only possibility there seems right now is to grab an old version of GEF
> and possibly eclipse and then hope there are javadocs that come with it.
> Thanks for the help.
>
> Josh
>
Previous Topic:Forcing rendering
Next Topic:Drag drop - creating multiple elements at once
Goto Forum:
  


Current Time: Sun Dec 04 15:52:05 GMT 2022

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

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

Back to the top