[JBoss JIRA] (JBESB-3721) NullPointerException deploying a scheduled-listener with invalid scheduleidref attribute
by Martin Weiler (Created) (JIRA)
NullPointerException deploying a scheduled-listener with invalid scheduleidref attribute
----------------------------------------------------------------------------------------
Key: JBESB-3721
URL: https://issues.jboss.org/browse/JBESB-3721
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment
Affects Versions: 4.10
Reporter: Martin Weiler
Deploying a service with a schedule-listener using an incorrect value for the scheduleidref attribute results in a NullPointerException:
{noformat}
ERROR [AbstractKernelController] Error installing to Start: name=jboss.esb.vfszip:/data/jboss/work/jboss-soa-p-5.2.0.GA/jboss-as/server/test/deploy/Quickstart_scheduled_services.esb/ state=Create
java.lang.RuntimeException: java.lang.NullPointerException
at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:185)
...
Caused by: java.lang.NullPointerException
at org.jboss.soa.esb.listeners.config.mappers.ScheduleMapper.map(ScheduleMapper.java:61)
at org.jboss.soa.esb.listeners.config.mappers.ESBAwareGenerator.addESBAwareConfig(ESBAwareGenerator.java:216)
at org.jboss.soa.esb.listeners.config.mappers.ESBAwareGenerator.generate(ESBAwareGenerator.java:102)
at org.jboss.soa.esb.listeners.config.mappers.XMLBeansModel.generateESBAwareConfig(XMLBeansModel.java:441)
{noformat}
The existence of the referenced schedule-provider should be verified, and if it does not exist, a meaningful exception should be thrown instead of the NullPointerException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira