Skip to content

Commit

Permalink
handle case when stored prop in SDF is null
Browse files Browse the repository at this point in the history
  • Loading branch information
olas committed Mar 2, 2012
1 parent b82af28 commit 73d7813
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -75,8 +75,12 @@ protected List<? extends ITestResult> doRunTest(

Object storedPropObject=getSDFmodel().getPropertyFor( i,
getPropertyKey() );
if (storedPropObject==null){
logger.warn("Stored prop is null for index: " + i);
continue;
}

String storedProp="";
String storedProp=null;
try {
storedProp = processQueryResult(storedPropObject);
} catch (DSException e) {
Expand Down

0 comments on commit 73d7813

Please sign in to comment.