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've tried to instrument a J2ee application deployed on jonas server. my application is using Springframework for building my business objects (using AOP). Netbeans profiler failed to instrument all proxy classes that where loaded and previously instrumented by spring framework; a NullPointerException was raised by netbeans profiler code and blocked the application. The exception is raised when classes loaded and initialized by spring are instrumented. Please find below a snapshot of the top exception trace: java.lang.NullPointerException at org.netbeans.lib.profiler.server.ClassBytesLoader.getClassFileBytes(ClassBytesLoader.java:72) at org.netbeans.lib.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:860) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.getConstructor(Class.java:1629) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:587) at sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java:239)
It seems to be related to Annotation as cited by issue NĀ° 122631 regards, Anis
*** This issue has been marked as a duplicate of 125645 ***