All,
I am following the example of Merlin embedded in a
main method in combination with
AbstractMerlinTestCase.
I have a container called tahiti and a component
called simple that I have mentioned in block.xml.
I have a resolve method just like the one in
AbstractMerlinTestCase which takes the path of the
component. The path that I have given is
"/tahiti/simple". For some reason Merlin is
complaining that "Can't find 'tahiti' in model
repository: {}"
Could any one help me to find out what could be an
issue.
Thanks and regards,
Subbu
[DEBUG ] (): Can't find 'tahiti' in model repository:
{}
java.lang.Exception: ---- runtime exception report
--------------------------------------------------
Exception: java.lang.IllegalArgumentException
Message: Unable to locate a container with name
[tahiti] within the container [[/]].
---- stack trace
---------------------------------------------------------------
java.lang.IllegalArgumentException: Unable to locate a
container with name [tahiti] within the container
[[/]].
org.apache.avalon.composition.model.impl.DefaultContainmentModelNavigationHelper.getModel(DefaultContainmentModelNavigationHelper.java:194)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.getModel(DefaultContainmentModel.java:741)
org.apache.avalon.composition.model.impl.DefaultContainmentModelNavigationHelper.getModel(DefaultContainmentModelNavigationHelper.java:93)
org.apache.avalon.composition.model.impl.DefaultContainmentModel.getModel(DefaultContainmentModel.java:741)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
com.slb.sis.tahiti.Framework.resolve(Framework.java:2683)
merlin.component.Test.main(Test.java:29)
--------------------------------------------------------------------------------
at
com.slb.sis.tahiti.Framework.resolve(Framework.java:2690)
at merlin.component.Test.main(Test.java:29)
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]