incubator-hise-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjaya Vithanagama (JIRA)" <j...@apache.org>
Subject [jira] Created: (HISE-42) NPE thrown when executing the claimsHandling example.
Date Wed, 07 Jul 2010 04:03:49 GMT
NPE thrown when executing the claimsHandling example.
-----------------------------------------------------

                 Key: HISE-42
                 URL: https://issues.apache.org/jira/browse/HISE-42
             Project: HISE
          Issue Type: Bug
          Components: WAR
            Reporter: Sanjaya Vithanagama
            Priority: Minor


A NPE is thrown when the provided sample (claimsHandling) is executed. 

Error Log:

INFO: Inbound Message
----------------------------
ID: 10
Address: /hise/ClaimsHandlingService/
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {content-type=[text/xml;charset=UTF-8], host=[localhost:8080], Content-Length=[658],
SOAPAction=[""], user-agent=[Jakarta Commons-HttpClient/3.1], Content-Type=[text/xml;charset=UTF-8]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cla="http://www.insurance.example.com/claims">
   <soapenv:Header/>
   <soapenv:Body>
      <cla:approve>
         <ClaimApprovalRequest>
            <cla:cust>
               <cla:id>123</cla:id>
               <cla:firstname>John</cla:firstname>
               <cla:lastname>Rambo</cla:lastname>
            </cla:cust>
            <cla:amount>123</cla:amount>
            <cla:region>US</cla:region>
            <cla:prio>1</cla:prio>
            <cla:activateAt></cla:activateAt>
         </ClaimApprovalRequest>
      </cla:approve>
   </soapenv:Body>
</soapenv:Envelope>
--------------------------------------
Jul 6, 2010 4:09:21 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Application {http://www.insurance.example.com/claims}ClaimsHandlingService#{http://www.insurance.example.com/claims}approve
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Error during receiving message 
	at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
	at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:85)
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
	at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
	at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:406)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:178)
	at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Error during receiving message 
	at org.apache.hise.engine.jaxws.HISEJaxWSService$1.doInTransaction(HISEJaxWSService.java:112)
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
	at org.apache.hise.engine.jaxws.HISEJaxWSService.invoke(HISEJaxWSService.java:90)
	at org.apache.hise.engine.jaxws.HISEJaxWSService.invoke(HISEJaxWSService.java:42)
	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 org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
	... 30 more
Caused by: java.lang.NullPointerException
	at org.apache.hise.runtime.Task.findInputParts(Task.java:281)
	at org.apache.hise.runtime.Task.create(Task.java:190)
	at org.apache.hise.engine.HISEEngineImpl.receive(HISEEngineImpl.java:137)
	at org.apache.hise.engine.jaxws.HISEJaxWSService$1.doInTransaction(HISEJaxWSService.java:103)
	... 39 more
Jul 6, 2010 4:09:21 PM org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message
---------------------------
ID: 10
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Error
during receiving message </faultstring></soap:Fault></soap:Body></soap:Envelope>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message