]
Mark Little resolved JBESB-835.
-------------------------------
Resolution: Done
Done. Will check in after the code freeze.
Replace all relevant "null default" calls to
ListenerUtil.obtainAtt with calls to ConfigTree.getRequiredAttribute
-----------------------------------------------------------------------------------------------------------------
Key: JBESB-835
URL:
http://jira.jboss.com/jira/browse/JBESB-835
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.2 Milestone Release 3
Reporter: Tom Fennelly
Assigned To: Mark Little
Fix For: 4.2.1
The intention of "ListenerUtil.obtainAtt(ConfigTree config, String name, String
default);" where the default was null is somewhat suspect - a null default means that
the attribute was a required attribute and so an exception should be thrown if it
wasn't available on the config.
Replace these calls with calls to ConfigTree.getRequiredAttribute().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: