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.
I was able to manually modified the weblogic9.1 startup script but as soon as the profiler was attached to the JVM, I started getting a lot of Exception about AspectJ5 can't weave hotswapped class. Our web app uses the load time weaving feature of aspectj5 and I tried both the 5.1.3 version of the aspectjweaver.jar and the current development version of the aspectjweaver.jar but neither worked. java.lang.Exception: AspectJ5 does not weave hotswapped class (sun/nio/cs/MS1252) at org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:56) at sun.instrument.TransformerManager.transform(TransformerManager.java:131) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155) at com.sun.tools.profiler.server.system.Classes.doRedefineClasses(Native Method) at com.sun.tools.profiler.server.system.Classes.redefineClasses(Classes.java:59) at com.sun.tools.profiler.server.ProfilerInterface.instrumentMethodGroupNow(ProfilerInterface.java:628) at com.sun.tools.profiler.server.ProfilerInterface.getAndInstrumentClasses(ProfilerInterface.java:484) at com.sun.tools.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:794) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at sun.nio.cs.FastCharsetProvider.lookup(FastCharsetProvider.java:110) at sun.nio.cs.FastCharsetProvider.charsetForName(FastCharsetProvider.java:120) at java.nio.charset.Charset.lookup2(Charset.java:450) at java.nio.charset.Charset.lookup(Charset.java:438) at java.nio.charset.Charset.isSupported(Charset.java:477)
I do not see anything wrong from the profiler point of view. Profiler wants to redefine sun/nio/cs/MS1252 class, which is probably generated on the fly and aspectj does not handle it. Note that java.lang.Exception is used to print stack trace only, there is no throw statement. ClassPreProcessorAgentAdapter.java source is available here: http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/loadtime5/java5-src/org/aspectj/weaver/loadtime/ClassPreProcessorAgentAdapter.java? root=Tools_Project&view=markup
*** Issue 130444 has been marked as a duplicate of this issue. ***