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 216540 - NullPointerException at org.netbeans.modules.web.webkit.debugging.api.Runtime.getRemoteObjectProperties
Summary: NullPointerException at org.netbeans.modules.web.webkit.debugging.api.Runtime...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 13:46 UTC by Jiri Skrivanek
Modified: 2012-09-20 08:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191384


Attachments
stacktrace (1.23 KB, text/plain)
2012-08-08 13:46 UTC, Jiri Skrivanek
Details
Debugged project. (44.86 KB, application/octet-stream)
2012-08-08 14:10 UTC, Jiri Skrivanek
Details
stacktrace (1.23 KB, text/plain)
2012-09-19 09:02 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-08-08 13:46:21 UTC
Build: NetBeans IDE Dev (Build EaselCSS-455-on-20120808)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b22
OS: Windows 7

User Comments:
jskrivanek: Stopped at line breakpoint in javascript and opened Variables view.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.webkit.debugging.api.Runtime.getRemoteObjectProperties(Runtime.java:81)
   at org.netbeans.modules.web.webkit.debugging.api.debugger.RemoteObject.getProperties(RemoteObject.java:177)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getProperties(VariablesModel.java:176)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getVariables(VariablesModel.java:132)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getChildrenCount(VariablesModel.java:229)
   at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildrenCount(Models.java:1599)
Comment 1 Jiri Skrivanek 2012-08-08 13:46:23 UTC
Created attachment 122871 [details]
stacktrace
Comment 2 Jiri Skrivanek 2012-08-08 14:10:42 UTC
Created attachment 122874 [details]
Debugged project.
Comment 3 Vladimir Riha 2012-09-19 09:02:09 UTC
Created attachment 124561 [details]
stacktrace

I had 2 projects running and paused at some line breakpoint. Then I closed both Chrome's windows and run one of the files again
Comment 4 Martin Entlicher 2012-09-19 13:54:52 UTC
Fixed by changeset:   233731:ce5488094372
http://hg.netbeans.org/web-main/rev/ce5488094372
Comment 5 Quality Engineering 2012-09-20 02:26:14 UTC
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ce5488094372
User: mentlicher@netbeans.org
Log: #216540: Prevent from NPE when there's no response.