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 251497 - ClassCastException during scanning test files
Summary: ClassCastException during scanning test files
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 09:09 UTC by Petr Pisl
Modified: 2015-04-01 02:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2015-03-30 09:09:07 UTC
When are scanned test files for JavaScript2 Editor, this exception is thrown. 

java.lang.ClassCastException: org.netbeans.modules.javascript2.editor.sdoc.elements.SDocTypeSimpleElement cannot be cast to org.netbeans.modules.javascript2.editor.sdoc.elements.SDocTypeNamedElement
	at org.netbeans.modules.javascript2.editor.sdoc.SDocComment.getProperties(SDocComment.java:256)
	at org.netbeans.modules.javascript2.editor.doc.spi.JsDocumentationHolder.getProperties(JsDocumentationHolder.java:187)
	at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.leave(ModelVisitor.java:1593)
	at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:147)
Comment 1 Petr Pisl 2015-03-31 08:53:43 UTC
Should be fixed in web-main.
Comment 2 Quality Engineering 2015-04-01 02:53:42 UTC
Integrated into 'main-silver', will be available in build *201504010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/164258477810
User: Petr Pisl <ppisl@netbeans.org>
Log: #251497 - ClassCastException during scanning test files