Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » NullPointerException when trying to view Coverage Statistics
NullPointerException when trying to view Coverage Statistics [message #55211] Tue, 28 February 2006 00:06
Michael Spoonauer is currently offline Michael Spoonauer
Messages: 5
Registered: July 2009
Junior Member
When attempting to bring up the Coverage Statistics view, I encounter the
following exception:

!ENTRY org.eclipse.ui.workbench 4 0 2006-02-27 18:54:11.322
!MESSAGE Unable to create view ID
org.eclipse.hyades.trace.views.adapter.internal.CoverageStat isticViewer: An
unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.hyades.trace.views.util.internal.CoverageUtil.is FilteredClass(Co
verageUtil.java:241)
at
org.eclipse.hyades.trace.views.util.internal.CoverageUtil.is Filtered(Coverag
eUtil.java:164)
at
org.eclipse.hyades.trace.views.util.internal.CoverageUtil.is Filtered(Coverag
eUtil.java:107)
at
org.eclipse.hyades.trace.views.util.internal.CoverageAnalysi s. <init>(Coverag
eAnalysis.java:49)
at
org.eclipse.hyades.trace.views.adapter.internal.CoverageStat isticPage.comput
eMethodCoverage(CoverageStatisticPage.java:49)
at
org.eclipse.hyades.trace.views.adapter.internal.CoverageStat isticPage.create
Control(CoverageStatisticPage.java:31)
at
org.eclipse.hyades.trace.ui.TraceViewer.addViewPage(TraceVie wer.java:203)
at
org.eclipse.hyades.trace.ui.TraceViewer.addViewPage(TraceVie wer.java:225)
at
org.eclipse.hyades.trace.ui.TraceViewer.createPartControl(Tr aceViewer.java:2
69)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:30
5)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReferenc
e.java:552)
at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1655)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:937)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:920)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3199)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3196)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3174)
at
org.eclipse.hyades.trace.views.actions.internal.OpenCoverage ViewAction.run(O
penCoverageViewAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
tionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

I have Eclipse 3.1.2, EMF 2.1.2, XSD 2.1.1 (though it said 2.1.2 when I
downloaded it) and TPTP 4.1.0.1 installed.

Thanks,
Mike
Previous Topic:AGR example
Next Topic:NullPointerException when trying to view Coverage Statistics
Goto Forum:
  


Current Time: Thu Oct 30 19:00:27 GMT 2014

Powered by FUDForum. Page generated in 0.01585 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software