Author: apico
Date: 2011-06-05 12:02:14 -0700 (Sun, 05 Jun 2011)
New Revision: 25651

Modified:
   
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
Log:
fixed NPE on node.getGroups()

Modified: 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
       2011-06-05 05:30:53 UTC (rev 25650)
+++ 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
       2011-06-05 19:02:14 UTC (rev 25651)
@@ -610,7 +610,7 @@
                                MetaNode mn = MetaNodeManager.getMetaNode(node);
                                if (mn != null) {
                                        
settingsDialog.updateMetaNodeSettings(mn);
-                               } else {
+                               } else if (node.getGroups() != null) {
                                        for (CyGroup gn :node.getGroups()){
                                                
settingsDialog.updateMetaNodeSettings(MetaNodeManager.getMetaNode(gn));
                                        }

-- 
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