avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Jewett ...@syntheticplayground.com>
Subject [Fortress] NullPointer on invalid role shorthand.
Date Wed, 11 Sep 2002 04:34:28 GMT
Figured any NullPointerException is a bug. Now why I'm causing it is a
whole different story... :)

DEBUG   2002-09-10 21:31:52.312 [axrs.system.roles             ] ():
setup role: name='http-handler', role='axrs.handlers.HTTPHandler',
class='axrs.handlers.HTTPHandler',
handler='org.apache.excalibur.fortress.handler.PerThreadComponentHandler'

<snip/>

DEBUG   2002-09-10 21:31:52.755 [axrs.system.roles.defaults    ] ():
looking up class with shorthand 'http-handler' but a class was not
found.
DEBUG   2002-09-10 21:31:52.763 [axrs.system.roles             ] ():
looking up class with shorthand 'http-handler' but a class was not
found.
Exception in thread "main"
org.apache.excalibur.fortress.InitializationException: Cannot set up
container. Startup lifecycle failure
	at
org.apache.excalibur.fortress.DefaultContainerManager.initializeContainer(DefaultContainerManager.java:256)
	at
org.apache.excalibur.fortress.DefaultContainerManager.initialize(DefaultContainerManager.java:172)
	at axrs.Bootstrap.main(Bootstrap.java:42)
Caused by: java.lang.NullPointerException
	at
org.apache.excalibur.fortress.util.AbstractRoleManager.getHandlerClassForClass(AbstractRoleManager.java:271)
	at
org.apache.excalibur.fortress.util.AbstractRoleManager.getHandlerClassForClass(AbstractRoleManager.java:264)
	at
org.apache.excalibur.fortress.container.DefaultContainer.rewriteConfiguration(DefaultContainer.java:151)
	at
org.apache.excalibur.fortress.container.DefaultContainer.configure(DefaultContainer.java:122)
	at
org.apache.excalibur.fortress.DefaultContainerManager.initializeContainer(DefaultContainerManager.java:229)
	... 2 more

<end/>

Corey


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message