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

IRC Sink NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • Docs, Sinks+Sources
    • Ubuntu 12.10

    • Test Case added for IRC Sink

    Description

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

      Attachments

        1. FLUME-1892-1.patch
          6 kB
          Ashish Paliwal
        2. FLUME-1892-0.patch
          6 kB
          Ashish Paliwal
        3. FLUME-1281-1892-0.patch
          9 kB
          Ashish Paliwal

        Issue Links

          Activity

            People

              paliwalashish Ashish Paliwal
              jcollell Jeff Collell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: