Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3911

Engine throw an error when adding a Text Annotation association to a Parallel Gateway

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.11.1.GA
    • jBPM Designer
    • RHPAM 7.11.1

      OpenJDK 11

      MacOS Big Sur 11.6

    • False
    • False
    • Hide

      Import the attached bpmn into a PAM project and follow the GIF attached.

      Show
      Import the attached bpmn into a PAM project and follow the GIF attached.

      Getting a java.lang.IllegalArgumentException: Unknown gateway direction: Unspecified when I add a Text Annotation associated to a Parallel Gateway. Please see GIF attached.

      The server log is:

      11:31:18,009 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 1) Process Info: id:process-lab.cook-process-inclusive-gw, pkg:com.redhat.demos.process_lab, name:cook-process-inclusive-gw, version:1.011:31:18,009 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 1) Process Info: id:process-lab.cook-process-inclusive-gw, pkg:com.redhat.demos.process_lab, name:cook-process-inclusive-gw, version:1.0Node Info: id:_F4EF95F3-3058-485C-9A01-D6B7F36356B3 name:synchronous mergeParser message: (null: 278, 95): cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in element 'bpmn2:textAnnotation'.11:31:18,010 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 1) Process Info: id:process-lab.cook-process-inclusive-gw, pkg:com.redhat.demos.process_lab, name:cook-process-inclusive-gw, version:1.0Node Info: id:_F0F43CEE-EBE0-4850-8B0C-BA5D6E8B4C22 name:Parser message: (null: 286, 102): cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.omg.org/spec/BPMN/20100524/MODEL":exclusiveGateway}'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.11:31:18,011 ERROR [stderr] (EJB default - 1) java.lang.IllegalArgumentException: Unknown gateway direction: Unspecified11:31:18,011 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.jbpm.bpmn2.xml.ParallelGatewayHandler.createNode(ParallelGatewayHandler.java:37)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.jbpm.bpmn2.xml.AbstractNodeHandler.start(AbstractNodeHandler.java:110)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.drools.core.xml.ExtensibleXmlParser.startElement(ExtensibleXmlParser.java:408)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:498)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:792)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)11:31:18,012 ERROR [stderr] (EJB default - 1) at deployment.business-central.war//org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)

      Please also see attached bpmn attached

        1. cook-process-inclusive-gw.bpmn
          49 kB
          Rafael Soares
        2. PAM_11_1_GW_TextAnnotation_error.gif
          778 kB
          Rafael Soares

              romartin@redhat.com Roger Martinez
              rafael.soares Rafael Soares
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: