Hi,
The ImplementationCompositeLoader needs to be fixed to take a "scdlLocation"
attribute and set it to CompositeImplemention.
Thanks,
Raymond
----- Original Message -----
From: "Ignacio Silva-Lepe" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 23, 2006 12:42 PM
Subject: Re: Can't load implementation.composite
On closer inspection, it looks like it may be trying to load the inner
composite from a separate file. Since the implementation.composite element
uses name="InnerComposite", I tried putting the inner composite scdl in
InnerComposite.scdl in the same dir as default.scdl (META-INF/sca) but I
still get the NPE. Of course, this was just a guess. Any ideas?
----- Original Message -----
From: "Ignacio Silva-Lepe" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 23, 2006 3:30 PM
Subject: Re: Can't load implementation.composite
Actually, my mistake, I am now getting a NPE:
Running innercomposite.InnerCompositeTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.491 sec
<<< FA
ILURE!
test(innercomposite.InnerCompositeTestCase) Time elapsed: 0.471 sec <<<
ERROR!
java.lang.NullPointerException
at
org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
Impl.java:102)
at
org.apache.tuscany.core.implementation.composite.CompositeComponentTy
peLoader.loadFromSidefile(CompositeComponentTypeLoader.java:64)
at
org.apache.tuscany.core.implementation.composite.CompositeComponentTy
peLoader.load(CompositeComponentTypeLoader.java:56)
at
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]