the hello example run correctly now! however the trip is wrong! <?xml version="1.0" encoding="UTF-8" ?> | <testsuite errors="3" failures="0" hostname="db3e6b86f82a413" name="org.jbpm.bpel.tutorial.trip.TravelAgentTest" tests="3" time="4.453" timestamp="2008-11-03T08:38:48"> | <properties> | <property name="ant.file.trip" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\build.xml" /> | <property name="java.vendor" value="Sun Microsystems Inc." /> | <property name="lib.junit.local" value="../../lib/junit.jar" /> | <property name="lib.dir" value="../../lib" /> | <property name="lib.jaxrpc.api.local" value="../../lib/jaxrpc-api.jar" /> | <property name="sun.java.launcher" value="SUN_STANDARD" /> | <property name="sun.management.compiler" value="HotSpot Client Compiler" /> | <property name="os.name" value="Windows XP" /> | <property name="sun.boot.class.path" value="D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\jaxb-api.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\jboss-jaxrpc.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\jboss-jaxws-ext.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\jboss-jaxws.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\jboss-saaj.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\serializer.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\xalan.jar;D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed\xercesImpl.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\resources.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\rt.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\sunrsasign.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\jsse.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\jce.jar;D:\program files\Java\jdk1.6.0_05\jre\lib\charsets.jar;D:\program files\Java\jdk1.6.0_05\jre\classes" /> | <property name="lib.dom4j.local" value="../../lib/dom4j.jar" /> | <property name="test.reports.dir" value="target/test/reports" /> | <property name="lib.jbpm.identity.jar.local" value="../../lib/jbpm-identity.jar" /> | <property name="javac.target" value="1.4" /> | <property name="sun.desktop" value="windows" /> | <property name="java.vm.specification.vendor" value="Sun Microsystems Inc." /> | <property name="ant.home" value="D:\apache-ant-1.7.1" /> | <property name="java.runtime.version" value="1.6.0_05-b13" /> | <property name="lib.servlet.local" value="../../lib/servlet-api.jar" /> | <property name="ant.file.mapping" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\common\mapping-build.xml" /> | <property name="test.java.dir" value="src/test/java" /> | <property name="lib.commons.collections.local" value="../../lib/commons-collections.jar" /> | <property name="lib.cglib.local" value="../../lib/cglib.jar" /> | <property name="user.name" value="junpeng" /> | <property name="lib.jbpm.bpel.jboss405.jar.local" value="../../lib/jbpm-bpel-jboss405.jar" /> | <property name="test.classes.dir" value="target/test/classes" /> | <property name="output.classes.dir" value="target/classes" /> | <property name="javac.deprecation" value="false" /> | <property name="lib.bsh.local" value="../../lib/bsh.jar" /> | <property name="user.language" value="zh" /> | <property name="lib.ant.local" value="../../lib/ant-1.6.5.jar" /> | <property name="sun.boot.library.path" value="D:\program files\Java\jdk1.6.0_05\jre\bin" /> | <property name="lib.jbpm.bpel.jar.local" value="../../lib/jbpm-bpel.jar" /> | <property name="ant.file.bpel" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\common\bpel-build.xml" /> | <property name="jboss.server" value="default" /> | <property name="ant.project.name" value="trip" /> | <property name="lib.antlr.local" value="../../lib/antlr-2.7.6.jar" /> | <property name="java.version" value="1.6.0_05" /> | <property name="user.timezone" value="" /> | <property name="resources.dir" value="src/main/resources" /> | <property name="jbpm.bpel.home" value="../.." /> | <property name="software.installation.dir" value="D:/jbpm-bpel" /> | <property name="sun.arch.data.model" value="32" /> | <property name="lib.commons.codec.local" value="../../lib/commons-codec.jar" /> | <property name="java.endorsed.dirs" value="D:/jbpm-bpel/jboss-4.2.3.GA/lib/endorsed" /> | <property name="sun.cpu.isalist" value="" /> | <property name="sun.jnu.encoding" value="GBK" /> | <property name="file.encoding.pkg" value="sun.io" /> | <property name="lib.jbpm.bpel.jboss403.jar.local" value="../../lib/jbpm-bpel-jboss403.jar" /> | <property name="file.separator" value="\" /> | <property name="java.specification.name" value="Java Platform API Specification" /> | <property name="lib.wsdl4j.local" value="../../lib/wsdl4j.jar" /> | <property name="java.class.version" value="50.0" /> | <property name="user.country" value="CN" /> | <property name="java.home" value="D:\program files\Java\jdk1.6.0_05\jre" /> | <property name="java.vm.info" value="mixed mode, sharing" /> | <property name="lib.jaxen.local" value="../../lib/jaxen.jar" /> | <property name="ant.file" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\build.xml" /> | <property name="os.version" value="5.1" /> | <property name="javac.source" value="1.4" /> | <property name="lib.hibernate.local" value="../../lib/hibernate3.jar" /> | <property name="javac.debug" value="true" /> | <property name="lib.commons.httpclient.local" value="../../lib/commons-httpclient.jar" /> | <property name="path.separator" value=";" /> | <property name="output.test.dir" value="target/test" /> | <property name="jwsdp.home" value="D:/Sun/jwsdp-2.0" /> | <property name="java.vm.version" value="10.0-b19" /> | <property name="lib.log4j.local" value="../../lib/log4j.jar" /> | <property name="user.variant" value="" /> | <property name="web.dir" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\src\main\resources\web" /> | <property name="ant.library.dir" value="D:\apache-ant-1.7.1\lib" /> | <property name="output.dir" value="target" /> | <property name="lib.jbpm.bpel.version" value="1.1.1" /> | <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob" /> | <property name="sun.io.unicode.encoding" value="UnicodeLittle" /> | <property name="lib.xercesimpl.local" value="../../lib/xercesImpl.jar" /> | <property name="awt.toolkit" value="sun.awt.windows.WToolkit" /> | <property name="lib.jbpm.bpel.application.name" value="jbpm-bpel.ear" /> | <property name="lib.hsqldb.local" value="../../lib/hsqldb.jar" /> | <property name="bpel.dir" value="src/main/bpel2" /> | <property name="lib.commons.lang.local" value="../../lib/commons-lang.jar" /> | <property name="published.wsdl.available" value="true" /> | <property name="user.home" value="C:\Documents and Settings\junpeng" /> | <property name="lib.jboss.j2ee.local" value="../../lib/jboss-j2ee.jar" /> | <property name="output.java.dir" value="target/java" /> | <property name="lib.jbpm.bpel.config.local" value="../../lib/jbpm-bpel-config.jar" /> | <property name="java.specification.vendor" value="Sun Microsystems Inc." /> | <property name="java.library.path" value="D:\program files\Java\jdk1.6.0_05\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\program files\MATLAB7\bin\win32;D:\program files\Java\jdk1.6.0_05\bin;D:\program files\Java\jdk1.6.0_05\jre\bin;d:\Program Files\doxygen\bin;d:\Program Files\Graphviz2.20\Bin;D:\apache-ant-1.7.1\bin;D:\Sun\jwsdp-2.0\jwsdp-shared\bin;D:\Sun\jwsdp-2.0\jaxrpc\bin;C:\Program Files\MySQL\MySQL Server 5.0/bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;d:\Sun\AppServer\bin;D:\Sun\jwsdp-2.0\jwsdp-shared\bin;D:\bpel-engine\Sun\jwsdp-1.6\jwsdp-shared\bin" /> | <property name="java.vendor.url" value="http://java.sun.com/" /> | <property name="jboss.home" value="D:/jbpm-bpel/jboss-4.2.3.GA" /> | <property name="lib.jbpm.jpdl.jar.local" value="../../lib/jbpm-jpdl.jar" /> | <property name="java.vm.vendor" value="Sun Microsystems Inc." /> | <property name="module.name" value="trip" /> | <property name="jboss.version" value="4.2.3.GA" /> | <property name="java.runtime.name" value="Java(TM) SE Runtime Environment" /> | <property name="ant.version" value="Apache Ant version 1.7.1 compiled on June 27 2008" /> | <property name="lib.jboss.saaj.local" value="../../lib/jboss-saaj.jar" /> | <property name="java.class.path" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\config;D:\jbpm-bpel\jboss-4.2.3.GA\client\FastInfoset.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\activation.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\antlr.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\avalon-framework.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\commons-codec.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\commons-httpclient.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\commons-logging.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\concurrent.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\ejb3-persistence.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\getopt.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\hibernate-annotations.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\hibernate-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jacorb.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\javassist.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jaxb-api.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jaxb-impl.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jaxb-xjc.jar;D:\jbpm-bpel\jboss-4.2.3.GA\! client\jaxws-rt.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jaxws-tools.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-annotations-ejb3.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-aop-jdk50-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-aspect-jdk50-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-common-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-deployment.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-ejb3-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-ejb3x.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-iiop-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-j2ee.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-jaxrpc.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-jaxws-ext.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-jaxws.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-jsr77-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-remoting.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-saaj.jar;D:\jbpm-bpel\jboss-4.2.3.G! A\client\jboss-serialization.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jb oss-srp-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-system-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-transaction-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jboss-xml-binding.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossall-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbosscx-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossha-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossjmx-ant.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossmq-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbosssx-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossws-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossws-common.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossws-framework.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossws-jboss42.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jbossws-spi.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jettison.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jmx-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\jmx-invoker-adaptor-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\clie! nt\jnp-client.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\log4j.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\logkit.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\mail.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\policy.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\scout.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\servlet-api.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\stax-api.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\stax-ex.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\streambuffer.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\trove.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\wsdl4j.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\wstx.jar;D:\jbpm-bpel\jboss-4.2.3.GA\client\xmlsec.jar;D:\jbpm-bpel\jbpm-bpel-1.1.1\lib\junit.jar;D:\jbpm-bpel\jbpm-bpel-1.1.1\lib\jbpm-bpel-tools.jar;D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\target\classes;D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\target\test\classes;D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip;D:\program files\Java\jdk1.6.0_05\lib;D:\program files\Java\jdk1.6.0_05\lib\tools.jar;D:\jbpm-bpel\jboss-! 4.2.3.GA\server\default\lib\mysql-connector-java-5.0.8-bin.jar;D:\apac he-ant-1.7.1\lib\junit.jar;D:\apache-ant-1.7.1\lib\ant-launcher.jar;D:\apache-ant-1.7.1\lib\ant.jar;D:\apache-ant-1.7.1\lib\ant-junit.jar" /> | <property name="lib.servlet-jsp.local" value="../../lib/jsp-api.jar" /> | <property name="client.dir" value="src/main/resources/client" /> | <property name="lib.xml.apis.local" value="../../lib/xml-apis.jar" /> | <property name="java.vm.specification.name" value="Java Virtual Machine Specification" /> | <property name="lib.jbpm.bpel.jboss420.jar.local" value="../../lib/jbpm-bpel-jboss420.jar" /> | <property name="java.vm.specification.version" value="1.0" /> | <property name="sun.os.patch.level" value="Service Pack 2" /> | <property name="sun.cpu.endian" value="little" /> | <property name="java.dir" value="src/main/java" /> | <property name="lib.jbpm.bpel.console.file" value="jbpm-bpel.war" /> | <property name="java.io.tmpdir" value="C:\DOCUME~1\junpeng\LOCALS~1\Temp\" /> | <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi" /> | <property name="jboss.wsdl.dir" value="D:/jbpm-bpel/jboss-4.2.3.GA/server/default/data/wsdl/trip.war" /> | <property name="lib.jbpm.bpel.enterprise.file" value="jbpm-bpel-enterprise.jar" /> | <property name="ant.file.test" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\common\test-build.xml" /> | <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment" /> | <property name="os.arch" value="x86" /> | <property name="common.dir" value="../../examples/common" /> | <property name="java.ext.dirs" value="D:\program files\Java\jdk1.6.0_05\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext" /> | <property name="user.dir" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip\target" /> | <property name="lib.jbpm.jpdl.version" value="3.2.3" /> | <property name="lib.commons.logging.local" value="../../lib/commons-logging.jar" /> | <property name="lib.asm.local" value="../../lib/asm.jar" /> | <property name="line.separator" value=" | " /> | <property name="java.vm.name" value="Java HotSpot(TM) Client VM" /> | <property name="basedir" value="D:\jbpm-bpel\jbpm-bpel-1.1.1\examples\trip" /> | <property name="ant.java.version" value="1.6" /> | <property name="config.dir" value="../../config" /> | <property name="ant.core.lib" value="D:\apache-ant-1.7.1\lib\ant.jar" /> | <property name="output.web.dir" value="target/resources/web" /> | <property name="file.encoding" value="GBK" /> | <property name="lib.jbpm.bpel.tools.jar.local" value="../../lib/jbpm-bpel-tools.jar" /> | <property name="lib.jbpm.bpel.container.name" value="jbpm-bpel-container.jar" /> | <property name="java.specification.version" value="1.6" /> | <property name="lib.commons.fileupload.local" value="../../lib/commons-fileupload.jar" /> | <property name="jboss.server.dir" value="D:/jbpm-bpel/jboss-4.2.3.GA/server/default" /> | </properties> | <testcase classname="org.jbpm.bpel.tutorial.trip.TravelAgentTest" name="testPurchaseTrip" time="2.312"> | <error message="Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:524) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testPurchaseTrip(TravelAgentTest.java:65) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.extensions.TestSetup.run(TestSetup.java:23) | Caused by: javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | </error> | </testcase> | <testcase classname="org.jbpm.bpel.tutorial.trip.TravelAgentTest" name="testGetTripDetails" time="0.625"> | <error message="Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:524) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testGetTripDetails(TravelAgentTest.java:80) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.extensions.TestSetup.run(TestSetup.java:23) | Caused by: javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | </error> | </testcase> | <testcase classname="org.jbpm.bpel.tutorial.trip.TravelAgentTest" name="testCancelTrip" time="0.453"> | <error message="Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed with code [Server] because of: java.lang.NullPointerException; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:524) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testCancelTrip(TravelAgentTest.java:104) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.extensions.TestSetup.run(TestSetup.java:23) | Caused by: javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | </error> | </testcase> | <system-out><![CDATA[16:38:49,484 DEBUG [SecurityAssociation] Using ThreadLocal: false | 16:38:50,375 DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | 16:38:50,390 DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: [EMAIL PROTECTED] | 16:38:51,656 TRACE [MessageTrace] Outgoing Request Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <ns1:order xmlns:ns1='http://jbpm.org/examples/trip' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> | <items> | <flight airline='AM' number='637'/> | <hotel name='Maria Isabel'/> | <rentalCar xsi:nil='1'/> | </items> | <date>2008-11-03T16:38:58.593+08:00</date> | </ns1:order> | </env:Body> | </env:Envelope> | 16:38:51,906 TRACE [MessageTrace] Incoming Response Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <faultcode>env:Server</faultcode> | <faultstring>java.lang.NullPointerException</faultstring> | </env:Fault> | </env:Body> | </env:Envelope> | 16:38:51,921 ERROR [CallImpl] Call invocation failed | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testPurchaseTrip(TravelAgentTest.java:65) | 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:597) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.extensions.TestSetup.run(TestSetup.java:23) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768) | 16:38:52,062 DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | 16:38:52,062 DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: [EMAIL PROTECTED] | 16:38:52,375 TRACE [MessageTrace] Outgoing Request Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <ns1:order xmlns:ns1='http://jbpm.org/examples/trip' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> | <items> | <flight airline='AM' number='637'/> | <hotel name='Maria Isabel'/> | <rentalCar company='Alamo'/> | </items> | <date>2008-11-03T16:38:58.593+08:00</date> | </ns1:order> | </env:Body> | </env:Envelope> | 16:38:52,562 TRACE [MessageTrace] Incoming Response Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <faultcode>env:Server</faultcode> | <faultstring>java.lang.NullPointerException</faultstring> | </env:Fault> | </env:Body> | </env:Envelope> | 16:38:52,562 ERROR [CallImpl] Call invocation failed | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testGetTripDetails(TravelAgentTest.java:80) | 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:597) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.extensions.TestSetup.run(TestSetup.java:23) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768) | 16:38:52,671 DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | 16:38:52,687 DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: [EMAIL PROTECTED] | 16:38:52,828 TRACE [MessageTrace] Outgoing Request Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <ns1:order xmlns:ns1='http://jbpm.org/examples/trip' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> | <items> | <flight airline='AM' number='637'/> | <hotel xsi:nil='1'/> | <rentalCar company='Alamo'/> | </items> | <date>2008-11-03T16:38:58.593+08:00</date> | </ns1:order> | </env:Body> | </env:Envelope> | 16:38:53,015 TRACE [MessageTrace] Incoming Response Message | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <env:Header/> | <env:Body> | <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> | <faultcode>env:Server</faultcode> | <faultstring>java.lang.NullPointerException</faultstring> | </env:Fault> | </env:Body> | </env:Envelope> | 16:38:53,015 ERROR [CallImpl] Call invocation failed | javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517) | at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | at $Proxy3.purchaseTrip(Unknown Source) | at org.jbpm.bpel.tutorial.trip.TravelAgentTest.testCancelTrip(TravelAgentTest.java:104) | 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:597) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.extensions.TestSetup.run(TestSetup.java:23) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768) | ]]></system-out> | <system-err><![CDATA[]]></system-err> | </testsuite> |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186322#4186322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186322 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user