The android UI editor eclipse Android layout editor cannot be opened, which makes people crash and reports the following error:
Unhandled event loop exception
Java. Lang. nullpointerexception
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite. checkcreateenable (configurationcomposite. Java: 2353)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite. computecurrentconfig (configurationcomposite. Java: 2257)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite. ondevicechange (configurationcomposite. Java: 1976)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite. Access $6 (configurationcomposite. Java: 1939)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite $4. widgetselected (configurationcomposite. Java: 472)
At org. Eclipse. SWT. Widgets. typedlistener. handleevent (typedlistener. Java: 240)
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. display. rundeferredevents (display. Java: 4165)
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 3754)
At org. Eclipse. UI. Internal. workbench. runeventloop (workbench. Java: 2701)
At org. Eclipse. UI. Internal. workbench. runui (workbench. Java: 2665)
At org. Eclipse. UI. Internal. workbench. Access $4 (workbench. Java: 2499)
At org. Eclipse. UI. Internal. workbench $ 7.run( workbench. Java: 679)
At org. Eclipse. Core. databinding. observable. realm. runwithdefault (realm. Java: 332)
At org. Eclipse. UI. Internal. workbench. createandrunworkbench (workbench. Java: 668)
At org. Eclipse. UI. platformui. createandrunworkbench (platformui. Java: 149)
At org. Eclipse. UI. Internal. Ide. application. ideapplication. Start (ideapplication. Java: 123)
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: 57)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 43)
At java. Lang. Reflect. method. Invoke (method. Java: 601)
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)
Error while loading Editor
Java. Lang. nullpointerexception
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. configuration. configurationcomposite. onxmlmodelloaded (configurationcomposite. Java: 691)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. gle2.graphicaleditorpart. ontargetchange (graphicaleditorpart. Java: 1014)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. layouteditordelegate. ondescriptorschanged (layouteditordelegate. Java: 652)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. layouteditordelegate. delegateinituirootnode (layouteditordelegate. Java: 574)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. layout. layouteditordelegate. delegatexmlmodelchanged (layouteditordelegate. Java: 347)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. Common. commonxmleditor. xmlmodelchanged (commonxmleditor. Java: 327)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. androidxmleditor $ xmlmodelstatelistener. modelchanged (androidxmleditor. Java: 1569)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. androidxmleditor. createtexteditor (androidxmleditor. Java: 781)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. androidxmleditor. createandroidpages (androidxmleditor. Java: 294)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. androidxmleditor. addpages (androidxmleditor. Java: 284)
At com. Android. Ide. Eclipse. ADT. Internal. Editors. Common. commonxmleditor. addpages (commonxmleditor. Java: 283)
At org. Eclipse. UI. Forms. Editor. formeditor. createpages (formeditor. Java: 138)
At org. Eclipse. UI. Part. multipageeditorpart. createpartcontrol (multipageeditorpart. Java: 348)
At org. Eclipse. UI. Internal. editorreference. createparelper (editorreference. Java: 670)
At org. Eclipse. UI. Internal. editorreference. createpart (editorreference. Java: 465)
At org. Eclipse. UI. Internal. workbenchpartreference. getpart (workbenchpartreference. Java: 595)
At org. Eclipse. UI. Internal. partpane. setvisible (partpane. Java: 313)
At org. Eclipse. UI. Internal. Presentations. presentablepart. setvisible (presentablepart. Java: 180)
At org. Eclipse. UI. Internal. Presentations. util. presentablepartfolder. Select (presentablepartfolder. Java: 270)
At org. Eclipse. UI. Internal. Presentations. util. lefttorighttaborder. Select (lefttorighttaborder. Java: 65)
At org. Eclipse. UI. Internal. Presentations. util. tabbedstackpresentation. selectpart (tabbedstackpresentation. Java: 473)
At org. Eclipse. UI. Internal. partstack. refreshpresentationselection (partstack. Java: 1245)
At org. Eclipse. UI. Internal. partstack. setselection (partstack. Java: 1198)
At org. Eclipse. UI. Internal. partstack. showpart (partstack. Java: 1597)
At org. Eclipse. UI. Internal. partstack. Add (partstack. Java: 493)
At org. Eclipse. UI. Internal. editorstack. Add (editorstack. Java: 103)
At org. Eclipse. UI. Internal. partstack. Add (partstack. Java: 479)
At org. Eclipse. UI. Internal. editorstack. Add (editorstack. Java: 112)
At org. Eclipse. UI. Internal. editorsashcontainer. addeditor (editorsashcontainer. Java: 63)
At org. Eclipse. UI. Internal. editorareahelper. addtolayout (editorareahelper. Java: 225)
At org. Eclipse. UI. Internal. editorareahelper. addeditor (editorareahelper. Java: 213)
At org. Eclipse. UI. Internal. editormanager. createeditortab (editormanager. Java: 808)
At org. Eclipse. UI. Internal. editormanager. openeditorfromdescriptor (editormanager. Java: 707)
At org. Eclipse. UI. Internal. editormanager. openeditor (editormanager. Java: 666)
At org. Eclipse. UI. Internal. workbenchpage. busyopeneditorbatched (workbenchpage. Java: 2942)
At org. Eclipse. UI. Internal. workbenchpage. busyopeneditor (workbenchpage. Java: 2850)
At org. Eclipse. UI. Internal. workbenchpage. Access $11 (workbenchpage. Java: 2842)
At org. Eclipse. UI. Internal. workbenchpage $ 10.run( workbenchpage. Java: 2793)
At org. Eclipse. SWT. Custom. busyindicator. showwhile (busyindicator. Java: 70)
At org. Eclipse. UI. Internal. workbenchpage. openeditor (workbenchpage. Java: 2789)
At org. Eclipse. UI. Internal. workbenchpage. openeditor (workbenchpage. Java: 2773)
At org. Eclipse. UI. Internal. workbenchpage. openeditor (workbenchpage. Java: 2764)
At org. Eclipse. UI. Ide. Ide. openeditor (IDE. Java: 651)
At org. Eclipse. UI. Ide. Ide. openeditor (IDE. Java: 610)
At org. Eclipse. jdt. Internal. UI. javaeditor. editorutility. openineditor (editorutility. Java: 355)
At org. Eclipse. jdt. Internal. UI. javaeditor. editorutility. openineditor (editorutility. Java: 164)
At org. Eclipse. jdt. UI. Actions. openaction. Run (openaction. Java: 249)
At org. Eclipse. jdt. UI. Actions. openaction. Run (openaction. Java: 228)
At org. Eclipse. jdt. UI. Actions. selectiondispatchaction. dispatchrun (selectiondispatchaction. Java: 275)
At org. Eclipse. jdt. UI. Actions. selectiondispatchaction. Run (selectiondispatchaction. Java: 251)
At org. Eclipse. jdt. Internal. UI. packageview. packagepoliceractiongroup. handleopen (packagepoliceractiongroup. Java: 376)
At org. Eclipse. jdt. Internal. UI. packageview. packagecyclerpart $4. Open (packagecyclerpart. Java: 538)
At org. Eclipse. UI. openandlinkwitheditorhelper $ internallistener. Open (openandlinkwitheditorhelper. Java: 48)
At org. Eclipse. jface. Viewers. structuredviewer $ 2.run( structuredviewer. Java: 866)
At org. Eclipse. Core. runtime. saferunner. Run (saferunner. Java: 42)
At org. Eclipse. UI. Internal. jfaceutil $ 1.run( jfaceutil. Java: 49)
At org. Eclipse. jface. util. saferunnable. Run (saferunnable. Java: 175)
At org. Eclipse. jface. Viewers. structuredviewer. fireopen (structuredviewer. Java: 864)
At org. Eclipse. jface. Viewers. structuredviewer. handleopen (structuredviewer. Java: 1152)
At org. Eclipse. jface. Viewers. structuredviewer $6. handleopen (structuredviewer. Java: 1256)
At org. Eclipse. jface. util. openstrategy. fireopenevent (openstrategy. Java: 275)
At org. Eclipse. jface. util. openstrategy. Access $2 (openstrategy. Java: 269)
At org. Eclipse. jface. util. openstrategy $1. handleevent (openstrategy. Java: 309)
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. display. rundeferredevents (display. Java: 4165)
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 3754)
At org. Eclipse. UI. Internal. workbench. runeventloop (workbench. Java: 2701)
At org. Eclipse. UI. Internal. workbench. runui (workbench. Java: 2665)
At org. Eclipse. UI. Internal. workbench. Access $4 (workbench. Java: 2499)
At org. Eclipse. UI. Internal. workbench $ 7.run( workbench. Java: 679)
At org. Eclipse. Core. databinding. observable. realm. runwithdefault (realm. Java: 332)
At org. Eclipse. UI. Internal. workbench. createandrunworkbench (workbench. Java: 668)
At org. Eclipse. UI. platformui. createandrunworkbench (platformui. Java: 149)
At org. Eclipse. UI. Internal. Ide. application. ideapplication. Start (ideapplication. Java: 123)
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: 57)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 43)
At java. Lang. Reflect. method. Invoke (method. Java: 601)
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)
The problem should be caused by eclipse.
It should be that a configuration file has an error.
Due to the time relationship, I will not look for the reason one by one, so that eclipse can be achieved again.
Exit eclipse
Delete this folder C: \ Users \ luozhuang \ appdata \ Local \ eclipse
Then restart eclipse.
Luozhuang is my user name. You just need to change it to your own user name.
Appdata is a hidden directory. You need to enable "show all files and folders"