I tested with latest trunk and created the service and all from the scratch.
Lahiru On Mon, Dec 3, 2012 at 4:15 PM, Suresh Marru <[email protected]> wrote: > Hi lahiru, > > We have to reconstruct workflows. Looks like in this case you are using a > workflow with older schema http://schemas.airavata.apache.org/gfac/type > > So please register a new service and try and let me know. I can take a > look at this in few hours from now. > > Suresh > > On Dec 3, 2012, at 4:06 PM, Lahiru Gunathilake <[email protected]> wrote: > > > I am getting error when i try to construct the workflow due to changes > done > > in schemas. > > > > org.apache.airavata.workflow.model.component.ComponentException: The > > component is in wrong format. > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:86) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:64) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:49) > > at > > > org.apache.airavata.workflow.model.component.registry.JCRComponentReference.getComponents(JCRComponentReference.java:61) > > at > > > org.apache.airavata.xbaya.ui.widgets.component.ComponentSelector$8.run(ComponentSelector.java:335) > > Caused by: > org.apache.airavata.workflow.model.component.ComponentException: > > could not find definition for type { > > http://schemas.airavata.apache.org/gfac/type}StringParameterType in { > > http://schemas.airavata.apache.org/gfac/type}echo > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.parseType(WSComponent.java:468) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.parseMessage(WSComponent.java:398) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.parseOperation(WSComponent.java:362) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.parsePortType(WSComponent.java:353) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.parse(WSComponent.java:345) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponent.<init>(WSComponent.java:132) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:136) > > at > > > org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponents(WSComponentFactory.java:82) > > ... 4 more > > > > Regards > > Lahiru > > > > On Mon, Dec 3, 2012 at 3:59 PM, Lahiru Gunathilake <[email protected] > >wrote: > > > >> I will debug this ! > >> > >> Thanks > >> Lahiru > >> > >> > >> On Mon, Dec 3, 2012 at 3:49 PM, Chathuri Wimalasena < > [email protected]>wrote: > >> > >>> 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 <[email protected]> > 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 <[email protected] > > > >>>> 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 > >>>> > >>>> > >>> > >> > >> > >> > >> -- > >> System Analyst Programmer > >> PTI Lab > >> Indiana University > >> > >> > > > > > > -- > > System Analyst Programmer > > PTI Lab > > Indiana University > > -- System Analyst Programmer PTI Lab Indiana University
