Skip to content

Commit

Permalink
Fix NPE in delayed ZAP.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Aug 10, 2013
1 parent 29998c4 commit 91b4468
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -130,7 +130,7 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept
if (duration != null && duration.getSeconds() > 0) {
// If a DURATION is specified, the currentStep should be remembered and
// restored after the duration.
scriptEntry.addObject("step", currentStep);
scriptEntry.addObject("step", new Element(currentStep));
// And let's take away the duration that was set to avoid a re-duration
// inception-ion-ion-ion-ion... ;)
scriptEntry.addObject("duration", Duration.ZERO);
Expand Down

0 comments on commit 91b4468

Please sign in to comment.