You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2012/07/18 09:34:33 UTC

[jira] [Created] (FLUME-1377) ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws

Mike Percy created FLUME-1377:
---------------------------------

             Summary: ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws
                 Key: FLUME-1377
                 URL: https://issues.apache.org/jira/browse/FLUME-1377
             Project: Flume
          Issue Type: Bug
            Reporter: Mike Percy
            Assignee: Mike Percy
             Fix For: v1.3.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1377) ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Percy updated FLUME-1377:
------------------------------

    Affects Version/s: v1.2.0
    
> ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws
> -------------------------------------------------------------------------------
>
>                 Key: FLUME-1377
>                 URL: https://issues.apache.org/jira/browse/FLUME-1377
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.2.0
>            Reporter: Mike Percy
>            Assignee: Mike Percy
>             Fix For: v1.3.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1377) ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Percy updated FLUME-1377:
------------------------------

    Attachment: FLUME-1377-1.patch
    
> ChannelProcessor clobbers exception with NPE if Channel.getTransaction() throws
> -------------------------------------------------------------------------------
>
>                 Key: FLUME-1377
>                 URL: https://issues.apache.org/jira/browse/FLUME-1377
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.2.0
>            Reporter: Mike Percy
>            Assignee: Mike Percy
>             Fix For: v1.3.0
>
>         Attachments: FLUME-1377-1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira