This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70264 - Nullpointer memory profiling tomcat
Summary: Nullpointer memory profiling tomcat
Status: CLOSED DUPLICATE of bug 67346
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 13:09 UTC by killbulle
Modified: 2007-02-20 18:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description killbulle 2005-12-12 13:09:53 UTC
While trying to use memory usage on the profiler(condifion)
-Embeded tomcat 5.5.9 with the netbeans 5.0M2 
-profiling memory and allocation trace
with the M11 release (for more information don't hesitate to contact me)
i get the following:
Nullpointer exception
java.lang.NullPointerException
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.locateConstructorCallForNewOp(ObjLivenessInstrCallsInjector.java:138)
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.instrumentMethod(ObjLivenessInstrCallsInjector.java:92)
	at
com.sun.tools.profiler.instrumentation.InstrumentationFactory.instrumentForMemoryProfiling(InstrumentationFactory.java:60)
	at
com.sun.tools.profiler.instrumentation.ObjLivenessMethodInstrumentor.instrumentMethod(ObjLivenessMethodInstrumentor.java:58)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.createInstrumentedMethodPack15(MemoryProfMethodInstrumentor.java:211)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.createInstrumentedMethodPack(MemoryProfMethodInstrumentor.java:146)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.getMethodsToInstrumentUponClassLoad(MemoryProfMethodInstrumentor.java:71)
	at
com.sun.tools.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponseForMemoryProfiling(Instrumentor.java:531)
	at
com.sun.tools.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponse(Instrumentor.java:157)
	at
com.sun.tools.profiler.ProfilerClient.instrumentMethodGroupFollowUp(ProfilerClient.java:892)
	at com.sun.tools.profiler.ProfilerClient.access$2800(ProfilerClient.java:46)
[catch] at
com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1576)


Regard 
Marc
Comment 1 Jiri Sedlacek 2005-12-12 14:19:16 UTC
Thanks for the bugreport. This problem has already been fixed in Issue 67346. 
Fix will be available in Milestone 12.

*** This issue has been marked as a duplicate of 67346 ***
Comment 2 ehucka 2006-10-09 12:10:08 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:26:43 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:10:00 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.