打开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

老外的这种解决办法很好,如果你觉得这样不安全,可以先把这个文件备份一下;

你可能感兴趣的:(开发中遇到的问题)