airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raminderjeet Singh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRAVATA-525) ProvenanceManager workflowInstanceData.getStatus()
Date Fri, 28 Mar 2014 14:56:11 GMT

     [ https://issues.apache.org/jira/browse/AIRAVATA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raminderjeet Singh resolved AIRAVATA-525.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

> ProvenanceManager  workflowInstanceData.getStatus()
> ---------------------------------------------------
>
>                 Key: AIRAVATA-525
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-525
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>    Affects Versions: 0.5
>            Reporter: Raminderjeet Singh
>             Fix For: 0.8
>
>
> I am trying to do following and getting null pointer error some time. 
>  ProvenanceManager provenanceManager = airavataAPI.getProvenanceManager();
>             WorkflowInstanceData workflowInstanceData = provenanceManager.getWorkflowInstanceData(experimentID,
experimentID);
>             String status = workflowInstanceData.getStatus().toString();
> [WARNING] [talledLocalContainer] java.lang.NullPointerException
> [WARNING] [talledLocalContainer]        at org.apache.airavata.services.rest.WorkflowMonitoring.workflowStatus(WorkflowMonitoring.java:65)
> [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:597)
> [WARNING] [talledLocalContainer]        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> [WARNING] [talledLocalContainer]        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message