Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4567

NPE fix in core engine (TaskHandler)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • jBPM 6.2.0.Final
    • Runtime Engine

    Description

      See https://developer.jboss.org/thread/239791 for more information.

      In short, this line in the org.jbpm.bpmn2.xml.TaskHandler class can cause an NPE because 'subNode' may be null.

      Furthermore, the comment suggests that a null check be done on subNode.getNextSibling(). This makes sense, given that the next sibling is retrieved 4 lines under the referenced line.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            marco.rietveld Marco Rietveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: