You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kevan Miller (JIRA)" <de...@tuscany.apache.org> on 2008/09/10 20:23:44 UTC

[jira] Updated: (TUSCANY-2302) Exception thrown during SimpleTypeMapperExtensionTestCase

     [ https://issues.apache.org/jira/browse/TUSCANY-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller updated TUSCANY-2302:
----------------------------------

    Attachment: TUSCANY-2302.patch

Fix Mac OS JUnit test failure. Extends existing work-around for Sun JDK bug to include Mac OS JDK.

Patch was generated from java/sca directory. Not sure what the project conventions are...

> 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
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2302.patch
>
>
> 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.