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.
Summary: | ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementImpl cannot be cast to org.w3c.dom.CharacterData | ||
---|---|---|---|
Product: | javaee | Reporter: | sabob <sabob> |
Component: | DD Editor | Assignee: | issues@javaee <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | jsedek, pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=16465 | ||
Issue Type: | DEFECT | Exception Reporter: | 16465 |
Attachments: |
stacktrace
stacktrace |
Description
sabob
2009-06-04 22:10:35 UTC
Created attachment 83219 [details]
stacktrace
Looks like a problem in the web.xml DD editor. Denis, can you please investigate? Thanks. This problem appears as result of editing which leads to merging schema2beans model. There is no way to fix it on client side. ClassCastException is absolutely invalid and schema2beans code should be corrected. ( this is not a case when exception could be caught and ignored even with notification for user ). Created attachment 98011 [details]
stacktrace
editing web.xml
I am trying to reproduce using the steps in the original comment: modifing the following text "<listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>" in the web.xml, adding or removing a < or > in the class name triggers the exception But can not reproduce. Closing as WORKFORME, if this is still happening for anyone, please reopen. Thanks. |