You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Afkham Azeez <af...@gmail.com> on 2008/07/01 17:21:41 UTC

Synapse test failure

Is anybody else seeing the following test failure in the trunk?

-------------------------------------------------------------------------------
Test set: org.apache.synapse.mediators.transform.FaultMediatorTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.176 sec
<<< FAILURE!
testSOAP11Fault(org.apache.synapse.mediators.transform.FaultMediatorTest)
Time elapsed: 0.158 sec  <<< ERROR!
java.lang.ClassCastException: org.apache.synapse.TestMessageContext
        at
org.apache.synapse.mediators.transform.FaultMediator.makePOXFault(FaultMediator.java:198)
        at
org.apache.synapse.mediators.transform.FaultMediator.mediate(FaultMediator.java:103)
        at
org.apache.synapse.mediators.transform.FaultMediatorTest.testSOAP11Fault(FaultMediatorTest.java:49)
        at
org.apache.synapse.mediators.transform.FaultMediatorTest.testSOAP11Fault(FaultMediatorTest.java:49)
        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:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
        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:244)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814)


-- 
Thanks
Afkham Azeez

http://afkham.org
http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760

Re: Synapse test failure

Posted by Ruwan Linton <ru...@gmail.com>.
Azeez,

I have fixed the build, could you please try this now? Sorry for the
inconveniences.

Thanks,
Ruwan

On Tue, Jul 1, 2008 at 8:51 PM, Afkham Azeez <af...@gmail.com> wrote:

> Is anybody else seeing the following test failure in the trunk?
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.synapse.mediators.transform.FaultMediatorTest
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.176 sec
> <<< FAILURE!
> testSOAP11Fault(org.apache.synapse.mediators.transform.FaultMediatorTest)
> Time elapsed: 0.158 sec  <<< ERROR!
> java.lang.ClassCastException: org.apache.synapse.TestMessageContext
>         at
> org.apache.synapse.mediators.transform.FaultMediator.makePOXFault(FaultMediator.java:198)
>         at
> org.apache.synapse.mediators.transform.FaultMediator.mediate(FaultMediator.java:103)
>         at
> org.apache.synapse.mediators.transform.FaultMediatorTest.testSOAP11Fault(FaultMediatorTest.java:49)
>         at
> org.apache.synapse.mediators.transform.FaultMediatorTest.testSOAP11Fault(FaultMediatorTest.java:49)
>         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:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
>         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:244)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814)
>
>
> --
> Thanks
> Afkham Azeez
>
> http://afkham.org
> http://www.wso2.org
> GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760




-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/