cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: getxml in XSP throws NPE if @path is invalid
Date Thu, 09 Oct 2003 07:21:43 GMT
Hi,

I just checked in a patch that should fix this problem.
Could you please test it?

Thanks
Carsten

> -----Original Message-----
> From: Tuomo L [mailto:tlesonen@cc.hut.fi]
> Sent: Wednesday, October 08, 2003 10:26 PM
> To: dev@cocoon.apache.org
> Subject: getxml in XSP throws NPE if @path is invalid
>
>
> Hi,
>
> This gives me a nasty NPE in XSP:
>
> String foo = <xsp-session-fw:getxml context="authentication"
> path="/authentication/data/bar"/>;
>
> This does not:
>
> String foo = <xsp-session-fw:getxml context="authentication"
> path="/authentication/ID"/>;
>
> Shouldn't it return null, if the given path is not available? It seems
> that there's a bug. Could someone please fix this? I didn't find the cause
> to this by looking at the code.
>
> Using Cocoon-2.1.2.
>
> Thanks,
> Tuomo
>


Mime
View raw message