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: | java.lang.NullPointerException at ObjectOutputStream$BlockDataOutputStream.getUTFLength | ||
---|---|---|---|
Product: | profiler | Reporter: | Tomas Hurka <thurka> |
Component: | Engine | Assignee: | Tomas Hurka <thurka> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jskrivanek, mmirilovic |
Priority: | P2 | Keywords: | JDK_SPECIFIC, VISUALVM |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Hurka
2014-12-19 09:32:44 UTC
This is JDK 9 only issue caused by fix of JDK-8049367 (http://hg.openjdk.java.net/jdk9/dev/hotspot/rev/1d29b13e8a51). This fix removed system properties java.ext.dirs and java.endorsed.dirs. They are no longer set by JVM. :-( Fixed in profiler-main changeset: 281741:3e056ca29112 user: Tomas Hurka <thurka@netbeans.org> date: Fri Dec 19 11:14:37 2014 +0100 summary: bugfix #249455, set javaExtDirs to empty string if system property java.ext.dirs does not exist Integrated into 'main-silver', will be available in build *201412200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3e056ca29112 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #249455, set javaExtDirs to empty string if system property java.ext.dirs does not exist Verified. The following scenario works in dev build: - create and build sample Anagram project - run project from command line with JDK 1.9.0-ea-b50 D:\jdk1.9.0\bin>java -jar "D:\AnagramGame\dist\anagrams.jar" - attach profiler to external process (Methods selected) On the other hand when Objects are selected there is nothing in live results. I don't know if this is supported. This is a candidate for NB 8.0.2 Patch 1 , so please integrate the bugfix into releases/release801 branch today by 10pm CET, for more information see http://wiki.netbeans.org/NetBeansPatchesProcess Transplanted to release801 branch: changeset: 294586:c7184a267000 branch: release801 user: Tomas Hurka <thurka@netbeans.org> date: Fri Dec 19 11:14:37 2014 +0100 summary: bugfix #249455, set javaExtDirs to empty string if system property java.ext.dirs does not exist |