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.

Bug 186349 - NullPointerException at org.netbeans.modules.debugger.jpda.models.ArgumentObjectVariable.<init>
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.ArgumentObj...
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 189021 189945 189975 190371 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-19 07:43 UTC by Martin Entlicher
Modified: 2011-01-20 16:24 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169801


Attachments
stacktrace (1.72 KB, text/plain)
2010-05-19 07:43 UTC, Martin Entlicher
Details
stacktrace (1.93 KB, text/plain)
2010-05-20 11:23 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2010-05-19 07:43:54 UTC
Build: NetBeans IDE Dev (Build 100512-47a103cac5dd)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux

User Comments:
mentlicher: Selecting "NativeMethodAccessorImpl.invoke:39" frame when in a code called via reflection (Method.invoke()).




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.models.ArgumentObjectVariable.<init>(ArgumentObjectVariable.java:66)
   at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getMethodArguments(CallStackFrameImpl.java:453)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getLocalVariables(LocalsTreeModel.java:590)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getLocalVariables(LocalsTreeModel.java:545)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildrenImpl(LocalsTreeModel.java:139)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildren(LocalsTreeModel.java:126)
Comment 1 Martin Entlicher 2010-05-19 07:43:57 UTC
Created attachment 99182 [details]
stacktrace
Comment 2 Martin Entlicher 2010-05-19 11:54:37 UTC
className is null, we're not able to retrieve the class of an argument type.
Comment 3 Andrei Chistiakov 2010-05-20 11:23:05 UTC
Created attachment 99246 [details]
stacktrace

set a breakpoint and tried to debug WeatherFX sample application
Comment 4 Martin Entlicher 2010-05-21 13:35:16 UTC
Fixed in changeset:   171816:20b890246e89
http://hg.netbeans.org/main/rev/20b890246e89
Comment 5 Martin Entlicher 2010-08-02 15:44:02 UTC
*** Bug 189021 has been marked as a duplicate of this bug. ***
Comment 6 Martin Entlicher 2010-08-27 12:10:12 UTC
*** Bug 189945 has been marked as a duplicate of this bug. ***
Comment 7 Martin Entlicher 2010-09-02 21:12:33 UTC
*** Bug 189975 has been marked as a duplicate of this bug. ***
Comment 8 Martin Entlicher 2010-09-15 13:06:50 UTC
*** Bug 190371 has been marked as a duplicate of this bug. ***
Comment 9 dds.dhawal 2011-01-20 16:24:37 UTC
verified in NetBeans IDE Build 201101190000