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 262565

Summary: IllegalAccessException: class org.netbeans.modules.sampler.SamplesOutputStream cannot access class sun.management.ThreadInfoCompositeData (in module java.management) because module java.management doe
Product: ide Reporter: Ralph Ruijs <ralphbenjamin>
Component: Slowness DetectorAssignee: issues@performance <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mbalin
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224822
Attachments: stacktrace

Description Ralph Ruijs 2016-06-24 12:33:45 UTC
Build: NetBeans IDE Dev JDK9 Branch (Build 201606210750)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+123, Java(TM) SE Runtime Environment, 9-ea+123
OS: Linux

User Comments:
ralphbenjamin: Scrolling in Exception Reporter's Show my issues.




Stacktrace: 
java.lang.IllegalAccessException: class org.netbeans.modules.sampler.SamplesOutputStream cannot access class sun.management.ThreadInfoCompositeData (in module java.management) because module java.management does not export sun.management to unnamed module @7027a17e
   at jdk.internal.reflect.Reflection.throwIllegalAccessException(Reflection.java:405)
   at jdk.internal.reflect.Reflection.throwIllegalAccessException(Reflection.java:396)
   at jdk.internal.reflect.Reflection.ensureMemberAccess(Reflection.java:98)
   at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:355)
   at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:347)
   at java.lang.reflect.Method.invoke(Method.java:527)
Comment 1 Ralph Ruijs 2016-06-24 12:33:47 UTC
Created attachment 160157 [details]
stacktrace
Comment 2 Tomas Hurka 2016-06-24 14:14:26 UTC

*** This bug has been marked as a duplicate of bug 255366 ***