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 234415 - 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 232078
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: 2013-08-15 02:04 UTC by Exceptions Reporter
Modified: 2013-08-15 07:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203056


Attachments
stacktrace (5.31 KB, text/plain)
2013-08-15 02:04 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-08-15 02:04:16 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: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
GUEST: .




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 2013-08-15 02:04:17 UTC
Created attachment 138711 [details]
stacktrace
Comment 2 Petr Pisl 2013-08-15 07:49:29 UTC

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