Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8762

Several potential NullPointerException bugs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: query
    • Labels:
      None

      Description

      Hi all,
      Our bug scanner has reported some NPE bugs.

      The bugs are caused by the

      return null
      

      in function retrieve()

      Since the return value of the method retrieve() may be null , a NPE bug may take place in retrieve() when the return value of the method retrieve() was passed to the first parameter of the method retrieve() .
      And when the return value of the method retrieve() was passed to the parameter of the method filterParams() , a NPE bug may also occur.

      Thanks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              JulyChen728 Qian Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: