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 228932 - 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 FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 234487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-24 08:13 UTC by KhArtNJava
Modified: 2013-08-19 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199606


Attachments
stacktrace (5.19 KB, text/plain)
2013-04-24 08:13 UTC, KhArtNJava
Details
stacktrace (5.19 KB, text/plain)
2013-05-06 14:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KhArtNJava 2013-04-24 08:13:30 UTC
This issue was reported manually by KhArtNJava.
It already has 3 duplicates 


Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows Server 2008

User Comments:
KhArtNJava: on project opening

KhArtNJava: hf




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:214)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:833)
   at jdk.nashorn.internal.ir.PropertyNode.accept(PropertyNode.java:91)
   at jdk.nashorn.internal.ir.ObjectNode.accept(ObjectNode.java:89)
   at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:164)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:601)
Comment 1 KhArtNJava 2013-04-24 08:13:33 UTC
Created attachment 133742 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-04-24 08:25:17 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=199606
Comment 3 Exceptions Reporter 2013-05-06 14:31:42 UTC
Created attachment 134144 [details]
stacktrace

Please make some help for "background scanning of project" because always frozen... and INPOSSIBLE to disable. I tried more times restart, but it's not working.. horrible.. the hints not working until the scanning finished. But the scanning wont finish.. I can not work..................
Comment 4 Petr Pisl 2013-06-11 08:36:32 UTC
Should be already fixed. Thanks for reporting.
Comment 5 Petr Pisl 2013-08-19 09:46:39 UTC
*** Bug 234487 has been marked as a duplicate of this bug. ***