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 267315 - NullPointerException at org.netbeans.lib.profiler.classfile.DynamicClassInfo.getBaseCPoolCount
Summary: NullPointerException at org.netbeans.lib.profiler.classfile.DynamicClassInfo....
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2016-07-26 12:28 UTC by Exceptions Reporter
Modified: 2016-07-26 14:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225437


Attachments
stacktrace (1.22 KB, text/plain)
2016-07-26 12:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-07-26 12:28:30 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20160726-cf806a40fe92)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Mac OS X

User Comments:
GUEST: Dynamic attach to Java2Demo running on JDK 9 b128. 
Methods profilings, 
1 class selected, java2d.Intro$SUrface




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.classfile.DynamicClassInfo.getBaseCPoolCount(DynamicClassInfo.java:138)
   at org.netbeans.lib.profiler.instrumentation.DynamicConstantPoolExtension.getCPFragment(DynamicConstantPoolExtension.java:128)
   at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack15(RecursiveMethodInstrumentor.java:585)
   at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack(RecursiveMethodInstrumentor.java:363)
   at org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor1.getInitialMethodsToInstrument(RecursiveMethodInstrumentor1.java:157)
   at org.netbeans.lib.profiler.instrumentation.Instrumentor.createInitialInstrumentMethodGroupResponseForCallGraph(Instrumentor.java:459)
Comment 1 Exceptions Reporter 2016-07-26 12:28:32 UTC
Created attachment 161449 [details]
stacktrace
Comment 2 Tomas Hurka 2016-07-26 14:45:34 UTC
Fixed in profiler-main

changeset:   299012:f098f8b00953
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Jul 26 16:43:54 2016 +0200
summary:     bugfix #267315, At the client side we treat classes loaded by the bootstrap and by the system classloaders in the same way