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 #55265] Tue, 28 February 2006 00:10 Go to next message
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
Re: NullPointerException when trying to view Coverage Statistics [message #55726 is a reply to message #55265] Tue, 28 February 2006 20:53 Go to previous message
Eclipse User
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0072BE9985257123_=
Content-Type: text/plain; charset="US-ASCII"

Seems like a strange issue.

1) Do you experience the same problem when you select different profiling
options?
2) Have you defined a custom filterset? If so, can you try profiling with
the default filterset to see if you have the same problem?
3) Can you profile to a file instead and post the trace file here? To
profile to a file: Select the profiling tab of your launch configuration
-> click on the destination tab -> Send profiling data to a file

Navid Mehregani
--=_alternative 0072BE9985257123_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Seems like a strange issue.</font>
<br>
<br><font size=2 face="sans-serif">1) Do you experience the same problem
when you select different profiling options?</font>
<br><font size=2 face="sans-serif">2) Have you defined a custom filterset?
If so, can you try profiling with the default filterset to see if you have
the same problem?</font>
<br><font size=2 face="sans-serif">3) Can you profile to a file instead
and post the trace file here? &nbsp;To profile to a file: Select the profiling
tab of your launch configuration -&gt; click on the destination tab -&gt;
Send profiling data to a file</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 0072BE9985257123_=--
Previous Topic:Memory options
Next Topic:RAServer failed to start
Goto Forum:
  


Current Time: Tue Sep 16 17:47:18 GMT 2014

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

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