Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19100 Fix Spotbugs warnings in the build
  3. HADOOP-19119

spotbugs complaining about possible NPE in org.apache.hadoop.crypto.key.kms.ValueQueue.getSize()

    XMLWordPrintableJSON

Details

    Description

      PRs against hadoop-common are reporting spotbugs problems

      Dodgy code Warnings
      Code	Warning
      NP	Possible null pointer dereference in org.apache.hadoop.crypto.key.kms.ValueQueue.getSize(String) due to return value of called method
      Bug type NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE (click for details)
      In class org.apache.hadoop.crypto.key.kms.ValueQueue
      In method org.apache.hadoop.crypto.key.kms.ValueQueue.getSize(String)
      Local variable stored in JVM register ?
      Dereferenced at ValueQueue.java:[line 332]
      Known null at ValueQueue.java:[line 332]
      
      

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: