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 262633 - ClassNotFoundException: sun.misc.VM
Summary: ClassNotFoundException: sun.misc.VM
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.2
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: JDK_9, VISUALVM
Depends on:
Blocks:
 
Reported: 2016-06-30 11:57 UTC by Exceptions Reporter
Modified: 2016-07-01 01:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224951


Attachments
stacktrace (5.00 KB, text/plain)
2016-06-30 11:57 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-06-30 11:57:49 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20160629-36ff0ff4b2ea)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+124, Java(TM) SE Runtime Environment, 9-ea+124
OS: Mac OS X

User Comments:
GUEST: 1) run NetBeans on JDK 9 b124
2) open heap dump
3) click on 'Show Threads'




Stacktrace: 
java.lang.ClassNotFoundException: sun.misc.VM
   at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:366)
   at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
   at org.netbeans.modules.profiler.heapwalk.OverviewController.getStackTrace(OverviewController.java:473)
Comment 1 Exceptions Reporter 2016-06-30 11:57:51 UTC
Created attachment 160203 [details]
stacktrace
Comment 2 Tomas Hurka 2016-06-30 14:08:57 UTC
Fixed in profiler-main

changeset:   298475:ba47c8148324
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jun 30 16:07:56 2016 +0200
summary:     bugfix #262633, toThreadState() implemented locally, do not rely on JDK
Comment 3 Quality Engineering 2016-07-01 01:44:17 UTC
Integrated into 'main-silver', will be available in build *201607010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ba47c8148324
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #262633, toThreadState() implemented locally, do not rely on JDK