cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo L <tleso...@cc.hut.fi>
Subject getxml in XSP throws NPE if @path is invalid
Date Wed, 08 Oct 2003 20:25:56 GMT
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