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.
Summary: | NPE in ClassManager.storeClassBytesForCustomLoaderClasses | ||
---|---|---|---|
Product: | profiler | Reporter: | Jiri Sedlacek <jis> |
Component: | Engine | Assignee: | Tomas Hurka <thurka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Sedlacek
2015-03-02 09:57:13 UTC
Missing part of steps is that running NetBeans instance must run another java application via ant. Problem is caused by ugly hack (#46171) in ant infrastructure, which changes content of "java.class.path" system property. Profiler uses "java.class.path" system property to search for classes loaded by system classloader. Of course changing this property, after JVM starts, does not affect system classloader in any way, so the profiler is searching for system classloader classes in the wrong classpath. Fixed in profiler-main changeset: 284596:e8f7177a362e user: Tomas Hurka <thurka@netbeans.org> date: Thu Mar 12 10:27:49 2015 +0100 summary: invoke setInterface() only for vm-supplied classes |