You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <tu...@ws.apache.org> on 2008/01/03 13:15:33 UTC
[jira] Created: (TUSCANY-1945) itest/exceptions-cross-binding fails
when run after itest/databinding
itest/exceptions-cross-binding fails when run after itest/databinding
---------------------------------------------------------------------
Key: TUSCANY-1945
URL: https://issues.apache.org/jira/browse/TUSCANY-1945
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-1.1
Environment: Windows XP
Reporter: Simon Nash
Fix For: Java-SCA-1.1
The changes in r608213 cause itest/exceptions-cross-binding to fail when it is run after itest/databinding in the same JVM. The stack trace is attached below.
- - - - - stack trace - - - - -
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase
stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@134
2545'
stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@1c1
9919'
org.apache.tuscany.sca.databinding.TransformationException: No matching source f
ault type is found: class org.apache.tuscany.sca.test.exceptions.impl.jaxb.Inval
idSymbolFault_Exception java:exception Element: {http://impl.exceptions.test.sca
.tuscany.apache.org/}InvalidSymbolFault_Exception Type: null
at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
eptor.invoke(DataTransformationInterceptor.java:145)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:52)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:249)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:146)
at $Proxy17.stockQuoteOffer(Unknown Source)
at org.apache.tuscany.sca.test.exceptions.impl.StockTraderSDOImpl.testIn
validSymbolSDOException(StockTraderSDOImpl.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:105)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:249)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:146)
at $Proxy16.testInvalidSymbolSDOException(Unknown Source)
at org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase.testInv
alidSymbolSDOException(IntraCompositeTestCase.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@19c
d5f5'
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.924 sec <<< FA
ILURE!
testInvalidSymbolSDOException(org.apache.tuscany.sca.test.exceptions.IntraCompos
iteTestCase) Time elapsed: 0.231 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expected InvalidSymbolSDOExceptionorg.apac
he.tuscany.sca.databinding.TransformationException: No matching source fault typ
e is found: class org.apache.tuscany.sca.test.exceptions.impl.jaxb.InvalidSymbol
Fault_Exception java:exception Element: {http://impl.exceptions.test.sca.tuscany
.apache.org/}InvalidSymbolFault_Exception Type: null
at junit.framework.Assert.fail(Assert.java:47)
at org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase.testInv
alidSymbolSDOException(IntraCompositeTestCase.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Results :
Failed tests:
testInvalidSymbolSDOException(org.apache.tuscany.sca.test.exceptions.IntraComp
ositeTestCase)
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-1945) itest/exceptions-cross-binding
fails when run after itest/databinding
Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Nash resolved TUSCANY-1945.
---------------------------------
Resolution: Fixed
Assignee: Simon Nash
Fixed in revision r608514.
> itest/exceptions-cross-binding fails when run after itest/databinding
> ---------------------------------------------------------------------
>
> Key: TUSCANY-1945
> URL: https://issues.apache.org/jira/browse/TUSCANY-1945
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-1.1
> Environment: Windows XP
> Reporter: Simon Nash
> Assignee: Simon Nash
> Fix For: Java-SCA-1.1
>
>
> The changes in r608213 cause itest/exceptions-cross-binding to fail when it is run after itest/databinding in the same JVM. The stack trace is attached below.
> - - - - - stack trace - - - - -
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase
> stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@134
> 2545'
> stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@1c1
> 9919'
> org.apache.tuscany.sca.databinding.TransformationException: No matching source f
> ault type is found: class org.apache.tuscany.sca.test.exceptions.impl.jaxb.Inval
> idSymbolFault_Exception java:exception Element: {http://impl.exceptions.test.sca
> .tuscany.apache.org/}InvalidSymbolFault_Exception Type: null
> at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> eptor.invoke(DataTransformationInterceptor.java:145)
> at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:52)
> at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:249)
> at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:146)
> at $Proxy17.stockQuoteOffer(Unknown Source)
> at org.apache.tuscany.sca.test.exceptions.impl.StockTraderSDOImpl.testIn
> validSymbolSDOException(StockTraderSDOImpl.java:79)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> ionInvoker.invoke(JavaImplementationInvoker.java:105)
> at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:249)
> at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:146)
> at $Proxy16.testInvalidSymbolSDOException(Unknown Source)
> at org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase.testInv
> alidSymbolSDOException(IntraCompositeTestCase.java:53)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
> stockQuoteOffer 'org.apache.tuscany.sca.test.exceptions.impl.jaxb.StockOffer@19c
> d5f5'
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.924 sec <<< FA
> ILURE!
> testInvalidSymbolSDOException(org.apache.tuscany.sca.test.exceptions.IntraCompos
> iteTestCase) Time elapsed: 0.231 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Expected InvalidSymbolSDOExceptionorg.apac
> he.tuscany.sca.databinding.TransformationException: No matching source fault typ
> e is found: class org.apache.tuscany.sca.test.exceptions.impl.jaxb.InvalidSymbol
> Fault_Exception java:exception Element: {http://impl.exceptions.test.sca.tuscany
> .apache.org/}InvalidSymbolFault_Exception Type: null
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.tuscany.sca.test.exceptions.IntraCompositeTestCase.testInv
> alidSymbolSDOException(IntraCompositeTestCase.java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
> Results :
> Failed tests:
> testInvalidSymbolSDOException(org.apache.tuscany.sca.test.exceptions.IntraComp
> ositeTestCase)
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org