Jeff Collell created FLUME-1892:
-----------------------------------
Summary: IRC Sink NPE
Key: FLUME-1892
URL: https://issues.apache.org/jira/browse/FLUME-1892
Project: Flume
Issue Type: Bug
Components: Docs, Sinks+Sources
Environment: Ubuntu 12.10
Reporter: Jeff Collell
Priority: Minor
IRCSink.java does not initialize splitlines to a default value if it is not
contained in the config. It does check if splitChars is NULL, and initialize it
to the default constant, but it does not do so for splitlines.
The user guide found
[here|http://flume.apache.org/FlumeUserGuide.html#irc-sink] does show that
splitlines has no default value, but it is not bold (indicating it must be
defined in the config).
Obviously if splitlines is not configured, you'll get a NPE when sendLine is
called, since it does not check for NULL values either.
--
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