Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-349

NullPointerException in RTNode.process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0, 0.8.3
    • Core
    • None

    Description

      Inside the RTNode.process(Object input) method, when input is null and an exception is caught, the act of logging the input causes another NullPointerException when it attempts to do input.toString().

      Omiting the toString should fix the problem:
      LOG.info(String.format("Crunch exception in '%s' for input: %s", nodeName, input), e);

      Attachments

        1. CRUNCH-349.patch
          1 kB
          Gabriel Reid

        Activity

          People

            jwills Josh Wills
            aj987 Allan Shoup
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: