You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2012/05/26 06:00:34 UTC

svn commit: r1342847 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java

Author: samindaw
Date: Sat May 26 04:00:34 2012
New Revision: 1342847

URL: http://svn.apache.org/viewvc?rev=1342847&view=rev
Log:
NPE issue fixed (engine.getGUI() is not set yet)

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java?rev=1342847&r1=1342846&r2=1342847&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/XBayaGUI.java Sat May 26 04:00:34 2012
@@ -566,7 +566,7 @@ public class XBayaGUI implements EventLi
         this.componentViewer = new ComponentViewer();
         this.componentSelector = new ComponentSelector(this.engine);
         this.componentSelector.addComponentSelectorListener(this.componentViewer);
-        this.monitorPane = new MonitorPanel(this.engine.getGUI(),this.engine.getMonitor());
+        this.monitorPane = new MonitorPanel(this,this.engine.getMonitor());
 
         compTreeXBayapanel = new ScrollPanel(this.componentSelector, ComponentSelector.TITLE);
         ScrollPanel compViewXBayaPanel = new ScrollPanel(this.componentViewer, ComponentViewer.TITLE);