fix for undescriptive NullPointerException when jbpm4jsf-config.xml is missing
------------------------------------------------------------------------------
Key: JBPM-1236
URL:
http://jira.jboss.com/jira/browse/JBPM-1236
Project: JBoss jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Web Interface
Reporter: Gergely Nagy
An undescriptive error page is shown when jbpm4jsf-config.xml is missing: simple error 500
page with no indication to the cause of the error. I could only track this down by
debugging jbpm4jsf, and it took me a while to figure this out.
The attached patch includes a check for null, and a descriptive error message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira