title: Spring Batch: OnSkipInWrite prints the log twice ??? How ?
body: <p>Im facing a wierd situation while executing the spring batch. I've configured my job step execution to use "skippable-exception-classes" as </p>
  
  <pre><code>&lt;step id="prepareFileStep" next="fillRecordsCounterStep"&gt;
  &lt;tasklet&gt;
     &lt;chunk reader="stagingIdReader" writer="customerIdRecordCompWriter" commit-interval="50" skip-limit="200"&gt;
      &lt;streams&gt;
           &lt;stream ref="flatFileRecordWriter" /&gt;
      &lt;/streams&gt;
      &lt;skippable-exception-classes&gt;
           &lt;include class="java.lang.Exception" /&gt; 
      &lt;/skippable-exception-classes&gt;
  &lt;/chunk&gt;
  &lt;listeners&gt;
           &lt;listener ref="prepareFlatFileSkipListener" /&gt;
      &lt;listener ref="prepareFlatFileStepListener" /&gt;
  &lt;/listeners&gt;
  &lt;/tasklet&gt;
  </code></pre>
  
  <p></p>
  
  <p>And my onSkipInWrite() is implemented as:</p>
  
  <pre><code>@OnSkipInWrite
  public void onSkipInWrite(Object item, Throwable exception) {
      AppLog.warn(AppConstants.CALLER, "Skipping Customer Id:"+ item.getCustomer().getCustomerId()+"\n" + exception.toString());
  }
  </code></pre>
  
  <p>I wonder why the log file has printed skipped items twice, thou when I debug it executes only once? Please suggest me the fix friends...</p>