"Facility" gets the model via context and can create a "Dynamic". Dynamic needs a "Needed" but doesn't get one ;-(((
<snip>
Caused by: java.lang.IllegalStateException: Unknown resource. Bundle: 'org.apache.avalon.activation.impl.Resources' Key:
'service.error.null-provider' Args: 'test.Needed'
There i18n resource bundle is missing a value for the key 'service.error.null-provider' which is making this error a little more obtuse than it should be - I've just corrected this in the source with the following:
# # ServiceManager # --------------
service.error.null-provider = A valid request was received for a service using the key [{0}] but the supplied dependency model returned a null provider. This is an internal an internal system error reflecting an inconsistent assembly state.
I.e. you should not see this condition as it represents an invalid assembly. In you scenario the component model has successfully passed assembly - which is strange but also an indication of where the problem is. I'm going to put a test case together and see if I can simulate this.
Steve.
--
|---------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]