| Summary: | Guvnor jBPM Designer does not import bpmn2 files | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Zuzana Krejčová <zkrejcov> | ||||||
| Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> | ||||||
| Status: | VERIFIED --- | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | BRMS 5.3.0.GA | CC: | lpetrovi | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | BRMS 5.3.0.GA | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Can you please provide the bpmn2 that was used for testing? Thanks. assigning to zkrejcov to provide more info. Created attachment 550387 [details] bpmn process This is the exact file I get from http://localhost:8080/jboss-brms/rest/packages/defaultPackage/assets/test/binary. It was created using the Designer, saved, validated, package built. It's only a simple start event --> end event process. Trying to import the Evaluation.bpmn found in jbpm-examples results in the same behaviour and exceptions. I am not able to reproduce the issue locally. The only thing I can think of is that you are using Java 1.5. Designer requires Java 6 in order to run. |
Created attachment 547808 [details] relevant part of server log Description of problem: The new functionality of the Designer for Guvnor should be able to import bpmn2 files. Trying that, however, results in error and null pointer exceptions thrown. Version-Release number of selected component (if applicable): BRMS 5.3.0 dev6 Steps to Reproduce: 1. In the Designer, create a simple process, validate (just to be sure) and save. 2. Download the process as a bpmn2 file via the REST API. 3. Back in the Designer, click the Import from BPMN2 option and choose the downloaded file, confirm. Actual results: A blue box with error ideogram, OK button and no message appears in Guvnor, Error message and NullPointerException in server log. Process is not imported. Expected results: Process is successfully imported. Additional info: Find attached the relevant part of the server log. In short, it says: 14:27:19,049 ERROR [STDERR] org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Premature end of file. 14:27:19,052 ERROR [STDERR] Caused by: org.xml.sax.SAXParseException; Premature end of file. 14:27:19,053 SEVERE [JbpmProfileImpl] java.lang.NullPointerException at com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:201)