XMLWordPrintable

      Steps to Reproduce:
      1. Design easy Hello World process: Start Event -> Script Task -> End Event
      2. Set System.out.println("Hello world"); to Script property of Script Task
      3. Save process

      Actual Result:

      You can see an validation error in Server log, but if you deploy and run this process all will be OK and "Hello World" will be displayed.

      15:57:32,064 WARN  [org.kie.workbench.common.stunner.project.backend.service.ProjectDiagramServiceImpl] (default task-39) Saving diagram with UUID [HelloWorld] into path [default://master@myteam-myrepo/FirstProject/src/main/resources/myteam/firstproject/HelloWorld.bpmn].
      15:57:32,067 INFO  [stdout] (default task-39) End of children and view traverse
      15:57:32,106 INFO  [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (Thread-149) Incremental build request received for: default://master@myteam-myrepo/FirstProject/src/main/resources/myteam/firstproject/HelloWorld.bpmn (updated).
      15:57:32,164 INFO  [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (EJB default - 10) Incremental build request being processed: default://master@myteam-myrepo/FirstProject/src/main/resources/myteam/firstproject/HelloWorld.bpmn (updated).
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 4, 96): cvc-datatype-valid.1.2.1: '275A96B3-F6BB-4699-A495-3091B97B29E6' is not a valid value for 'NCName'.
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 4, 96): cvc-attribute.3: The value '275A96B3-F6BB-4699-A495-3091B97B29E6' of attribute 'id' on element 'bpmn2:startEvent' is not valid with respect to its type, 'ID'.
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 10, 76): cvc-datatype-valid.1.2.1: '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' is not a valid value for 'QName'.
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 10, 76): cvc-type.3.1.3: The value '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' of element 'bpmn2:outgoing' is not valid.
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 12, 117): cvc-datatype-valid.1.2.1: '276A5839-F085-4718-A203-79021682830A' is not a valid value for 'NCName'.
      15:57:32,197 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 12, 117): cvc-attribute.3: The value '276A5839-F085-4718-A203-79021682830A' of attribute 'id' on element 'bpmn2:scriptTask' is not valid with respect to its type, 'ID'.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 18, 76): cvc-datatype-valid.1.2.1: '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' is not a valid value for 'QName'.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 18, 76): cvc-type.3.1.3: The value '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' of element 'bpmn2:incoming' is not valid.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 19, 76): cvc-datatype-valid.1.2.1: '11D4AC52-CBC4-4D7E-A8A2-370397142A49' is not a valid value for 'QName'.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 19, 76): cvc-type.3.1.3: The value '11D4AC52-CBC4-4D7E-A8A2-370397142A49' of element 'bpmn2:outgoing' is not valid.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 28, 76): cvc-datatype-valid.1.2.1: '11D4AC52-CBC4-4D7E-A8A2-370397142A49' is not a valid value for 'QName'.
      15:57:32,198 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 28, 76): cvc-type.3.1.3: The value '11D4AC52-CBC4-4D7E-A8A2-370397142A49' of element 'bpmn2:incoming' is not valid.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-datatype-valid.1.2.1: '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' is not a valid value for 'NCName'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-attribute.3: The value '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' of attribute 'id' on element 'bpmn2:sequenceFlow' is not valid with respect to its type, 'ID'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-datatype-valid.1.2.1: '275A96B3-F6BB-4699-A495-3091B97B29E6' is not a valid value for 'NCName'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-attribute.3: The value '275A96B3-F6BB-4699-A495-3091B97B29E6' of attribute 'sourceRef' on element 'bpmn2:sequenceFlow' is not valid with respect to its type, 'IDREF'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-datatype-valid.1.2.1: '276A5839-F085-4718-A203-79021682830A' is not a valid value for 'NCName'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 30, 181): cvc-attribute.3: The value '276A5839-F085-4718-A203-79021682830A' of attribute 'targetRef' on element 'bpmn2:sequenceFlow' is not valid with respect to its type, 'IDREF'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 37, 181): cvc-datatype-valid.1.2.1: '11D4AC52-CBC4-4D7E-A8A2-370397142A49' is not a valid value for 'NCName'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 37, 181): cvc-attribute.3: The value '11D4AC52-CBC4-4D7E-A8A2-370397142A49' of attribute 'id' on element 'bpmn2:sequenceFlow' is not valid with respect to its type, 'ID'.
      15:57:32,199 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 37, 181): cvc-datatype-valid.1.2.1: '276A5839-F085-4718-A203-79021682830A' is not a valid value for 'NCName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 37, 181): cvc-attribute.3: The value '276A5839-F085-4718-A203-79021682830A' of attribute 'sourceRef' on element 'bpmn2:sequenceFlow' is not valid with respect to its type, 'IDREF'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 47, 105): cvc-datatype-valid.1.2.1: '275A96B3-F6BB-4699-A495-3091B97B29E6' is not a valid value for 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 47, 105): cvc-attribute.3: The value '275A96B3-F6BB-4699-A495-3091B97B29E6' of attribute 'bpmnElement' on element 'bpmndi:BPMNShape' is not valid with respect to its type, 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 50, 105): cvc-datatype-valid.1.2.1: '276A5839-F085-4718-A203-79021682830A' is not a valid value for 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 50, 105): cvc-attribute.3: The value '276A5839-F085-4718-A203-79021682830A' of attribute 'bpmnElement' on element 'bpmndi:BPMNShape' is not valid with respect to its type, 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 56, 184): cvc-datatype-valid.1.2.1: '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' is not a valid value for 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 56, 184): cvc-attribute.3: The value '43A4FDC6-38A6-40A2-AB03-604A6786FDC8' of attribute 'bpmnElement' on element 'bpmndi:BPMNEdge' is not valid with respect to its type, 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 60, 184): cvc-datatype-valid.1.2.1: '11D4AC52-CBC4-4D7E-A8A2-370397142A49' is not a valid value for 'QName'.
      15:57:32,200 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 10) (null: 60, 184): cvc-attribute.3: The value '11D4AC52-CBC4-4D7E-A8A2-370397142A49' of attribute 'bpmnElement' on element 'bpmndi:BPMNEdge' is not valid with respect to its type, 'QName'.
      15:57:32,225 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (EJB default - 10) KieModule was added: MemoryKieModule[releaseId=myteam:FirstProject:1.0.0]
      

      Expected Result:

      No errors in server log.

            romartin@redhat.com Roger Martinez
            kgaevski@redhat.com Kirill Gaevskii
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: