Author: mes
Date: 2011-11-15 13:28:23 -0800 (Tue, 15 Nov 2011)
New Revision: 27479
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
Log:
fixed a possible 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-15 21:18:16 UTC (rev 27478)
+++
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/select/RowsSetViewUpdater.java
2011-11-15 21:28:23 UTC (rev 27479)
@@ -53,7 +53,11 @@
CyNetwork network = am.getCurrentNetwork();
if ( network == null )
return;
+
CyNetworkView networkView =
vm.getNetworkView(network.getSUID());
+ if ( networkView == null )
+ return;
+
VisualStyle vs = vmm.getVisualStyle(networkView);
VisualProperty<?> vp = null;
--
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.