Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-178

On Error execution stops with status COMPLETED

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.0.Alpha2
    • 1.0.2.Final
    • jberet-core
    • None
    • Hide

      See description

      Show
      See description

    Description

      If an Exception is thrown in ItemReader.open(), then execution stops with Status FAILED. But if an Error (in my case java.lang.NoClassDefFoundError) is thrown, execution stops with Status COMPLETED. This should also be the FAILED Status (no matter that JSR-352 only talks about exceptions, I am sure they meant Throwable).
      It seems that other methods are affected as well (like ItemWriter.writeItems()), but I did not investigate that in detail.

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            peter2013_jira Peter Becker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: