Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1377

ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • None
    • None
    • Patch committed. Thanks Mike!

    Description

      If Channel.getTransaction() throws then that Throwable is masked by a NullPointerException in the catch block of ChannelProcessor.processEventBatch() ... so all we see is a NullPointerException when we should be seeing the actual source of the error.

      Attachments

        1. FLUME-1377-1.patch
          6 kB
          Mike Percy

        Issue Links

          Activity

            People

              mpercy Mike Percy
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: