cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Java 6 failures...
Date Tue, 23 Jan 2007 21:55:56 GMT
On Monday 22 January 2007 17:39, Dan Diephouse wrote:
> This probably isn't the problem you're encountering, but another potential
> problem source is that JAXB is bundled in J6 Which means depending on the
> version thats in there, there could be bugs which aren't fixed, which might
> cause unit tests to fail.

I wish that was the problem.  That would be easy to explain.

It looks like the XML parser that is in J6 is a bit different than the one in 
J5.   Probably a newer version of xerces or something.   In anycase, it's 
causing much of the WSDL parsing and validating to fail.

7 out of 8 of the
test fail.  Strange errors like:
Error : org.xml.sax.SAXParseException: src-resolve: Cannot resolve the 
name 'xml:lang' to a(n) 'attribute declaration' component.

1 of 2 in 
failed with the same error.

org.apache.cxf.wsdl11.WSDLServiceBuilderTest fails as it's having issues 
getting the Schemas from the ServiceInfo (seems to be null when they 
shouldn't be)

Strangest one:
It's shrinking down below the minimum threashold.  Not sure why.

BUNCH of type tests fail with maxLength/minLength restriction violations.   
Those might be JAXB issues.   Also in typetest is an IllegalArgumentException 
creating a XMLGregorianCalendarImpl thing inside xerces.

SchemaValidation test is failing

jaxws.ClientServerTest is failing with a strange exception down in woodstox:
java.lang.IllegalStateException: Can't overwrite cause
        at java.lang.Throwable.initCause(
        at com.ctc.wstx.compat.Jdk14Impl.setInitCause(
        at com.ctc.wstx.exc.WstxException.<init>(
        at com.ctc.wstx.exc.WstxIOException.<init>(
        at com.ctc.wstx.sw.BaseStreamWriter.flush(

Basically, there's a bunch of work to do to get the tests passing with Java 6.


> - Dan
> On 1/22/07, Daniel Kulp <> wrote:
> > Just to let everyone know...
> >
> > Don't upgrade to java 6 yet unless you want to start debugging tests.
> > There
> > are a LOT of test failures right now when you use java 6.   I'm not sure
> > why
> > yet.   It looks like the XML parsers/validators are very different which
> > is
> > causing some issues.
> >
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194
> >

J. Daniel Kulp
Principal Engineer
P: 781-902-8727    C: 508-380-7194

View raw message