You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by roshan joseph <ro...@yahoo.com> on 2008/10/22 18:34:53 UTC

BPEL error in Tuscany samples

Hi 
 Can someone help me understand why I am getting this erro when I run the BPEL helloworld sample for the Tuscany 1.3.2 version. The error message is like shown below.
 
Thank you and appreciate your help...
 
Regards
Roshan
 
***********ERROR MESSAGE **************
 
Starting BPELHelloWorldComponent
>>> Deploying : E:\Projects\apache-tuscany-sca-1.3.2\tuscany-sca-1.3.2\samples\helloworld-bpel\target\classes
>>> Activating MyRole Endpoint : {http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16 - {http://tuscany.apache.org}helloPartnerLink
>>> Activating MyRole Endpoint : {http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16 - {http://tuscany.apache.org}helloPartnerLink
>>> Set ThreadLocal with runtime component !
::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello>
::message:: <?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
Status: FAILURE
Exception in thread "main" java.lang.NullPointerException: null message!
        at org.apache.ode.bpel.engine.MessageImpl.<init>(MessageImpl.java:40)
        at org.apache.ode.bpel.engine.MessageExchangeImpl.getResponse(MessageExchangeImpl.java:97)
        at org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.doTheWork(BPELInvoker.java:157)
        at org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.invoke(BPELInvoker.java:98)
        at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
        at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:103)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
        at $Proxy20.hello(Unknown Source)
        at helloworld.BPELClient.main(BPELClient.java:36)


      

Re: BPEL error in Tuscany samples

Posted by roshan joseph <ro...@yahoo.com>.
HI,
 Thank you for the reply. Yes it works fine with maven for me too. I tested initially with ant and the error was from that.
 
Regards
Roshan

--- On Wed, 10/22/08, Luciano Resende <lu...@gmail.com> wrote:

From: Luciano Resende <lu...@gmail.com>
Subject: Re: BPEL error in Tuscany samples
To: user@tuscany.apache.org, roshanjose@yahoo.com
Date: Wednesday, October 22, 2008, 9:54 AM

How are you trying to run the sample ? There is a known issue when
trying to run using ant directly from the binary distribution, but it
worked ok for me using maven in Win32 and JDK 1.5 from the 1.3.2
binary distribution.


Running helloworld.BPELHelloWorldTestCase
Completed calling new Process deployment code...
Invoking bpel component : {http://tuscany.apache.org}helloPartnerLink#hello
Creating invocation message:
>> args.....: <?xml version="1.0"
encoding="UTF-8"?>
<hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns:ns2="http://helloworld.example.bpel.implementation
.org/">Hello</message></hello>
>> message..:<?xml version="1.0"
encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns:ns2="http://helloworld.example.
tion.tuscany.apache.org/">Hello</message></hello></TestPart></message>
>>>Invocation status:RESPONSE
>>>Response:
<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
>>>Response:
<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.141 sec


On Wed, Oct 22, 2008 at 9:34 AM, roshan joseph <ro...@yahoo.com>
wrote:
> Hi
>  Can someone help me understand why I am getting this erro when I run the
> BPEL helloworld sample for the Tuscany 1.3.2 version. The error message is
> like shown below.
>
> Thank you and appreciate your help...
>
> Regards
> Roshan
>
> ***********ERROR MESSAGE **************
>
>
> Starting BPELHelloWorldComponent
>
>>>> Deploying :
>>>>
E:\Projects\apache-tuscany-sca-1.3.2\tuscany-sca-1.3.2\samples\helloworld-bpel\target\classes
>
>>>> Activating MyRole Endpoint :
>>>>
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16
>>>> - {http://tuscany.apache.org}helloPartnerLink
>
>>>> Activating MyRole Endpoint :
>>>>
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16
>>>> - {http://tuscany.apache.org}helloPartnerLink
>
>>>> Set ThreadLocal with runtime component !
>
> ::arg:::::: <?xml version="1.0"
encoding="UTF-8"?>
>
> <hello
>
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
>
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello>
>
> ::message:: <?xml version="1.0"
encoding="UTF-8"?>
>
> <message><TestPart><hello
>
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
>
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
>
> Status: FAILURE
>
> Exception in thread "main" java.lang.NullPointerException: null
message!
>
>         at
> org.apache.ode.bpel.engine.MessageImpl.<init>(MessageImpl.java:40)
>
>         at
>
org.apache.ode.bpel.engine.MessageExchangeImpl.getResponse(MessageExchangeImpl.java:97)
>
>         at
>
org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.doTheWork(BPELInvoker.java:157)
>
>         at
>
org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.invoke(BPELInvoker.java:98)
>
>         at
>
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
>
>         at
>
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
>
>         at
>
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:103)
>
>         at
>
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
>
>         at
>
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
>
>         at $Proxy20.hello(Unknown Source)
>
>         at helloworld.BPELClient.main(BPELClient.java:36)
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/



      

Re: BPEL error in Tuscany samples

Posted by Luciano Resende <lu...@gmail.com>.
How are you trying to run the sample ? There is a known issue when
trying to run using ant directly from the binary distribution, but it
worked ok for me using maven in Win32 and JDK 1.5 from the 1.3.2
binary distribution.


Running helloworld.BPELHelloWorldTestCase
Completed calling new Process deployment code...
Invoking bpel component : {http://tuscany.apache.org}helloPartnerLink#hello
Creating invocation message:
>> args.....: <?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns:ns2="http://helloworld.example.bpel.implementation
.org/">Hello</message></hello>
>> message..:<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns:ns2="http://helloworld.example.
tion.tuscany.apache.org/">Hello</message></hello></TestPart></message>
>>>Invocation status:RESPONSE
>>>Response:
<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
>>>Response:
<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.141 sec


On Wed, Oct 22, 2008 at 9:34 AM, roshan joseph <ro...@yahoo.com> wrote:
> Hi
>  Can someone help me understand why I am getting this erro when I run the
> BPEL helloworld sample for the Tuscany 1.3.2 version. The error message is
> like shown below.
>
> Thank you and appreciate your help...
>
> Regards
> Roshan
>
> ***********ERROR MESSAGE **************
>
>
> Starting BPELHelloWorldComponent
>
>>>> Deploying :
>>>> E:\Projects\apache-tuscany-sca-1.3.2\tuscany-sca-1.3.2\samples\helloworld-bpel\target\classes
>
>>>> Activating MyRole Endpoint :
>>>> {http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16
>>>> - {http://tuscany.apache.org}helloPartnerLink
>
>>>> Activating MyRole Endpoint :
>>>> {http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-16
>>>> - {http://tuscany.apache.org}helloPartnerLink
>
>>>> Set ThreadLocal with runtime component !
>
> ::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
>
> <hello
> xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
> xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello>
>
> ::message:: <?xml version="1.0" encoding="UTF-8"?>
>
> <message><TestPart><hello
> xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
> xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
>
> Status: FAILURE
>
> Exception in thread "main" java.lang.NullPointerException: null message!
>
>         at
> org.apache.ode.bpel.engine.MessageImpl.<init>(MessageImpl.java:40)
>
>         at
> org.apache.ode.bpel.engine.MessageExchangeImpl.getResponse(MessageExchangeImpl.java:97)
>
>         at
> org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.doTheWork(BPELInvoker.java:157)
>
>         at
> org.apache.tuscany.sca.implementation.bpel.provider.BPELInvoker.invoke(BPELInvoker.java:98)
>
>         at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
>
>         at
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
>
>         at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:103)
>
>         at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
>
>         at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
>
>         at $Proxy20.hello(Unknown Source)
>
>         at helloworld.BPELClient.main(BPELClient.java:36)
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/