Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10051

Fixing potential Nullpointer in ContentWorker.checkConditions()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • content
    • None

    Description

      This potential Nullpointer was found while fixing find-bugs-errors in the file ContentWorker.java.

      The method checkConditions is missing a proper null-check for the variable content, which is used frequently in it.
      At some point though it might be possible for content to be null and this would cause multiple NullpointerException to be thrown.

      Attachments

        Activity

          People

            mbrohl Michael Brohl
            Dennis Balkir Dennis Balkir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: