On Thu, Jul 10, 2008 at 4:45 PM, Sonny Gill <[EMAIL PROTECTED]> wrote:
> But now, this is causing a NPE. The stack trace is -
> Exception in thread "main" java.lang.NullPointerException
>        at 
> org.qi4j.runtime.structure.ModuleInstance.findCompositeFor(ModuleInstance.java:199)
>        at 
> org.qi4j.runtime.Qi4jRuntime.getCompositeDescriptor(Qi4jRuntime.java:115)
>        at org.TestCase.<init>(TestCase.java:56)
>        at org.TestCase.main(TestCase.java:65)

> Is this a bug?

All NPEs that are not a result of client passing in a <null> must be
considered a bug no matter what.

The findCompositeFor() should IMHO always work, no matter the kind of
Composite it is.

Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to