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.
This issue was reported manually by sunflower. It already has 1 duplicates Build: NetBeans IDE 6.9.1 Dev (Build 201007262301) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP Stacktrace: java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.models.ArgumentObjectVariable.<init>(ArgumentObjectVariable.java:69) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getMethodArguments(CallStackFrameImpl.java:456) at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getLocalVariables(LocalsTreeModel.java:593) at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getLocalVariables(LocalsTreeModel.java:548) at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildrenImpl(LocalsTreeModel.java:142) at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildren(LocalsTreeModel.java:129)
Created attachment 101067 [details] stacktrace
Steps to reproduce: - Copy the code to the editor: -------------------------------------------- function f() { var a = 10; var b = 20; var c = a + b; var d = a - b; } f(); -------------------------------------------- - Set a breakpoint to the last line - Debug the project - Press F7 - Press Shift+F8 6 more times The Java file should open in the editor - Stop the debugger The exception pops up
argumentNames[i].getType() must be null. This needs to be handled in Java debugger IMHO.
I did not reproduce it on Linux. :-( I'll try to find out where the null type comes from...
Unfortunatey I did not find a place where null could be set as an argument type. Does it happen when you're already debugging Java code and not JavaFX? I've added at least an assert for null type in changeset: 174977:1f95820cf2e0 http://hg.netbeans.org/main/rev/1f95820cf2e0 That will hopefully help us to find out the root cause.
It happens after opening the Method.java file in the editor. I always press <Shift+F8>.
Integrated into 'main-golden', will be available in build *201007300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1f95820cf2e0 User: mentlicher@netbeans.org Log: #189021 Detect null name and type.
This seems to be a problem of Java debugger, not JavaFX. We have also issue #189067 for the same problem.
*** Bug 189067 has been marked as a duplicate of this bug. ***
I've found that there is already issue #186349 resolved only in 6.10. *** This bug has been marked as a duplicate of bug 186349 ***
verified in NetBeans IDE Dev (Build 201008050001)