Author: mes
Date: 2011-11-02 14:14:36 -0700 (Wed, 02 Nov 2011)
New Revision: 27382

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
Log:
fixed npe

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
 2011-11-02 21:09:26 UTC (rev 27381)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
 2011-11-02 21:14:36 UTC (rev 27382)
@@ -51,6 +51,8 @@
 
                boolean refreshView = false;
                CyNetwork network = am.getCurrentNetwork();             
+               if ( network == null )
+                       return;
                CyNetworkView networkView = 
vm.getNetworkView(network.getSUID());
                VisualStyle vs = vmm.getVisualStyle(networkView);
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to