cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo L <tleso...@cc.hut.fi>
Subject RE: getxml in XSP throws NPE if @path is invalid
Date Mon, 13 Oct 2003 10:44:16 GMT
Hi,

I finally had the chance to try this, but now I get:

java.lang.ClassCastException

-Tuomo

On Fri, 10 Oct 2003, Carsten Ziegeler wrote:

> Hi,
>
> you have to update the session jar.
>
> Carsten
>
> > -----Original Message-----
> > From: Tuomo L [mailto:tlesonen@cc.hut.fi]
> > Sent: Friday, October 10, 2003 4:46 PM
> > To: dev@cocoon.apache.org
> > Subject: RE: getxml in XSP throws NPE if @path is invalid
> >
> >
> > Thanks Carsten, I'll try it out...
> >
> > How can I update my Cocoon installation (2.1.2), with this patch?
> > Which jar do I need to update and how? (Haven't done this before) :|
> >
> > BTW, The build seems to be broken right now...
> >
> > -Tuomo
> >
> > On Thu, 9 Oct 2003, Carsten Ziegeler wrote:
> >
> > > 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