cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, Andrew J" <Andrew.Le...@jbosc.ksc.nasa.gov>
Subject RE: UnnamedSelector: ComponentSelector could not find the component on custom Action
Date Wed, 13 Feb 2002 17:42:06 GMT
ok...I was right - it was something stupid.

I was inheriting from ConfigurableComposerAction but then masking the
ComponenetManager variable in my class, and not providing an implementation
of compose() to correspond. Looking up componenets off of a null
ComponenetManager doesn't appear to work very well.

That said, Things like NullPointer exceptions thrown during configure() ever
make it to the stack trace in the result, which made finding this a bit
harder, and even made it look a bit like my Action was not even being found.

> ----------
> From: 	Lewis, Andrew  J
> Sent: 	Wednesday, February 13, 2002 11:31 AM
> To: 	'cocoon-users@xml.apache.org'
> Subject: 	RE: UnnamedSelector: ComponentSelector could not find the
> component on custom Action
> 
> I sent this to the wrong list earlier...sorry...
> 
> 	----------
> 	From: 	Lewis, Andrew  J
> 	Sent: 	Wednesday, February 13, 2002 10:22 AM
> 	To: 	'cocoon-dev@xml.apache.org'
> 	Subject: 	UnnamedSelector: ComponentSelector could not find
> the component on custom Action
> 
> 
> 	I'm using Cocon 2.0.1 release, and developing a custom action. I
> have functionality of the Action embedded in a Generator, and working, but
> I need to extract it. I am currently passing it two parameters in the
> sitemap, just as I was with the Generator, but with the Action I am
> getting the following exception when attempting to retrieve the parameters
> within configure().
> 
> 	Probably a stupid mistake on my part, but not having any luck with
> it....
> 
> 	org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector: ComponentSelector could not find the component for hint:
> manipulator 
> 
> 	Any help would be appreciated...Thanks!
> 
> 
> 
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message