[ 
https://issues.apache.org/jira/browse/FLUME-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481107#comment-13481107
 ] 

Hudson commented on FLUME-1652:
-------------------------------

Integrated in flume-trunk #317 (See 
[https://builds.apache.org/job/flume-trunk/317/])
    FLUME-1652. Logutils.getLogs could throw NPE. (Revision 
5416e77e16bb1906ed3b64754301825c5aeea6b3)

     Result = SUCCESS
hshreedharan : 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=5416e77e16bb1906ed3b64754301825c5aeea6b3
Files : 
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogUtils.java

                
> Logutils.getLogs could NPE
> --------------------------
>
>                 Key: FLUME-1652
>                 URL: https://issues.apache.org/jira/browse/FLUME-1652
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.2.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>            Priority: Minor
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1652-0.patch
>
>
> It shouldn't happen since the directories are checked on startup to ensure 
> they exist, but if an IO error occurred or if something changed underneath 
> it, LogUtils.getLogs could throw an NPE in the for loop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to