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 79989

Summary: NPE during code region profiling of a j2ee application
Product: profiler Reporter: ehucka <ehucka>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED WONTFIX    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ehucka 2006-07-11 14:07:49 UTC
random exception from nb 5.5 beta2

java.lang.NullPointerException
com.sun.tools.profiler.instrumentation.CodeRegionMethodInstrumentor.createInstrumentedMethodPack15(CodeRegionMethodInstrumentor.java:170)
com.sun.tools.profiler.instrumentation.CodeRegionMethodInstrumentor.createInstrumentedMethodPack(CodeRegionMethodInstrumentor.java:112)
com.sun.tools.profiler.instrumentation.CodeRegionMethodInstrumentor.getFollowUpInstrumentCodeRegionResponse(CodeRegionMethodInstrumentor.java:102)
      
com.sun.tools.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponseForCodeRegion(Instrumentor.java:284)
com.sun.tools.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponse(Instrumentor.java:147)
com.sun.tools.profiler.ProfilerClient.instrumentMethodGroupFollowUp(ProfilerClient.java:906)
com.sun.tools.profiler.ProfilerClient.access$2900(ProfilerClient.java:46)
com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1589)
Comment 1 Tomas Hurka 2006-08-11 08:58:37 UTC
Please provide steps how to reproduce it. 
Comment 2 ehucka 2006-08-11 09:26:19 UTC
This is random issue, I have not exact steps of reproduction now. The exception
was thrown randomaly during code region profiling of a web application.
Comment 3 Jiri Sedlacek 2007-01-08 14:24:23 UTC
Code Fragment profiling was removed from 6.0.
Comment 4 ehucka 2007-01-12 16:09:34 UTC
verified