Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: Docs, Sinks+Sources
    • Labels:
    • Environment:

      Ubuntu 12.10

    • Release Note:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: