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 253252 - ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.JsFunction
Summary: ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObje...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-30 07:43 UTC by Tomas Mysik
Modified: 2015-07-01 01:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218244


Attachments
stacktrace (7.05 KB, text/plain)
2015-06-30 07:43 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2015-06-30 07:43:17 UTC
Build: NetBeans IDE Dev (Build 20150630-b728135097d2)
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:
tmysik: just started IDE




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.JsFunction
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1648)
   at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:140)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:923)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1450)
   at jdk.nashorn.internal.ir.ReferenceNode.accept(ReferenceNode.java:67)
Comment 1 Tomas Mysik 2015-06-30 07:43:19 UTC
Created attachment 154435 [details]
stacktrace
Comment 2 Petr Pisl 2015-06-30 15:42:10 UTC
Should be fixed in web-main.
Comment 3 Quality Engineering 2015-07-01 01:18:22 UTC
Integrated into 'main-silver', will be available in build *201507010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/68be69daf81d
User: Petr Pisl <ppisl@netbeans.org>
Log: #253252 - ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.JsFunction