Bug 1274850

Summary: BigApp: NullPointerException
Product: [Retired] JBoss BPMS Platform 6 Reporter: Pavel Kralik <pkralik>
Component: Form ModelerAssignee: Pere Fernàndez <pere.fernandez>
Status: CLOSED NOTABUG QA Contact: Pavel Kralik <pkralik>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: kverlaen, pkralik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-13 16:54:08 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:
Description Flags
Server log BPMS 6.2.0.ER4 with BigApp
none
Form Modeler error caused by BigApp - catalina.out
none
BPMS 6.2.0.ER5 on EAP 6.4.4 server.log none

Description Pavel Kralik 2015-10-23 16:14:43 UTC
Created attachment 1085865 [details]
Server log BPMS 6.2.0.ER4 with BigApp

Description of problem:
NullPointerException when opening Form Definitions.

server.log:
18:04:58,061 ERROR [org.jbpm.formModeler.components.editor.FieldButtonsFormatter] (http-/0.0.0.0:8080-1) Error: : java.lang.NullPointerException
	at org.jbpm.formModeler.components.editor.WysiwygFormEditor.getCurrentForm(WysiwygFormEditor.java:179) [jbpm-form-modeler-form-editor-6.3.0.Final-redhat-2.jar:6.3.0.Final-redhat-2]


Version-Release number of selected component (if applicable):
BPMS 6.2.0.ER4

How reproducible:
Always

Steps to Reproduce:
1. Deploy bigapp
2. Go to Form definitions and open each.

Actual results:
NullPointerException in server.log

Expected results:
No errors

Additional info:

Comment 2 Pere Fernàndez 2015-10-28 12:33:40 UTC
I tried to reproduce it without luck using in EAP, tomcat & hosted mode (master & 6.3.x). Is there any other error message in the log? Maybe it is caused by another error.

Comment 3 Pavel Kralik 2015-10-29 09:43:17 UTC
I get the error on EWS2/3 too. Attaching catalina.out. Maybe it helps.

Comment 4 Pavel Kralik 2015-10-29 09:45:15 UTC
Created attachment 1087435 [details]
Form Modeler error caused by BigApp - catalina.out

Comment 5 Pavel Kralik 2015-11-04 16:56:51 UTC
The bug reproduced in BPMS 6.2.0.ER5 with EAP. Attaching server log.

Comment 6 Pavel Kralik 2015-11-04 16:57:29 UTC
Created attachment 1089770 [details]
BPMS 6.2.0.ER5 on EAP 6.4.4 server.log

Comment 7 Pere Fernàndez 2015-11-13 16:54:08 UTC
This is a rendering error caused by a Timeout error on the test.

This timeout makes the test fail and it forces to refresh the app while a form is being rendered causing this NPE.