[Swift-commit] r3258 - trunk/src/org/griphyn/vdl/karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Mar 1 14:59:19 CST 2010


Author: hategan
Date: 2010-03-01 14:59:19 -0600 (Mon, 01 Mar 2010)
New Revision: 3258

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
that breaks with root data

Modified: trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2010-03-01 20:22:24 UTC (rev 3257)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2010-03-01 20:59:19 UTC (rev 3258)
@@ -47,7 +47,7 @@
 					}
 					deepCopy(leaf, value, stack);
 				}
-				if (var.getParent().getType().isArray()) {
+				if (var.getParent() != null && var.getParent().getType().isArray()) {
 				    markAsAvailable(stack, leaf.getParent(), leaf.getPathFromRoot().getLast());
 				}
 			}




More information about the Swift-commit mailing list