Bug 1138375
| Summary: | NPE in WysiwygFormEditor.getCurrentForm(WysiwygFormEditor.java:176) with MortgageApplication example | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Svitak <jsvitak> | ||||
| Component: | Form Modeler | Assignee: | Pere Fernàndez <pere.fernandez> | ||||
| Status: | CLOSED EOL | QA Contact: | Andy Taylor <ataylor> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.0.2 | CC: | kverlaen, mbaluch | ||||
| Target Milestone: | ER3 | ||||||
| Target Release: | 6.1.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:46:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Already fixed on commits: https://github.com/droolsjbpm/jbpm-form-modeler/commit/35cc504320dcfda4897e2b8a939253d6b853241d https://github.com/droolsjbpm/jbpm-form-modeler/commit/c5d31f83cbaf85e84e1c0ac1110c139b0eff0e8d Verified BPMS 6.1.0.ER3. |
Created attachment 934534 [details] server.log I have made several clicks in BPMN2 editor and I just had form modeler in other window of BPM Suite. The business-central worked as expected, but I had two NullPointerExceptions in server.log, see the attachment. See the two relevant pastes from the log: 18:24:58,155 WARN [org.jbpm.formModeler.service.bb.mvc.components.handling.BeanHandler] (http-localhost.localdomain/127.0.0.1:8080-3) Error handling action 'Start': : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_65] ... Caused by: java.lang.NullPointerException at org.jbpm.formModeler.components.editor.WysiwygFormEditor.setLastMovedFieldPosition(WysiwygFormEditor.java:249) [jbpm-form-modeler-form-editor-6.0.3-redhat-5.jar:] 18:24:58,170 ERROR [org.jbpm.formModeler.components.editor.WysiwygMenuFormatter] (http-localhost.localdomain/127.0.0.1:8080-3) Error: : java.lang.NullPointerException at org.jbpm.formModeler.components.editor.WysiwygFormEditor.getCurrentForm(WysiwygFormEditor.java:176) [jbpm-form-modeler-form-editor-6.0.3-redhat-5.jar:] To reproduce: 1.) Set up BPMS 6.0.3.ER1. Import there official BPM example application, (MortgageApplication process). 2.) Open MortgageApplication process. Open one form from the BPMN2 designer. Open one of its subform from the left menu. 3.) Click through the properties of nodes in BPMN2 editor. Unfortunately I do not have particular steps. Try to stop and start the server again. Try to start a process instance and inspect its model and variable data. Complete task. I have not saved anything in the modeler nor BPMN2 designer. The authoring windows were just opened and still the exceptions were thrown. Expected behavior: 1.) NPE should never be thrown. At least meaningful exception should be produced. 2.) No exception is thrown during standard work with jBPM Designer or Form modeler, especially when GUI does not report any error. My env: BPMS 6.0.3.ER1 EAP 6.1.2 PostgreSQL 9.3.5