Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] help needed on build test failures

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.


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.


!MESSAGE Could not create content describer for org.eclipse.jpt.core.content.orm. Content type has been disabled.
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( at org.eclipse.jpt.core.internal.resource.xml.XMLRootHandler.parseContents( at org.eclipse.jpt.core.internal.resource.xml.XMLRootElementContentDescriber.checkCriteria( at org.eclipse.jpt.core.internal.resource.xml.XMLRootElementContentDescriber.describe( at org.eclipse.core.internal.content.ContentType.describe( at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(

wtp-releng mailing list

Back to the top