[jboss-user] [jBPM] - Issue with BPMN2.0 Editor

Bhaskaran Venkataraman do-not-reply at jboss.com
Thu May 24 05:35:48 EDT 2012


Bhaskaran Venkataraman [https://community.jboss.org/people/bhaskarven] created the discussion

"Issue with BPMN2.0 Editor"

To view the discussion, visit: https://community.jboss.org/message/737610#737610

--------------------------------------------------------------
I was trying to run some tutorial by creating the process model in BPMN2.0 editor. I am facing the following issues :

1. I tried modifying an existing bpmn file according to my requirement. The moment I saved the changes there is a pop-up
    saying "The user operation is waiting for building workspace". Then when I run the program I get a bunch of schema errors
    which I have reproduced below. I am not able to make even a minor change such as moving a node or editing a property 
    of a node. I tried creating a new BPMN diagram and that is also does not work. But I am able to compile and run demo
    programs.


(null: 8, 96): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 79): src-resolve: Cannot resolve the name 'bpmndi:BPMNDiagram' to a(n) 'element declaration' component.
(null: 22, 52): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 52): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmndi:BPMNDiagram'. One of '{" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL":rootElement, " http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL":relationship}' is expected.
(null: 23, 92): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 24, 54): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 25, 67): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 27, 54): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 28, 66): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 30, 54): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 31, 67): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 33, 123): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 61): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DI-XMI http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 61): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 61): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 35, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DI-XMI http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 35, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 35, 62): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 37, 123): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/BPMN/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DI-XMI http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 62): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 39, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DI-XMI http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 62): schema_reference.4: Failed to read schema document ' http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 62): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
Hello World

2. The properties panel for the script task is somewhat different from what it is in the tutorial. The Action property is missing and hence I cannot
    open the "Action Editor" for writing custom java code or importing Jar files. Also some other properties such as "variables" are missing in the
    process properties panel.

    I installed the graphiti & BPMN editor plug-in as described in the User Guide. The only change being the one shown below due to 
    compatibility issues.

    As per User Guide => Graphiti 0.7.1 and Codehoop (BPMN) => 2.0
    My installation       => Graphiti 0.8.0 and Codehoop (BPMN) => 2.0

Please find attached snapshots of the script node properties panel and the process properties panel
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/737610#737610]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120524/140494d1/attachment-0001.html 


More information about the jboss-user mailing list