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

Fix potential NPE in ProcessContainer_Impl.java

    XMLWordPrintableJSON

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

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: