You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Royal <pr...@managingpartners.com> on 2002/04/18 05:34:32 UTC
[patch][fortress] NPE in ComponentFactory constructor + ContextManager fix
I changed the initialization of m_newInstance and m_dispose to be in the
constructor.
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
at
org.apache.excalibur.fortress.handler.ComponentFactory.getInstrumentableName(ComponentFactory.java:212)
at
org.apache.excalibur.fortress.handler.ComponentFactory.<init>(ComponentFactory.java:93)
at
org.apache.excalibur.fortress.handler.ThreadSafeComponentHandler.<init>(ThreadSafeComponentHandler.java:54)
I also fixed ContextManager to build a RoleManager from config or URI. Please
double-check that.
-pete
--
peter royal -> proyal@managingpartners.com