Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2903

Fix possible NullPointerException in AbstractAutoCreds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.x
    • 2.0.0, 1.2.0
    • None

    Description

      Observed below exception while testing Hive token mechanism.

          ```
          Caused by: java.lang.NullPointerException
                  at org.apache.storm.common.AbstractAutoCreds.addTokensToUGI(AbstractAutoCreds.java:219) ~[storm-autocreds-1.2.0.3.1.0.0-526.jar:1.2.0.3.1.0.0-526]
                  at org.apache.storm.common.AbstractAutoCreds.populateSubject(AbstractAutoCreds.java:118) ~[storm-autocreds-1.2.0.3.1.0.0-526.jar:1.2.0.3.1.0.0-526]
                  at org.apache.storm.security.auth.AuthUtils.populateSubject(AuthUtils.java:228) ~[storm-core-1.2.0.3.1.0.0-526.jar:1.2.0.3.1.0.0-526]
                  ... 10 more
          2018-01-19 16:23:26.157 o.a.s.util main [ERROR] Halting process: ("Error on initialization")
          ```

      Attachments

        Activity

          People

            omkreddy Manikumar
            omkreddy Manikumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h