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.
Build: NetBeans IDE 6.0 RC2 (Build 200711201000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b02 OS: Windows XP, 5.1, x86 User Comments: 1) Set breakpoint in .jsp 2) Debug file Exception is thrown
Created attachment 53500 [details] stacktrace
This happen with glassfish v2ur1 b09
Please provide the JSP file and the condition which you've set to the breakpoint, so that we can reproduce the problem. It looks like the fix will be simply not to evaluate expressions for which we do not have loaded classes in the VM.
1) Create new web project J2EE5 on this version of glassfish 2) Put breakpoint on line 17 in index.jsp 3) Debug project/file Exception rises.
It's not reproducible without the condition that is set on the breakpoint. Please provide that as well. Thanks.
The exception is really strange and might be specific to web server. It looks like the class loader was collected :-/ Javadoc does not mention that Method.argumentTypes() can ever throw ObjectCollectedException. I'll add a catch for that.
The catch is added, so please verify whether it helps: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Evaluator.java,v <-- Evaluator.java new revision: 1.41; previous revision: 1.40
v.
Build: NetBeans IDE 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.6.0_05-ea-b05 OS: Linux, 2.6.22-14-generic, i386 User Comments: steps to reproduce : 0. install latest gf from https://glassfish.dev.java.net/downloads/v2ur1-b09a.html 1. create ear project on latest GF 2. debug created project 3. this exception occurs.. it is not happening on older gf builds
Created attachment 53708 [details] stacktrace
The fix has been ported into the release60_fixes branch. Checking in Evaluator.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Evaluator.java,v <-- Evaluator.java new revision: 1.39.4.1; previous revision: 1.39 done
I'm not able to reproduce it on nb6 without patch. Dan, can you please check it on nb 6.0 without and with patch1? I tried to reproduce it on .... Sun Java System Application Server 9.1_01 (build b09a-fcs) - from glassfish-installer-v2ur1-b09a-windows.jar Sun Java System Application Server 9.1 (build b58g-fcs) - boundled with nb 6.0 Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)