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 247057 - 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.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 06:11 UTC by Exceptions Reporter
Modified: 2014-09-19 00:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 211754


Attachments
stacktrace (5.64 KB, text/plain)
2014-09-12 06:11 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-09-12 06:11:22 UTC
This bug was originally marked as duplicate of bug 245488, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.1 (Build 201409082112)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
GUEST: Al iniciar por primera vez




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:597)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1186)
   at jdk.nashorn.internal.ir.ReferenceNode.accept(ReferenceNode.java:67)
   at jdk.nashorn.internal.ir.PropertyNode.accept(PropertyNode.java:95)
   at jdk.nashorn.internal.ir.ObjectNode.accept(ObjectNode.java:88)
Comment 1 Exceptions Reporter 2014-09-12 06:11:25 UTC
Created attachment 149162 [details]
stacktrace
Comment 2 Petr Pisl 2014-09-12 09:52:01 UTC
Fixed in web-main
Comment 3 Quality Engineering 2014-09-13 04:52:05 UTC
Integrated into 'main-silver', will be available in build *201409130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ee7bc0b6cf65
User: Petr Pisl <ppisl@netbeans.org>
Log: #247057 - ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.JsFunction
Comment 4 Petr Pisl 2014-09-18 17:10:57 UTC
Transplanted to the releases/release801
Comment 5 Quality Engineering 2014-09-19 00:32:08 UTC
Integrated into 'releases/release801', will be available in build *201409182200* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/8819efffa95e
User: Petr Pisl <ppisl@netbeans.org>
Log: #247057 - ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.JsFunction