A few days ago, we upgraded the GEF version from 3.0.1 to 3.1m6, and found that the previously running GEF was normal.ProgramThe following exception always occurs, for example, when I move a node or create a new node.
! Entry org. Eclipse. UI 4 0 2005 - 04 - 19 23 : 12 : 55.974
! Message tried to access method org. Eclipse. UI. Views. properties. propertysheetentry. refreshfromroot () V from class org. Eclipse. GEF. UI. properties. undoablepropertysheetentry
! Stack 0
Java. Lang. illegalaccesserror: tried to access method org. Eclipse. UI. Views. properties. propertysheetentry. refreshfromroot () V from class org. Eclipse. GEF. UI. properties. undoablepropertysheetentry
At org. Eclipse. GEF. UI. properties. undoablepropertysheetentry. Access $ 0 (Undoablepropertysheetentry. Java: 1 )
At org. Eclipse. GEF. UI. properties. undoablepropertysheetentry $ 1 . Commandstackchanged (undoablepropertysheetentry. Java: 103 )
At org. Eclipse. GEF. commands. commandstack. policylisteners (commandstack. Java: 253 )
At org.eclipse.gef.commands.commandstack.exe cute (commandstack. Java: 141 )
At org.eclipse.gef.tools.abstracttool.exe cutecommand (abstracttool. Java: 374 )
At org.eclipse.gef.tools.abstracttool.exe cutecurrentcommand (abstracttool. Java: 386 )
At org. Eclipse. GEF. Tools. drageditpartstracker. Export mdrag (drageditpartstracker. Java: 450 )
At org. Eclipse. GEF. Tools. drageditpartstracker. handlebuttonup (drageditpartstracker. Java: 320 )
At org. Eclipse. GEF. Tools. abstracttool. mouseup (abstracttool. Java: 1035 )
At org. Eclipse. GEF. Tools. selectiontool. mouseup (selectiontool. Java: 545 )
At org. Eclipse. GEF. editdomain. mouseup (editdomain. Java: 259 )
At org. Eclipse. GEF. UI. parts. domaineventdispatcher. dispatchmousereleased (domaineventdispatcher. Java: 374 )
At org. Eclipse. draw2d. lightweightsystem $ eventhandler. mouseup (lightweightsystem. Java: 548 )
At org. Eclipse. SWT. Widgets. typedlistener. handleevent (typedlistener. Java: 136 )
At org. Eclipse. SWT. Widgets. eventtable. sendevent (eventtable. Java: 82 )
At org. Eclipse. SWT. Widgets. widget. sendevent (widget. Java: 842 )
At org. Eclipse. SWT. Widgets. display. rundeferredevents (display. Java: 2908 )
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 2541 )
At org. Eclipse. UI. Internal. workbench. runeventloop (workbench. Java: 1612 )
At org. Eclipse. UI. Internal. workbench. runui (workbench. Java: 1578 )
At org. Eclipse. UI. Internal. workbench. createandrunworkbench (workbench. Java: 293 )
At org. Eclipse. UI. platformui. createandrunworkbench (platformui. Java: 144 )
At org. Eclipse. UI. Internal. Ide. ideapplication. Run (ideapplication. Java: 102 )
At org. Eclipse. Core. Internal. runtime. platformactivator $ 1 . Run (platformactivator. Java: 228 )
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 333 )
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 150 )
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At org. Eclipse. Core. launcher. Main. invokeframework (main. Java: 268 )
At org. Eclipse. Core. launcher. Main. basicrun (main. Java: 260 )
At org. Eclipse. Core. launcher. Main. Run (main. Java: 887 )
At org. Eclipse. Core. launcher. Main. Main (main. Java: 871 )
After debugging for a long time, I did not find the cause. Finally, I got the answer in the GEF news group. In the past, gef3.1m6 required the eclipse version to be 3.1m6 or later, while I was using eclipse 3.1m5a, switch to 3.1m6 and try again.
If you encounter a similar strange exception, check the eclipse and plug-in versions first.