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 271506

Summary: IllegalAccessException: Class org.openide.explorer.propertysheet.EnumPropertyEditor can not access a member of class com.streamsim.copypaste.CopyPasteTopComponent$Guy with modifiers "public static"
Product: platform Reporter: scanti <scanti>
Component: ExplorerAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230351
Attachments: stacktrace

Description scanti 2017-09-20 22:32:50 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.141-b15, Java(TM) SE Runtime Environment, 1.8.0_141-b15
OS: Linux

User Comments:
scanti: Created a NodeProperty with PropertySupport.ReadWrite to display the values of an enum




Stacktrace: 
java.lang.IllegalAccessException: Class org.openide.explorer.propertysheet.EnumPropertyEditor can not access a member of class com.streamsim.copypaste.CopyPasteTopComponent$Guy with modifiers "public static"
   at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
   at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
   at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
   at java.lang.reflect.Method.invoke(Method.java:491)
   at org.openide.explorer.propertysheet.EnumPropertyEditor.getValues(EnumPropertyEditor.java:63)
   at org.openide.explorer.propertysheet.EnumPropertyEditor.getTags(EnumPropertyEditor.java:71)
Comment 1 scanti 2017-09-20 22:32:54 UTC
Created attachment 165153 [details]
stacktrace