Gang,
There is a bug in the error handling during the startup. I can fix the bug,
but I need some background info.

Description of problem;
In Main.java, line 626 the activatorManager is null, IF the
installAndStartBundles() on line 309 is throwing an exception. This results
in a NPE, not the real cause.

Now, the activatorManager is set on line 316, but what is this guy supposed
to do? The installAndStartBundle obviously doesn't need it, so it can't be
to handle BundleActivators?

On one hand, we could just  "if( activatorManager!=null ){}" around line
626, or we could initialize activatorManager field earlier and perhaps use
it for the boot bundles as well.


Cheers
-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org <http://zest.apache.org> - New Energy for Java

Reply via email to