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 268657 - ClassCastException: org.netbeans.api.java.lexer.JavaTokenId cannot be cast to org.netbeans.api.xml.lexer.XMLTokenId
Summary: ClassCastException: org.netbeans.api.java.lexer.JavaTokenId cannot be cast to...
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-24 10:17 UTC by Alniks
Modified: 2016-10-24 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226913


Attachments
stacktrace (3.09 KB, text/plain)
2016-10-24 10:17 UTC, Alniks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alniks 2016-10-24 10:17:54 UTC
This bug was originally marked as duplicate of bug 150552, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-601-on-20160912)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14
OS: Linux

User Comments:
Alniks: opened maven root project




Stacktrace: 
java.lang.ClassCastException: org.netbeans.api.java.lexer.JavaTokenId cannot be cast to org.netbeans.api.xml.lexer.XMLTokenId
   at org.netbeans.modules.xml.xdm.nodes.XMLSyntaxParser.parse(XMLSyntaxParser.java:88)
   at org.netbeans.modules.xml.xdm.XDMModel.prepareSync(XDMModel.java:179)
   at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:159)
   at org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:141)
   at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:283)
   at org.netbeans.modules.xml.xam.AbstractModelFactory.createFreshModel(AbstractModelFactory.java:98)
Comment 1 Alniks 2016-10-24 10:17:56 UTC
Created attachment 162608 [details]
stacktrace