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 <[EMAIL PROTECTED]> 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/