eclipse启动报错,让查看.metadata/.log日志

时间:2021-09-03 06:17:03
1 !SESSION 2013-09-23 17:28:28.484 ----------------------------------------------- 2 eclipse.buildId=M20120914-1800 3 java.version=1.7.0_11 4 java.vendor=Oracle Corporation 5 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN 6 Framework arguments:  -product org.eclipse.epp.package.jee.product 7 Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product 8  9 This is a continuation of log file E:/workspace_juno/.metadata/.bak_0.log10 Created Time: 2013-09-23 17:29:28.57811 12 !ENTRY org.eclipse.ui 4 0 2013-09-23 17:29:28.57813 !MESSAGE Error occurred during status handling14 !STACK 015 java.lang.NullPointerException16     at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.<init>(StatusHandlerRegistry.java:72)17     at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.getDefault(StatusHandlerRegistry.java:91)18     at org.eclipse.ui.statushandlers.StatusManager.getStatusHandler(StatusManager.java:135)19     at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:189)20     at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:231)21     at org.eclipse.ui.statushandlers.StatusManager$StatusManagerLogListener.logging(StatusManager.java:305)22     at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:160)23     at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:100)24     at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:86)25     at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:205)26     at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:178)27     at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)28     at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)29     at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54)30     at org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory$1.log(EclipseLogFactory.java:53)31     at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)32     at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)33     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)34     at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)35     at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)36     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)37     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)38     at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)39     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)40     at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)

eclipse启动不了,让查看.metadata/.log日志,上面为日志中的错误提示。

解决办法:删除 .metadata/.plugins/org.eclipse.e4.workbench 目录。