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.
Build: NetBeans IDE Dev (Build 201205300001) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20 OS: Linux User Comments: GUEST: profiling project GUEST: tried to attach the profiler. Does not work totally fluent. Seeing lots of errors like this: java.io.IOException: JFluid wire protocol error: code does not correspond to command or response. Value -1 cyhelsky: instrumented cpu profiling -> EAGER scheme Stacktrace: java.lang.NullPointerException at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor2.checkAndScanMethod(RecursiveMethodInstrumentor2.java:374) at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor2.checkAndScanMethod(RecursiveMethodInstrumentor2.java:435) at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor2.processInvoke(RecursiveMethodInstrumentor2.java:340) at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.scanBytecode(RecursiveMethodInstrumentor.java:299) at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor2.checkAndScanMethod(RecursiveMethodInstrumentor2.java:422) at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor2.processInvoke(RecursiveMethodInstrumentor2.java:340)
Created attachment 120066 [details] stacktrace
steps: profile anagram game with custom settings where instrumentation scheme is set to eager -> NPE
Fixed in profiler-main changeset: 223186:e60cd94375b8 user: Tomas Hurka <thurka@netbeans.org> date: Fri Jun 01 20:18:10 2012 +0200 summary: bugfix #213236, invoke addSubclass() only if addedClassInfo is not null
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e60cd94375b8 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #213236, invoke addSubclass() only if addedClassInfo is not null