Hi,

so this error is not related to the parameterselector but to your
(custom) action, right?

Without the complete code for your action, I can only guess.
If you get a NPE in the line you show below, either getLogger()
returns null or something in your expression passed into the
error() method is null.
But this should have nothing to do with the selector.

Carsten

> -----Original Message-----
> From: Michael Gerzabek [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 10:20 PM
> To: Cocoon-Dev@Xml. Apache. Org
> Subject: ParameterSelector
> 
> 
> hi,
> 
> i get some strange behaviour when using the parameterselector. 
> when the corresponding action that sets the desired parameter 
> to the selector tries to log something i get a NPE from the logger.
> 
> 
> Map act (...) {
>   ...
>       try {
>               ...
>       }
>       catch (Exception x) {
>               getLogger().error(...);
> >>>>>>>>>>NPE
>   ...
> 
> when i use the same action and the selector without logging anything
> then everything is fine.
> 
> any ideas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to