Exceptions caused by inconsistent eclipse versions

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.