Merge "Fixed vOut nullpointer exception"
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / dbgen / DataGrooming.java
index 8dca75c..f2d6a4b 100644 (file)
@@ -938,7 +938,7 @@ public class DataGrooming {
                                                                                if( (ghost2 != null) && ghost2FixOn ){
                                                                                        ghost2.remove();
                                                                                }
-                                                                               else {
+                                                                               else if (vOut != null) {
                                                                                        vOut.remove();
                                                                                }
                                                                                if (singleCommits) {