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

Hari Shreedharan commented on FLUME-1847:
-----------------------------------------

Actually the unit test would fail right? Looks like you need to do 
{code}
@Test(expected=ConfigurationException.class)
{code}

Can you fix that? The code looks good.
                
> NPE in SourceConfiguration
> --------------------------
>
>                 Key: FLUME-1847
>                 URL: https://issues.apache.org/jira/browse/FLUME-1847
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.4.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: FLUME-1847-0.patch
>
>
> It looks to be the channels variable which can be null:
> at 
> org.apache.flume.conf.source.SourceConfiguration.configure(SourceConfiguration.java:62)
> ... 17 more

--
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