Eclipse / EPIC上的Perl:“无法加载类org.epic.debug.Launch”

时间:2012-06-22 14:56:02

标签: perl debugging eclipse-plugin strawberry-perl epic

我在Eclipse上运行EPIC Perl调试插件。我找到了这个调试环境  非常强大且对工作友好。

我在Windows 7上运行DWIM Perl,Strawberry Perl 5.14.2.1,Eclipse版本3.7.1构建M20110909-1335,EPIC版本0.6.44

在运行良好并且调试了几周之后,我昨天得到了以下错误:

调试会话无法启动。怎么办?:

以下是Eclipse错误日志的简要摘要:

!ENTRY org.eclipse.debug.ui 4 120 2012-06-22 02:00:22.257
!MESSAGE Error logged from Debug UI: 
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in org.epic.debug was unable to load class     org.epic.debug.LaunchShortcut.
... ...
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.epic.debug (211).
... ...
Caused by: org.osgi.framework.BundleException: Exception in org.epic.debug.PerlDebugPlugin.start() of bundle org.epic.debug.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)

Caused by: java.lang.NullPointerException
at     org.epic.debug.ui.action.VariablesViewActionDelegate.enableVariablesViewActions(VariablesViewActionDelegate.java:44)
... ... 
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2012-06-22 02:00:22.258
!MESSAGE Plug-in org.epic.debug was unable to load class org.epic.debug.LaunchShortcut.
!STACK 0
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.epic.debug (211).
... ...
Caused by: org.osgi.framework.BundleException: Exception in org.epic.debug.PerlDebugPlugin.start() of bundle org.epic.debug.
... ...
 Caused by: java.lang.NullPointerException
at org.epic.debug.ui.action.VariablesViewActionDelegate.enableVariablesViewActions(VariablesVie    wActionDelegate.java:44)
at org.epic.debug.PerlDebugPlugin.start(PerlDebugPlugin.java:458)

以下是同一日志的更全面的快照:

!ENTRY org.eclipse.debug.ui 4 120 2012-06-22 02:00:22.257
!MESSAGE Error logged from Debug UI: 
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in org.epic.debug was unable to load class       org.epic.debug.LaunchShortcut.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
... ... ...
at java.lang.reflect.Method.invoke(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
    Caused by:     org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.epic.debug (211).
at     org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
... ... ...
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
... 19 more
    Caused by: org.osgi.framework.BundleException: Exception in org.epic.debug.PerlDebugPlugin.start() of bundle org.epic.debug.
at                 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
... ... ...

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 88 more
Caused by: java.lang.NullPointerException
at     org.epic.debug.ui.action.VariablesViewActionDelegate.enableVariablesViewActions(VariablesViewActionDelegate.java:44)
at org.epic.debug.PerlDebugPlugin.start(PerlDebugPlugin.java:458)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 94 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2012-06-22 02:00:22.258
!MESSAGE Plug-in org.epic.debug was unable to load class org.epic.debug.LaunchShortcut.
!STACK 0
    org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.epic.debug (211).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at 

... ...

at java.lang.reflect.Method.invoke(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: org.osgi.framework.BundleException: Exception in org.epic.debug.PerlDebugPlugin.start() of bundle org.epic.debug.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 88 more
    Caused by: java.lang.NullPointerException
at      org.epic.debug.ui.action.VariablesViewActionDelegate.enableVariablesViewActions(VariablesViewActionDelegate.java:44)
     at org.epic.debug.PerlDebugPlugin.start(PerlDebugPlugin.java:458)
at ...
... ...

0 个答案:

没有答案