7 Replies Latest reply on Nov 6, 2012 9:58 AM by Michael G

    Unable to save process from process-designer after moving it from Eclipse (NPE)

    mcfeber Newbie

      I am using guvnor 5.4.0 Final and process-designer.2.2.1.Final in tomcat 7.

       

      I import (Add... via webdav) a simple bpmn2 process (start,script,stop) from Eclipse, open it in the designer, make a small change (move the icons) and select save. 

       

      The designer reports:

       

      400 Sorry, a technical error occurred. Please contact a system administrator.

       

      The catalina.out has the following (partial) stack trace:

      ERROR 25-07 11:54:33,597 (LoggingHelper.java:error:74)   Service method 'public abstract java.lang.String org.drools.guvnor.client.rpc.AssetService.checkinVersion(org.drools.guvnor.client.rpc.Asset) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java. ang.NullPointerException

      java.lang.NullPointerException

              at org.drools.repository.AssetItem.updateContent(AssetItem.java:390)

              at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155)

              at org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:180)

              at org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClien Proxy.java)

              at org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:155)

              at org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy java)

              at org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:596)

       

      After that, any attempt to save the process results in the following message:

       

      Error: Unable to save this asset, as it has been recently updated by [admin]

       

      I've tried this with validation (after creating the PNG) where the designer reports it as valid and without validation, and the result is the same.  Is there a way around this?  I need to be able to round-trip processes between Eclipse and guvnor.

        • 1. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
          shekhar g Newbie

          Hello,

           

          Were you able to resolve this? I am getting the same error while trying to commit changes on the server. Please let me know.

           

          Thank you.

          • 2. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
            Michael G Novice

            I just ran into this after upgrading to 5.4 from 5.3.  Any new updates on the cause? 

             

            If there is no resolution, i'm going to stick with 5.3 for awhile.

             

            Thanks

            • 4. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
              Michael G Novice

              yes, that is the default?

               

              Didn't touch any of the config files.

               

              The reason i would want to go between eclipse and guvnor is that i get an issue with the process when creating it with the designer where the bpmn xml get's corrupted like so

               

                <bpmn2:itemDefinition id="_ReportImportErrorListItem" structureRef="java.util.List"/>

                <bpmn2:itemDefinition id="_ReportImportAssigneeItem" structureRef="String"/>

                <bpmn2:itemDefinition id="_ReportImporttAssigneeIdItem" structureRef="String"/>

                <bpmn2:error id="dataError" errorCode="dataError"/>

                <bpmn2:itemDefinition id="_ReportImportOutputErrorItem" structureRef="String"/>

               

              Where the error element is place in between itemDefinition  elements.  This subsequently causes the build of the package to fail because of the invalid xml.  I would then import it into eclipse and make the change and then commit it back to guvnor for it to build.

               

              I tried to recreate the process so i don't use any intermediate error throws and catches to avoid this problem but i run into a save issue with guvnor 5.4,  discussed in another post.

              • 5. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
                Tihomir Surdilovic Master

                I cannot reproduce the mixing of itemDefinition and error elements. Can you help me reproduce it?

                What is the other thread you are mentioning?

                • 6. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
                  Michael G Novice

                  I'm going to start from scratch again with a clean copy of as 7.1.final, designer 2.3 and guvnor 5.4 and see if i can reproduce the issue.  The other thread i misspoke about, it is actually this thread.

                   

                  Thanks

                  • 7. Re: Unable to save process from process-designer after moving it from Eclipse (NPE)
                    Michael G Novice

                    From a clean start, i created a process and when i build it gives me this error.  unable to parse xml : Exception class org.xml.sax.SAXParseException : <itemDefinition> is after an invalid element: org.drools.xml.Handle

                     

                    Here is the generated source - not sure if this is the cause but the placement of the error element i think is out of place.  I also included the process image.

                     

                     

                    <?xml version="1.0" encoding="UTF-8"?>
                    <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_D18mACgeEeKa2dBsissNHQ" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" targetNamespace="http://www.omg.org/bpmn20">
                      <bpmn2:error id="_D18mESgeEeKa2dBsissNHQ"/>
                      <bpmn2:itemDefinition id="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInputItem" structureRef="java.lang.Object"/>
                      <bpmn2:itemDefinition id="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInputItem" structureRef="String"/>
                      <bpmn2:itemDefinition id="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyFirstParamInputItem" structureRef="String"/>
                      <bpmn2:itemDefinition id="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_ResultOutputItem" structureRef="java.lang.Object"/>
                      <bpmn2:process id="org.test.TestProcess" drools:packageName="org.test" name="TestProcess" isExecutable="true">
                        <bpmn2:startEvent id="_C0E8024B-D23C-4371-84A6-C3F2613E4E0E" drools:bgcolor="#9acd32" drools:selectable="true" name="">
                          <bpmn2:outgoing>_F7DB9025-8F90-4139-9366-172758477A77</bpmn2:outgoing>
                        </bpmn2:startEvent>
                        <bpmn2:scriptTask id="_358A3AE2-8FF7-4D7C-AAFA-C949EF507E9E" drools:selectable="true" name="" scriptFormat="http://www.java.com/java">
                          <bpmn2:incoming>_F7DB9025-8F90-4139-9366-172758477A77</bpmn2:incoming>
                          <bpmn2:outgoing>_D4D28A09-C984-4DA7-8A5C-F5F9EECFF2F1</bpmn2:outgoing>
                        </bpmn2:scriptTask>
                        <bpmn2:sequenceFlow id="_F7DB9025-8F90-4139-9366-172758477A77" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_C0E8024B-D23C-4371-84A6-C3F2613E4E0E" targetRef="_358A3AE2-8FF7-4D7C-AAFA-C949EF507E9E"/>
                        <bpmn2:task id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D" drools:selectable="true" drools:taskName="MyTask" name="My Task">
                          <bpmn2:incoming>_D4D28A09-C984-4DA7-8A5C-F5F9EECFF2F1</bpmn2:incoming>
                          <bpmn2:outgoing>_F1EDCA41-B5A1-4951-A235-93953F8C8577</bpmn2:outgoing>
                          <bpmn2:ioSpecification id="_D18mASgeEeKa2dBsissNHQ">
                            <bpmn2:dataInput id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_TaskNameInput" name="TaskName"/>
                            <bpmn2:dataInput id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInput" drools:dtype="java.lang.Object" itemSubjectRef="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInputItem" name="MyThirdParam"/>
                            <bpmn2:dataInput id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInput" drools:dtype="String" itemSubjectRef="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInputItem" name="MySecondParam"/>
                            <bpmn2:dataInput id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyFirstParamInput" drools:dtype="String" itemSubjectRef="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyFirstParamInputItem" name="MyFirstParam"/>
                            <bpmn2:dataOutput id="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_ResultOutput" drools:dtype="java.lang.Object" itemSubjectRef="__1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_ResultOutputItem" name="Result"/>
                            <bpmn2:inputSet id="_D18mAigeEeKa2dBsissNHQ">
                              <bpmn2:dataInputRefs>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInput</bpmn2:dataInputRefs>
                              <bpmn2:dataInputRefs>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInput</bpmn2:dataInputRefs>
                              <bpmn2:dataInputRefs>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyFirstParamInput</bpmn2:dataInputRefs>
                              <bpmn2:dataInputRefs>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_TaskNameInput</bpmn2:dataInputRefs>
                            </bpmn2:inputSet>
                            <bpmn2:outputSet id="_D18mAygeEeKa2dBsissNHQ">
                              <bpmn2:dataOutputRefs>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_ResultOutput</bpmn2:dataOutputRefs>
                            </bpmn2:outputSet>
                          </bpmn2:ioSpecification>
                          <bpmn2:dataInputAssociation id="_D18mBCgeEeKa2dBsissNHQ">
                            <bpmn2:targetRef>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_TaskNameInput</bpmn2:targetRef>
                            <bpmn2:assignment id="_D18mBSgeEeKa2dBsissNHQ">
                              <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_D18mBigeEeKa2dBsissNHQ">MyTask</bpmn2:from>
                              <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_D18mBygeEeKa2dBsissNHQ">_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_TaskNameInput</bpmn2:to>
                            </bpmn2:assignment>
                          </bpmn2:dataInputAssociation>
                          <bpmn2:dataInputAssociation id="_D18mCCgeEeKa2dBsissNHQ">
                            <bpmn2:targetRef>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInput</bpmn2:targetRef>
                            <bpmn2:assignment id="_D18mCSgeEeKa2dBsissNHQ">
                              <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_D18mCigeEeKa2dBsissNHQ"></bpmn2:from>
                              <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_D18mCygeEeKa2dBsissNHQ">_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MyThirdParamInput</bpmn2:to>
                            </bpmn2:assignment>
                          </bpmn2:dataInputAssociation>
                          <bpmn2:dataInputAssociation id="_D18mDCgeEeKa2dBsissNHQ">
                            <bpmn2:targetRef>_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInput</bpmn2:targetRef>
                            <bpmn2:assignment id="_D18mDSgeEeKa2dBsissNHQ">
                              <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_D18mDigeEeKa2dBsissNHQ"></bpmn2:from>
                              <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_D18mDygeEeKa2dBsissNHQ">_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D_MySecondParamInput</bpmn2:to>
                            </bpmn2:assignment>
                          </bpmn2:dataInputAssociation>
                        </bpmn2:task>
                        <bpmn2:sequenceFlow id="_D4D28A09-C984-4DA7-8A5C-F5F9EECFF2F1" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_358A3AE2-8FF7-4D7C-AAFA-C949EF507E9E" targetRef="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D"/>
                        <bpmn2:subProcess id="_263172FF-A551-4E41-9F14-2C5BED4ECF61" drools:selectable="true" name="">
                          <bpmn2:incoming>_F1EDCA41-B5A1-4951-A235-93953F8C8577</bpmn2:incoming>
                          <bpmn2:outgoing>_C5C6C051-8379-4B02-91D9-48F1662A2F56</bpmn2:outgoing>
                          <bpmn2:startEvent id="_2658B9CF-CBA2-4485-8467-AFB9E658BCF3" drools:bgcolor="#9acd32" drools:selectable="true" name="">
                            <bpmn2:outgoing>_8D9C82F2-EE25-4258-86B5-9B7FA34371A5</bpmn2:outgoing>
                          </bpmn2:startEvent>
                          <bpmn2:scriptTask id="_3360513B-8ED4-4921-B5BB-AA7C1BCFB68C" drools:selectable="true" name="" scriptFormat="http://www.java.com/java">
                            <bpmn2:incoming>_8D9C82F2-EE25-4258-86B5-9B7FA34371A5</bpmn2:incoming>
                            <bpmn2:outgoing>_4B6091CD-F921-4D83-829E-B658032FA3D3</bpmn2:outgoing>
                          </bpmn2:scriptTask>
                          <bpmn2:endEvent id="_D390EDEA-04AD-40B4-98CE-ACFC5E489485" drools:bgcolor="#ff6347" drools:selectable="true" name="">
                            <bpmn2:incoming>_4B6091CD-F921-4D83-829E-B658032FA3D3</bpmn2:incoming>
                            <bpmn2:errorEventDefinition id="_D18mECgeEeKa2dBsissNHQ" errorRef="_D18mESgeEeKa2dBsissNHQ"/>
                          </bpmn2:endEvent>
                          <bpmn2:sequenceFlow id="_8D9C82F2-EE25-4258-86B5-9B7FA34371A5" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_2658B9CF-CBA2-4485-8467-AFB9E658BCF3" targetRef="_3360513B-8ED4-4921-B5BB-AA7C1BCFB68C"/>
                          <bpmn2:sequenceFlow id="_4B6091CD-F921-4D83-829E-B658032FA3D3" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_3360513B-8ED4-4921-B5BB-AA7C1BCFB68C" targetRef="_D390EDEA-04AD-40B4-98CE-ACFC5E489485"/>
                        </bpmn2:subProcess>
                        <bpmn2:sequenceFlow id="_F1EDCA41-B5A1-4951-A235-93953F8C8577" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D" targetRef="_263172FF-A551-4E41-9F14-2C5BED4ECF61"/>
                        <bpmn2:scriptTask id="_01DA0613-84AC-46A5-8DD9-48AEA1306C29" drools:selectable="true" name="" scriptFormat="http://www.java.com/java">
                          <bpmn2:incoming>_21EDC464-F371-4FDF-8466-89C5515863A4</bpmn2:incoming>
                          <bpmn2:outgoing>_6B75D2E5-A6B0-4124-9446-D60D4B7115BC</bpmn2:outgoing>
                        </bpmn2:scriptTask>
                        <bpmn2:sequenceFlow id="_21EDC464-F371-4FDF-8466-89C5515863A4" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_063DB8ED-F560-41A1-97D0-B8D5130097A4" targetRef="_01DA0613-84AC-46A5-8DD9-48AEA1306C29"/>
                        <bpmn2:endEvent id="_2DCBFE14-2711-4B41-8B4F-9AA6096D7589" drools:bgcolor="#ff6347" drools:selectable="true" name="">
                          <bpmn2:incoming>_6B75D2E5-A6B0-4124-9446-D60D4B7115BC</bpmn2:incoming>
                        </bpmn2:endEvent>
                        <bpmn2:sequenceFlow id="_6B75D2E5-A6B0-4124-9446-D60D4B7115BC" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_01DA0613-84AC-46A5-8DD9-48AEA1306C29" targetRef="_2DCBFE14-2711-4B41-8B4F-9AA6096D7589"/>
                        <bpmn2:endEvent id="_09B4A5B0-E6C4-462B-99E3-B3987CED082C" drools:bgcolor="#ff6347" drools:selectable="true" name="">
                          <bpmn2:incoming>_C5C6C051-8379-4B02-91D9-48F1662A2F56</bpmn2:incoming>
                        </bpmn2:endEvent>
                        <bpmn2:sequenceFlow id="_C5C6C051-8379-4B02-91D9-48F1662A2F56" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_263172FF-A551-4E41-9F14-2C5BED4ECF61" targetRef="_09B4A5B0-E6C4-462B-99E3-B3987CED082C"/>
                        <bpmn2:boundaryEvent id="_063DB8ED-F560-41A1-97D0-B8D5130097A4" drools:bgcolor="#f5deb3" drools:selectable="true" drools:bordercolor="#a0522d" drools:boundaryca="false" name="" attachedToRef="_263172FF-A551-4E41-9F14-2C5BED4ECF61" cancelActivity="false">
                          <bpmn2:outgoing>_21EDC464-F371-4FDF-8466-89C5515863A4</bpmn2:outgoing>
                          <bpmn2:errorEventDefinition id="_D18mEigeEeKa2dBsissNHQ" errorRef="_D18mESgeEeKa2dBsissNHQ"/>
                        </bpmn2:boundaryEvent>
                      </bpmn2:process>
                      <bpmndi:BPMNDiagram id="_D18mEygeEeKa2dBsissNHQ">
                        <bpmndi:BPMNPlane id="_D18mFCgeEeKa2dBsissNHQ" bpmnElement="org.test.TestProcess">
                          <bpmndi:BPMNShape id="_D18mFSgeEeKa2dBsissNHQ" bpmnElement="_C0E8024B-D23C-4371-84A6-C3F2613E4E0E">
                            <dc:Bounds height="30.0" width="30.0" x="102.0" y="233.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNShape id="_D18mFigeEeKa2dBsissNHQ" bpmnElement="_358A3AE2-8FF7-4D7C-AAFA-C949EF507E9E">
                            <dc:Bounds height="80.0" width="100.0" x="177.0" y="208.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mFygeEeKa2dBsissNHQ" bpmnElement="_F7DB9025-8F90-4139-9366-172758477A77">
                            <di:waypoint xsi:type="dc:Point" x="117.0" y="248.0"/>
                            <di:waypoint xsi:type="dc:Point" x="227.0" y="248.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mGCgeEeKa2dBsissNHQ" bpmnElement="_1A8E2211-D3AC-447B-B6E4-7A9034F1B79D">
                            <dc:Bounds height="80.0" width="100.0" x="330.0" y="208.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mGSgeEeKa2dBsissNHQ" bpmnElement="_D4D28A09-C984-4DA7-8A5C-F5F9EECFF2F1">
                            <di:waypoint xsi:type="dc:Point" x="227.0" y="248.0"/>
                            <di:waypoint xsi:type="dc:Point" x="380.0" y="248.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mGigeEeKa2dBsissNHQ" bpmnElement="_263172FF-A551-4E41-9F14-2C5BED4ECF61">
                            <dc:Bounds height="249.0" width="371.0" x="525.0" y="168.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNShape id="_D18mGygeEeKa2dBsissNHQ" bpmnElement="_2658B9CF-CBA2-4485-8467-AFB9E658BCF3">
                            <dc:Bounds height="30.0" width="30.0" x="60.0" y="65.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNShape id="_D18mHCgeEeKa2dBsissNHQ" bpmnElement="_3360513B-8ED4-4921-B5BB-AA7C1BCFB68C">
                            <dc:Bounds height="80.0" width="100.0" x="135.0" y="40.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNShape id="_D18mHSgeEeKa2dBsissNHQ" bpmnElement="_D390EDEA-04AD-40B4-98CE-ACFC5E489485">
                            <dc:Bounds height="28.0" width="28.0" x="301.0" y="64.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mHigeEeKa2dBsissNHQ" bpmnElement="_8D9C82F2-EE25-4258-86B5-9B7FA34371A5">
                            <di:waypoint xsi:type="dc:Point" x="75.0" y="80.0"/>
                            <di:waypoint xsi:type="dc:Point" x="185.0" y="80.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNEdge id="_D18mHygeEeKa2dBsissNHQ" bpmnElement="_4B6091CD-F921-4D83-829E-B658032FA3D3">
                            <di:waypoint xsi:type="dc:Point" x="185.0" y="80.0"/>
                            <di:waypoint xsi:type="dc:Point" x="315.0" y="78.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNEdge id="_D18mICgeEeKa2dBsissNHQ" bpmnElement="_F1EDCA41-B5A1-4951-A235-93953F8C8577">
                            <di:waypoint xsi:type="dc:Point" x="380.0" y="248.0"/>
                            <di:waypoint xsi:type="dc:Point" x="477.0" y="248.0"/>
                            <di:waypoint xsi:type="dc:Point" x="477.0" y="292.0"/>
                            <di:waypoint xsi:type="dc:Point" x="710.5" y="292.5"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mISgeEeKa2dBsissNHQ" bpmnElement="_01DA0613-84AC-46A5-8DD9-48AEA1306C29">
                            <dc:Bounds height="80.0" width="100.0" x="956.0" y="318.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mIigeEeKa2dBsissNHQ" bpmnElement="_21EDC464-F371-4FDF-8466-89C5515863A4">
                            <di:waypoint xsi:type="dc:Point" x="896.0" y="358.0"/>
                            <di:waypoint xsi:type="dc:Point" x="1006.0" y="358.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mIygeEeKa2dBsissNHQ" bpmnElement="_2DCBFE14-2711-4B41-8B4F-9AA6096D7589">
                            <dc:Bounds height="28.0" width="28.0" x="1099.0" y="342.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mJCgeEeKa2dBsissNHQ" bpmnElement="_6B75D2E5-A6B0-4124-9446-D60D4B7115BC">
                            <di:waypoint xsi:type="dc:Point" x="1006.0" y="358.0"/>
                            <di:waypoint xsi:type="dc:Point" x="1113.0" y="356.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mJSgeEeKa2dBsissNHQ" bpmnElement="_09B4A5B0-E6C4-462B-99E3-B3987CED082C">
                            <dc:Bounds height="28.0" width="28.0" x="1018.0" y="232.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mJigeEeKa2dBsissNHQ" bpmnElement="_C5C6C051-8379-4B02-91D9-48F1662A2F56">
                            <di:waypoint xsi:type="dc:Point" x="710.5" y="292.5"/>
                            <di:waypoint xsi:type="dc:Point" x="958.0" y="292.0"/>
                            <di:waypoint xsi:type="dc:Point" x="958.0" y="248.0"/>
                            <di:waypoint xsi:type="dc:Point" x="1032.0" y="246.0"/>
                          </bpmndi:BPMNEdge>
                          <bpmndi:BPMNShape id="_D18mJygeEeKa2dBsissNHQ" bpmnElement="_063DB8ED-F560-41A1-97D0-B8D5130097A4">
                            <dc:Bounds height="30.0" width="30.0" x="881.0" y="343.0"/>
                          </bpmndi:BPMNShape>
                          <bpmndi:BPMNEdge id="_D18mKCgeEeKa2dBsissNHQ" bpmnElement="_063DB8ED-F560-41A1-97D0-B8D5130097A4">
                            <di:waypoint xsi:type="dc:Point" x="362.0" y="187.0"/>
                            <di:waypoint xsi:type="dc:Point" x="362.0" y="187.0"/>
                          </bpmndi:BPMNEdge>
                        </bpmndi:BPMNPlane>
                      </bpmndi:BPMNDiagram>
                    </bpmn2:definitions>
                    

                     

                    org.test.TestProcess.png

                     

                    Forgot to add the server stacktrace :

                     

                     

                    09:25:35,421 INFO  [org.drools.guvnor.server.security.DemoAuthenticator] (http--0.0.0.0-8080-20) Demo login for user (admin) succeeded.
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1) org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 124; <itemDefinition> is after an invalid element: org.drools.xml.Handler
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.xml.ExtensibleXmlParser.validate(ExtensibleXmlParser.java:487)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.xml.ExtensibleXmlParser.startElement(ExtensibleXmlParser.java:381)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:296)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:175)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:247)
                    09:25:45,061 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:652)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:664)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.compile(BPMN2ProcessHandler.java:260)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssemblerBase.compile(PackageAssemblerBase.java:91)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssemblerBase.buildAsset(PackageAssemblerBase.java:75)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssembler.addAsset(PackageAssembler.java:128)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssembler.loadAllButDRLAssets(PackageAssembler.java:112)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssembler.loadAssets(PackageAssembler.java:102)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssembler.buildPackage(PackageAssembler.java:94)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.builder.PackageAssembler.compile(PackageAssembler.java:65)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryModuleOperations.buildModule(RepositoryModuleOperations.java:562)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryModuleOperations.buildModule(RepositoryModuleOperations.java:534)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.buildModule(RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.java)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryModuleService.buildPackage(RepositoryModuleService.java:333)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryModuleService$Proxy$_$$_WeldClientProxy.buildPackage(RepositoryModuleService$Proxy$_$$_WeldClientProxy.java)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:243)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                    09:25:45,077 ERROR [stderr] (http--0.0.0.0-8080-1)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at java.lang.reflect.Method.invoke(Method.java:601)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    09:25:45,093 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                    09:25:45,108 ERROR [stderr] (http--0.0.0.0-8080-1)      at java.lang.Thread.run(Thread.java:722)