Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5308

Fix potential NPE in ProcessContainer_Impl.java

    Details

      Description

      Marshall examined the Jenkins build reports, which included a "PMD" report, which had some "red" notations (more serious), which found a bug that can cause NPE in ProcessingContainer_Impl.java in the CPE.

      The following :

      if (( (filterExpression.getOperand() == null
      && filterExpression.getOperand().getOperand() == null) && !exists)

      should be:

      if (( (filterExpression.getOperand() == null
      || filterExpression.getOperand().getOperand() == null) && !exists)

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: