Eclipse can not start newspaper An internal error occurred during:. "Reload maven project" java.lang.NullPointerExceptio wrong

Eclipse can not start newspaper An internal error occurred during:. "Reload maven project" java.lang.NullPointerExceptio wrong reason and resolve

As shown in FIG Eclipse given:


 

The reason given : the introduction of a maven project at work, too slow to load (download jar package) on startup, then turn it off, eclipse also closed. In the absence of a normal shutdown leads to eclipse data can not be properly written to the configuration file prevents booting.

错误形式An internal error occurred during: "reload maven project". java.lang.NullPointerExceptio

Solution : The following are several ways, the practice can be resolved, but there are some nuances. Jun for selection!

  The first method: find within the Eclipse workspace .metadata and delete, this time can be opened normally. (This method is not recommended, due to the loss of some configuration information and also to manually import the items, the loss larger)

  The first method: find within the Eclipse workspace . .Metadata -> plugins -> org.eclipse.e4.workbench -> workbench.xmi deleted directly (without having to manually import the original project, but the loss of configuration information, the relative loss The first method, it is relatively small)

  The third method: find within the Eclipse workspace .metadata -> plugins -> org.eclipse.e4.workbench - > workbench.xmi and opened with compilation tools, delete. SharedElements configuration item (eclipse workbench to load Interface Profiles .xmi in sharedElements abnormal configuration items can not find the appropriate file caused. than the previous two methods, minimum loss, but sometimes it may be caused by persistedState label items, which requires users to be on the Eclipse software and a variety of configurations quite familiar)

  <sharedElements xsi:type="advanced:Area" ...
  ...
  ...
  ...
  </sharedElements>

Guess you like

Origin www.cnblogs.com/spy66/p/12292339.html