Issue Details (XML | Word | Printable)

Key: RIO-221
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dennis Reedy
Reporter: Dennis Reedy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

Test framework should warn if missing service starter configuration

Created: 17/Feb/10 05:00 PM   Updated: 18/Feb/10 06:14 PM
Component/s: Test
Affects Version/s: None
Fix Version/s: 4.0

Time Tracking:
Not Specified


 Description  « Hide
If the default-manager-config.groovy file is used and reggie is attemtped to be started the following exception occurs:

groovy.lang.MissingMethodException: No signature of method: static
org.rioproject.resources.util.PropertyHelper.expandProperties() is
applicable for argument types: (groovy.util.ConfigObject) values: [[:]]
at
groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1351)
at
groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1337)
at
org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.rioproject.test.TestManager.startReggie(TestManager.groovy:222)

A warning should be issued instead of this un-intelliigable stacktrace

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Reedy added a comment - 18/Feb/10 06:14 PM
A check to ensure that the configuration returns a starter config for a requested service has been made. If the test-config does not contain the service starter config, an ERROR is printed out to the console indicating as much