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 252503 - AssertionError: Unknown sub type: 'error'
Summary: AssertionError: Unknown sub type: 'error'
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 12:49 UTC by Ondrej Brejla
Modified: 2015-06-14 04:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217427


Attachments
stacktrace (1.30 KB, text/plain)
2015-05-20 12:49 UTC, Ondrej Brejla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2015-05-20 12:49:02 UTC
Build: NetBeans IDE Dev (Build 20150518-781e7a6418c6)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Linux

User Comments:
obrejla: Evaluate expression in JS




Stacktrace: 
java.lang.AssertionError: Unknown sub type: 'error'
   at org.netbeans.modules.web.webkit.debugging.api.debugger.RemoteObject.getSubType(RemoteObject.java:142)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getProperties(VariablesModel.java:209)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getProperties(VariablesModel.java:198)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getChildrenCount(VariablesModel.java:267)
   at org.netbeans.modules.web.javascript.debugger.eval.ui.EvaluationResultsModel.getChildrenCount(EvaluationResultsModel.java:96)
   at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildrenCount(Models.java:1829)
Comment 1 Ondrej Brejla 2015-05-20 12:49:05 UTC
Created attachment 153767 [details]
stacktrace
Comment 2 Martin Entlicher 2015-06-12 11:28:04 UTC
Reproduced.

Evaluate e.g. "console.ble()" and when you get value:
 "TypeError: console.ble is not a function" in Variables, try to expand it.
Comment 3 Martin Entlicher 2015-06-12 11:42:15 UTC
Fixed by changeset:   288349:32a5875b1caa
http://hg.netbeans.org/web-main/rev/32a5875b1caa
Comment 4 Quality Engineering 2015-06-14 04:49:18 UTC
Integrated into 'main-silver', will be available in build *201506140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/32a5875b1caa
User: mentlicher@netbeans.org
Log: #252503: Recognize "error" subtype.