Author: lahiru
Date: Thu May 16 18:41:21 2013
New Revision: 1483497
URL: http://svn.apache.org/r1483497
Log:
fixing a NPE during error saving.
Modified:
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java
Modified:
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java
URL:
http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java?rev=1483497&r1=1483496&r2=1483497&view=diff
==============================================================================
---
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java
(original)
+++
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java
Thu May 16 18:41:21 2013
@@ -216,6 +216,7 @@ public class WorkflowInterpretorEventLis
nodeExecutionError.setWorkflowInstanceId(event.getExperimentID());
nodeExecutionError.setErrorMessage(event.getMessage());
nodeExecutionError.setErrorDescription(event.getMessage());
+ nodeExecutionError.setErrorTime(event.getTimestamp());
this.workflowInterpreterConfiguration.getAiravataAPI().getExecutionManager().addNodeExecutionError(nodeExecutionError);
if (node == null) {
if (nodeID!=null && !nodeID.equals("")) {