[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-releng] help needed on build test failures
|
I copied XmlRootHandler from
org.eclipse.core.internal.content.XmlRootHandler and that class has not
changed since 2008. Not really sure how that could have suddenly caused
this problem.
Karen
On 6/30/2009 11:34 AM, David Carver wrote:
How ever your orm content type is being set up, and where you are
getting your XML parser is causing the issue. The WTP parser is
setup to be an XInclude aware configuration. You can't cast between
these to configurations.
I'd check to see how your SAX based parsing and content resolver are
being setup and configured when calling Xerces. Particularly check
your createParser code.
Dave
karen moore wrote:
JPT has a bunch of test failures in last night's build and I am
unsure of the cause. We did release, but I am confused by the
exception (see below) appearing in the log file that are preventing
our xml content types from being loaded. I updated my target
workspace to last night's build and do not have test failures. Any
ideas would be appreciated.
Thanks,
Karen
!MESSAGE Could not create content describer for
org.eclipse.jpt.core.content.orm. Content type has been disabled.
!STACK 0
java.lang.ClassCastException:
org.apache.xerces.parsers.XIncludeAwareParserConfiguration
incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
at
org.eclipse.jpt.core.internal.resource.xml.XMLRootHandler.createParser(XMLRootHandler.java:118)
at
org.eclipse.jpt.core.internal.resource.xml.XMLRootHandler.parseContents(XMLRootHandler.java:186)
at
org.eclipse.jpt.core.internal.resource.xml.XMLRootElementContentDescriber.checkCriteria(XMLRootElementContentDescriber.java:169)
at
org.eclipse.jpt.core.internal.resource.xml.XMLRootElementContentDescriber.describe(XMLRootElementContentDescriber.java:204)
at
org.eclipse.core.internal.content.ContentType.describe(ContentType.java:161)
at
org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:189)
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng