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 228931 - 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 232183
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:
: 232173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-24 08:10 UTC by KhArtNJava
Modified: 2013-07-08 12:23 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200191


Attachments
stacktrace (5.04 KB, text/plain)
2013-04-24 08:10 UTC, KhArtNJava
Details
stacktrace (3.38 KB, text/plain)
2013-05-20 08:26 UTC, gtg
Details
stacktrace (5.16 KB, text/plain)
2013-05-20 09:26 UTC, Exceptions Reporter
Details
stacktrace (3.06 KB, text/plain)
2013-07-03 13:48 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KhArtNJava 2013-04-24 08:10:30 UTC
This issue was reported manually by KhArtNJava.
It already has 1 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




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.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:457)
   at org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl.resolveTypes(JsObjectImpl.java:357)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:127)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:130)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:130)
Comment 1 KhArtNJava 2013-04-24 08:10:32 UTC
Created attachment 133741 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-05-16 20:40:59 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=200191
Comment 3 gtg 2013-05-20 08:26:03 UTC
Created attachment 134635 [details]
stacktrace

Typing in JSP editor.
Comment 4 Exceptions Reporter 2013-05-20 09:26:02 UTC
Created attachment 134637 [details]
stacktrace

Error
Comment 5 Vladimir Riha 2013-07-03 13:48:08 UTC
Created attachment 136658 [details]
stacktrace

Reproducing issue 232173
Comment 6 ecerichter 2013-07-03 15:47:36 UTC
*** Bug 232173 has been marked as a duplicate of this bug. ***
Comment 7 ecerichter 2013-07-03 15:48:25 UTC
(In reply to comment #6)
> *** Bug 232173 has been marked as a duplicate of this bug. ***

There is a sample file to reproduce the problem in issue 232173.

Regards,

Edson
Comment 8 Petr Hejl 2013-07-08 12:23:31 UTC

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