Exception thrown during SimpleTypeMapperExtensionTestCase
---------------------------------------------------------

                 Key: TUSCANY-2302
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2302
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Data Binding Runtime
         Environment: Mac OS 10.5.2, JVM 1.5.0_13, MacBook Pro
            Reporter: Chris Trezzo


I have attempted a build of the Tuscany trunk code using revision 653996. I 
encountered an IllegalArgumentException during the 
SimpleTypeMapperExtensionTestCase in the DataBinding module. Using the "mvn 
-fae clean install" command, no other issues were encountered.

Below is the trace that I received for the failure:

Running 
org.apache.tuscany.sca.databinding.extension.SimpleTypeMapperExtensionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.014 sec <<< 
FAILURE!
testMap(org.apache.tuscany.sca.databinding.extension.SimpleTypeMapperExtensionTestCase)
  Time elapsed: 0.011 sec  <<< ERROR!
java.lang.IllegalArgumentException: --02
        at 
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.read(XMLGregorianCalendarImpl.java:2810)
        at 
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.skip(XMLGregorianCalendarImpl.java:2816)
        at 
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parse(XMLGregorianCalendarImpl.java:2740)
        at 
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.<init>(XMLGregorianCalendarImpl.java:440)
        at 
com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(DatatypeFactoryImpl.java:224)
        at 
org.apache.tuscany.sca.databinding.impl.SimpleTypeMapperImpl.toJavaObject(SimpleTypeMapperImpl.java:330)
        at 
org.apache.tuscany.sca.databinding.extension.SimpleTypeMapperExtensionTestCase.testMap(SimpleTypeMapperExtensionTestCase.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

Results :

Tests in error:
 
testMap(org.apache.tuscany.sca.databinding.extension.SimpleTypeMapperExtensionTestCase)

Tests run: 30, Failures: 0, Errors: 1, Skipped: 0


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to