Permalink
Browse files

NPE fix.

  • Loading branch information...
1 parent 84070e7 commit b7102276c0ff7e73b19401228cb51b5b3e2a090e @aectann aectann committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/amplafi/flow/impl/FlowActivityImpl.java
@@ -821,7 +821,7 @@ public void delete(Object entity) {
flowPropertyDefinition = (FP)flowManagement.createFlowPropertyDefinition(flow, key, expected, sampleValue);
}
}
- if (!flowPropertyDefinition.isFlowTranslatorSet()) {
+ if (flowPropertyDefinition != null &&!flowPropertyDefinition.isFlowTranslatorSet()) {
getFlowManagement().getFlowTranslatorResolver().resolve(null, flowPropertyDefinition);
}
return flowPropertyDefinition;

0 comments on commit b710227

Please sign in to comment.