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 221471 - [73cat] ClassCastException: org.netbeans.modules.javascript.editing.JsParseResult cannot be cast to org.netbeans.modules.javascript2.editor.parser.JsParserResult
Summary: [73cat] ClassCastException: org.netbeans.modules.javascript.editing.JsParseRe...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-05 10:41 UTC by misterm
Modified: 2013-07-20 02:09 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194480


Attachments
stacktrace (4.15 KB, text/plain)
2012-11-05 10:41 UTC, misterm
Details
stacktrace (4.12 KB, text/plain)
2012-11-05 15:44 UTC, misterm
Details
stacktrace (4.12 KB, text/plain)
2012-11-06 17:35 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2012-11-05 10:41:44 UTC
Build: NetBeans IDE Dev (Build 20121104-a43924360613)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.javascript.editing.JsParseResult cannot be cast to org.netbeans.modules.javascript2.editor.parser.JsParserResult
   at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:79)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:216)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:267)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:214)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.run(RepositoryUpdater.java:2842)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:584)
Comment 1 misterm 2012-11-05 10:41:47 UTC
Created attachment 127129 [details]
stacktrace
Comment 2 Petr Pisl 2012-11-05 12:10:30 UTC
Did you install a module or update a previous version? The exception shows that there mixed two modules (new and old javascript editors) that can not coexist in one installation. I don't understand how you get the old javascript editor.
Comment 3 misterm 2012-11-05 15:44:10 UTC
Created attachment 127158 [details]
stacktrace
Comment 4 mps77 2012-11-05 16:15:48 UTC
1. download zip bundle from : http://bits.netbeans.org/download/trunk/nightly/latest/zip/
2. extract into prev install, overwrite all.


multiple plugins version detected, class cast exception throwed :)

:)
Comment 5 Petr Pisl 2012-11-05 16:52:33 UTC
:), please delete the folder and unzip it again to the clean place.
Comment 6 Exceptions Reporter 2012-11-06 17:08:12 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=194480
Comment 7 misterm 2012-11-06 17:35:11 UTC
Created attachment 127246 [details]
stacktrace
Comment 8 Exceptions Reporter 2012-11-08 21:04:41 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=194480
Comment 9 Megachip 2013-02-07 16:00:23 UTC
Did an automatic update.
Comment 10 Megachip 2013-03-16 17:31:47 UTC
VM Versions:[, 1.7, 1.6] 

OS:
[Windows XP, Windows 7, Mac OS X, Linux, Windows Vista, Windows Server 2008 R2, Windows NT (unknown), Windows 8] 

Versions:
[Dev, 7.3 RC1, 7.3] 

Duplicates: 230
Comment 11 Petr Pisl 2013-07-19 11:26:23 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/cfcd0c6f1706
Comment 12 Quality Engineering 2013-07-20 02:09:57 UTC
Integrated into 'main-silver', will be available in build *201307192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cfcd0c6f1706
User: Petr Pisl <ppisl@netbeans.org>
Log: #221471 - [73cat] ClassCastException: org.netbeans.modules.javascript.editing.JsParseResult cannot be cast to org.netbeans.modules.javascript2.editor.parser.JsParserResult