airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chathuri Wimalasena <kamalas...@gmail.com>
Subject Re: NPE occurs when running a workflow
Date Mon, 03 Dec 2012 20:49:15 GMT
Hi Suresh,

I'm running the workflow via XBaya. Seems like the error comes from line
277 of WorkflowInterpretorSkeleton class.
     parse =
ContextHeaderDocument.Factory.parse(workflowContext.toStringWithConsume());

Any idea why it is failing ?

Regards,
Chathuri


On Mon, Dec 3, 2012 at 3:29 PM, Suresh Marru <smarru@apache.org> wrote:

> Looks like its related to setting the context header, are you running it
> through XBaya? A good first place is to check if the experiment id/topic id
> is set.
>
> Suresh
>
> On Dec 3, 2012, at 3:04 PM, Chathuri Wimalasena <kamalasini@gmail.com>
> wrote:
>
> > Hi All,
> >
> > When I run a workflow in the latest trunk, I'm getting following error.
> Any
> > idea why it is coming ?
> >
> >
> > org.apache.axis2.AxisFault
> > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorMessageReceiverInOut.invokeBusinessLogic(WorkflowInterpretorMessageReceiverInOut.java:86)
> > at
> >
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> > at
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
> > at
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
> > at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> > at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
> > at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
> > at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:680)
> > Caused by: java.lang.NullPointerException
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.parseContextHeader(WorkflowInterpretorSkeleton.java:298)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.launchWorkflow(WorkflowInterpretorSkeleton.java:240)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorMessageReceiverInOut.invokeBusinessLogic(WorkflowInterpretorMessageReceiverInOut.java:61)
> > ... 22 more
> >
> >
> > Thanks and Regards,
> > Chathuri
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message