Hive
  1. Hive
  2. HIVE-907

NullPointerException in ErrorMsg.findSQLState

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      NullPointerException is thrown when the mesg is null.
      This happens if an exception is thrown earlier with a null message.

      1. HIVE-907.1.patch
        0.6 kB
        Bill Graham

        Activity

        Hide
        Bill Graham added a comment -

        Unless you're already working on this, I have a patch that I can submit. Just let me know. As I'm sure you're aware, It's a quick fix.

        Show
        Bill Graham added a comment - Unless you're already working on this, I have a patch that I can submit. Just let me know. As I'm sure you're aware, It's a quick fix.
        Hide
        Ning Zhang added a comment -

        Great! I have not really started yet. Please do upload your patch.

        Ning

        Show
        Ning Zhang added a comment - Great! I have not really started yet. Please do upload your patch. Ning
        Hide
        Bill Graham added a comment -

        Sorry Ning, I just got your comment and I'm on my way to catch a plane for a weekend trip. I can submit this once I return on Tuesday.

        Show
        Bill Graham added a comment - Sorry Ning, I just got your comment and I'm on my way to catch a plane for a weekend trip. I can submit this once I return on Tuesday.
        Hide
        Ning Zhang added a comment -

        Sounds good Bill.

        Show
        Ning Zhang added a comment - Sounds good Bill.
        Hide
        Bill Graham added a comment -

        Attaching patch.

        Show
        Bill Graham added a comment - Attaching patch.
        Hide
        Namit Jain added a comment -

        +1

        looks good - will merge if the tests pass

        Show
        Namit Jain added a comment - +1 looks good - will merge if the tests pass
        Hide
        Namit Jain added a comment -

        Committed. Thanks Bill

        Show
        Namit Jain added a comment - Committed. Thanks Bill

          People

          • Assignee:
            Bill Graham
            Reporter:
            Zheng Shao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development