The eclipse RCP application cannot be closed. You need to close it in the process bar.

Source: Internet
Author: User
! Entry org. Eclipse. UI 4 0 14:31:17. 718
! Message unhandled event loop exception
! Stack 0
Java. Lang. noclassdeffounderror: ORG/Eclipse/UI/Internal/workbenchwindow $5
At org. Eclipse. UI. Internal. workbenchwindow. Close (workbenchwindow. Java: 858)
At org. Eclipse. jface. Window. Window. handleshellcloseevent (window. Java: 741)
At org. Eclipse. jface. Window. Window $3. shellclosed (window. Java: 687)
At org. Eclipse. SWT. Widgets. typedlistener. handleevent (typedlistener. Java: 98)
At org. Eclipse. SWT. Widgets. eventtable. sendevent (eventtable. Java: 84)
At org. Eclipse. SWT. Widgets. widget. sendevent (widget. Java: 1053)
At org. Eclipse. SWT. Widgets. widget. sendevent (widget. Java: 1077)
At org. Eclipse. SWT. Widgets. widget. sendevent (widget. Java: 1062)
At org. Eclipse. SWT. Widgets. decorations. closewidget (decorations. Java: 308)
At org. Eclipse. SWT. Widgets. decorations. wm_close (decorations. Java: 1677)
At org. Eclipse. SWT. Widgets. Control. windowproc (control. Java: 4530)
At org. Eclipse. SWT. Widgets. Canvas. windowproc (canvas. Java: 341)
At org. Eclipse. SWT. Widgets. decorations. windowproc (decorations. Java: 1610)
At org. Eclipse. SWT. Widgets. Shell. windowproc (shell. Java: 2061)
At org. Eclipse. SWT. Widgets. display. windowproc (display. Java: 4972)
At org. Eclipse. SWT. Internal. win32. OS. defwindowprocw (native method)
At org. Eclipse. SWT. Internal. win32. OS. defwindowproc (OS. Java: 2525)
At org. Eclipse. SWT. Widgets. Shell. callwindowproc (shell. Java: 498)
At org. Eclipse. SWT. Widgets. Control. windowproc (control. Java: 4623)
At org. Eclipse. SWT. Widgets. Canvas. windowproc (canvas. Java: 341)
At org. Eclipse. SWT. Widgets. decorations. windowproc (decorations. Java: 1610)
At org. Eclipse. SWT. Widgets. Shell. windowproc (shell. Java: 2061)
At org. Eclipse. SWT. Widgets. display. windowproc (display. Java: 4972)
At org. Eclipse. SWT. Internal. win32. OS. defwindowprocw (native method)
At org. Eclipse. SWT. Internal. win32. OS. defwindowproc (OS. Java: 2525)
At org. Eclipse. SWT. Widgets. Shell. callwindowproc (shell. Java: 498)
At org. Eclipse. SWT. Widgets. Control. windowproc (control. Java: 4623)
At org. Eclipse. SWT. Widgets. Canvas. windowproc (canvas. Java: 341)
At org. Eclipse. SWT. Widgets. decorations. windowproc (decorations. Java: 1610)
At org. Eclipse. SWT. Widgets. Shell. windowproc (shell. Java: 2061)
At org. Eclipse. SWT. Widgets. display. windowproc (display. Java: 4972)
At org. Eclipse. SWT. Internal. win32. OS. dispatchmessagew (native method)
At org. Eclipse. SWT. Internal. win32. OS. dispatchmessage (OS. Java: 2530)
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 3752)
At org. Eclipse. UI. Internal. workbench. runeventloop (workbench. Java: 2696)
At org. Eclipse. UI. Internal. workbench. runui (workbench. Java: 2660)
At org. Eclipse. UI. Internal. workbench. Access $4 (workbench. Java: 2494)
At org. Eclipse. UI. Internal. workbench $ 7.run( workbench. Java: 674)
At org. Eclipse. Core. databinding. observable. realm. runwithdefault (realm. Java: 332)
At org. Eclipse. UI. Internal. workbench. createandrunworkbench (workbench. Java: 667)
At org. Eclipse. UI. platformui. createandrunworkbench (platformui. Java: 149)
At com. geocompass. geosearch. application. Start (application. Java: 56)
At org. Eclipse. Equinox. Internal. App. eclipseapphandle. Run (eclipseapphandle. Java: 196)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. runapplication (eclipseapplauncher. Java: 110)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. Start (eclipseapplauncher. Java: 79)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 344)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 179)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 597)
At org. Eclipse. Equinox. launcher. Main. invokeframework (main. Java: 622)
At org. Eclipse. Equinox. launcher. Main. basicrun (main. Java: 577)
At org. Eclipse. Equinox. launcher. Main. Run (main. Java: 1410)

Cause and correction method: I overload the postwindowclose () of the applicationworkbenchwindowadvisor class and accidentally deregistered it.Super. postwindowclose ();Method. When modifying this method, make sure that the parent class is called first.

// Public void postwindowclose (){
/// Todo auto-generated method stub
// Super. postwindowclose ();/ /Whether to log off. As a result, the application cannot be closed. Program ??

//}

 

Related Article

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.