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:[EMAIL PROTECTED] > > Sent: Wednesday, October 08, 2003 10:26 PM > > To: [EMAIL PROTECTED] > > 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 > > >