[ 
https://issues.apache.org/jira/browse/TUSCANY-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560056#action_12560056
 ] 

Jean-Sebastien Delfino commented on TUSCANY-1998:
-------------------------------------------------

I'm seeing an error too when building from a clean repository.

Environment:
IBM JDK 1.5
RHEL5 Linux
Tuscany 1.1 RC2

Running xquery.quote.XQueryQuoteClientTestCase
Jan 17, 2008 11:37:15 AM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: 
http://delfinoj60.burlingame.ibm.com:8085/QuoteJoinService
Jan 17, 2008 11:37:15 AM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: 
http://delfinoj60.burlingame.ibm.com:8085/AvailQuoteProviderService
Jan 17, 2008 11:37:16 AM 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver 
invokeBusinessLogic
SEVERE: java.lang.ClassCastException: net.sf.saxon.value.FloatValue 
incompatible with net.sf.saxon.value.DoubleValue
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: 
net.sf.saxon.value.FloatValue incompatible with net.sf.saxon.value.DoubleValue
        at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:122)
        at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:88)
        at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:82)
        at 
org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWireImpl.java:126)
        at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget(Axis2ServiceProvider.java:589)
        at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:59)
        at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
        at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
        at org.apache.tuscany.sca.core.work.Jsr237Work.run(Jsr237Work.java:61)
        at 
org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork.run(ThreadPoolWorkManager.java:205)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:801)
Caused by: java.lang.ClassCastException: net.sf.saxon.value.FloatValue 
incompatible with net.sf.saxon.value.DoubleValue
        at net.sf.saxon.value.ObjectValue.convertToJava(ObjectValue.java:133)
        at 
net.sf.saxon.functions.ExtensionFunctionCall.setupParams(ExtensionFunctionCall.java:332)
        at 
net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:213)
        at 
net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:112)
        at 
net.sf.saxon.expr.ComputedExpression.evaluateItem(ComputedExpression.java:503)
        at 
net.sf.saxon.expr.ComputedExpression.process(ComputedExpression.java:578)
        at 
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:164)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:91)
        at 
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:164)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:91)
        at net.sf.saxon.expr.ForExpression.process(ForExpression.java:535)
        at net.sf.saxon.expr.LetExpression.process(LetExpression.java:202)
        at net.sf.saxon.expr.ForExpression.process(ForExpression.java:535)
        at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:330)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:332)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:91)
        at 
net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:250)
        at 
net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:195)
        at 
net.sf.saxon.expr.ExpressionTool.eagerEvaluate(ExpressionTool.java:297)
        at 
net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:245)
        at net.sf.saxon.instruct.UserFunction.call(UserFunction.java:163)
        at 
net.sf.saxon.expr.UserFunctionCall.callFunction(UserFunctionCall.java:255)
        at net.sf.saxon.expr.UserFunctionCall.iterate(UserFunctionCall.java:206)
        at 
net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:199)
        at 
org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.doInvoke(XQueryInvoker.java:168)
        at 
org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.invoke(XQueryInvoker.java:185)
        at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:74)
        at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:113)
        ... 29 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.765 sec <<< 
FAILURE!
testQuoteJoin(xquery.quote.XQueryQuoteClientTestCase)  Time elapsed: 14.734 sec 
 <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
        at $Proxy17.joinPriceAndAvailQuotes(Unknown Source)
        at 
xquery.quote.QuoteJoinLocalImpl.joinPriceAndAvailQuotesWs(QuoteJoinLocalImpl.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
        at $Proxy9.joinPriceAndAvailQuotesWs(Unknown Source)
        at 
xquery.quote.XQueryQuoteClientTestCase.testQuoteJoin(XQueryQuoteClientTestCase.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
        at 
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
        at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
        at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
        at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        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:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException: 
java.lang.ClassCastException: net.sf.saxon.value.FloatValue incompatible with 
net.sf.saxon.value.DoubleValue
        at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:80)
        at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:74)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
        ... 35 more


Results :

Tests in error: 
  testQuoteJoin(xquery.quote.XQueryQuoteClientTestCase)

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.


> Can't do a full build from the source distribution with a clean maven repo
> --------------------------------------------------------------------------
>
>                 Key: TUSCANY-1998
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1998
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: Java-SCA-1.1
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.1
>
>         Attachments: tuscany-1998.patch
>
>
> This is due to some duplicity in saxon dependencies. We decided to use saxon 
> 8.7, but some modules are downloading and installing the saxon 9.x release 
> and maven is using that in some cases.
> Removing the following seems to fix the issue :
>   - remove modules/saxon project
>   - remove reference to saxon project from databinding-saxom
>   - remove saxon download ant script from implementation-xquery

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to