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.
When I try to CPU profile jEdit (version 4.1 final) using whole app instrumentation, it crashes with the following exception: [error] java.lang.IllegalAccessException: Class java.lang.reflect.Method can not access a member of class org.gjt.sp.jedit.Java14 with modifiers "public static" [error] at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57) [error] at java.lang.reflect.Method.invoke(Method.java:319) [error] at org.gjt.sp.jedit.jEdit.main(Unknown Source) [error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [error] at java.lang.reflect.Method.invoke(Method.java:324) [error] at com.sun.tools.profiler.server.ProfilerServer.runTargetApp(Pro filerServer.java:292) [error] at com.sun.tools.profiler.server.ProfilerServer.main(ProfilerSer ver.java:126) The most likely reason is that the JVM dislikes our instrumented copy of java.lang.reflect.Method.invoke() - it's different from the reference to that method it remembers since startup time. But this problem has never been observed before, thus it needs a deep enough investigation.
Raising the priority in accordance with guidelines.
Fixed in M6 by making a modification to our customized JVM. A bug is filed for the same issue against the mainstream JDK 5/6 JVM.
old issue, closed