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 243711 - ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.DeclarationScope
Summary: ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObje...
Status: RESOLVED DUPLICATE of bug 232754
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-09 19:08 UTC by Exceptions Reporter
Modified: 2015-06-01 14:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209030


Attachments
stacktrace (5.10 KB, text/plain)
2014-04-09 19:08 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-04-09 19:08:02 UTC
This bug was originally marked as duplicate of bug 232078, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 8

User Comments:
GUEST: When downloading all project from FTP




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl cannot be cast to org.netbeans.modules.javascript2.editor.model.DeclarationScope
   at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.getDeclarationScope(ModelUtils.java:227)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1083)
   at jdk.nashorn.internal.ir.PropertyNode.accept(PropertyNode.java:91)
   at jdk.nashorn.internal.ir.ObjectNode.accept(ObjectNode.java:88)
   at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:144)
   at jdk.nashorn.internal.ir.Block.accept(Block.java:266)
Comment 1 Exceptions Reporter 2014-04-09 19:08:04 UTC
Created attachment 146657 [details]
stacktrace
Comment 2 Roman Svitanic 2015-06-01 14:24:40 UTC

*** This bug has been marked as a duplicate of bug 232754 ***