打开Eclipse出现“An internal error has occurred. java.lang.NullPointerException

今天打开eclipse出现了这个问题;下面是老外给出的办法,粘给大家:

Instead of deleting the whole .metadata folder, just delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi" You need to make sure to quit eclipse first, then remove this file and start eclipse again.

删除.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 这个文件;除非迫不得已否则别删除.metadata

老外的这种解决办法很好,如果你觉得这样不安全,可以先把这个文件备份一下
---------------------
作者:lyj1119
来源:CSDN
原文:https://blog.csdn.net/lyj1119/article/details/79476054
版权声明:本文为博主原创文章,转载请附上博文链接!

posted @ 2019-04-03 15:27  littlecarzz  阅读(2337)  评论(0编辑  收藏  举报