Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-549

Exception is thrown when trying to retrieve the Workflow Instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.5
    • 0.10
    • workflow manager
    • None

    Description

      An exception is thrown when calling the 'getWorkflowInsts' command through the Workflow Manager Client:

      % ./wmgr-client -u http://localhost:9001 -op -winsts
      org.apache.xmlrpc.XmlRpcException: java.lang.Exception: org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Exception getting workflow instances from workflow engine: Message: null
      at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
      at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
      at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
      at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
      at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
      at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
      at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.getWorkflowInstances(XmlRpcWorkflowManagerClient.java:653)
      at org.apache.oodt.cas.workflow.cli.action.GetWorkflowInstsCliAction.execute(GetWorkflowInstsCliAction.java:42)
      at org.apache.oodt.cas.cli.CmdLineUtility.execute(CmdLineUtility.java:331)
      at org.apache.oodt.cas.cli.CmdLineUtility.run(CmdLineUtility.java:187)
      at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:678)
      ERROR: Failed to get workflow instances from URL 'http://localhost:9001' : java.lang.Exception: org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Exception getting workflow instances from workflow engine: Message: null
      

      In the Workflow log, it shows the following exception:

      Dec 20, 2012 4:26:52 PM org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager getWorkflowInstances
      INFO: Getting workflow instances: retrieved: 10 instances
      java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:394)
      at org.apache.oodt.cas.workflow.util.XmlRpcStructFactory.getXmlRpcWorkflow(XmlRpcStructFactory.java:227)
      at org.apache.oodt.cas.workflow.util.XmlRpcStructFactory.getXmlRpcWorkflowInstance(XmlRpcStructFactory.java:114)
      at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager.getWorkflowInstances(XmlRpcWorkflowManager.java:448)
      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.xmlrpc.Invoker.execute(Invoker.java:130)
      at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
      at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
      at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
      at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
      at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java:761)
      at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:642)
      at java.lang.Thread.run(Thread.java:680)
      

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            mcayanan Michael Cayanan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: