Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 92076 invoked from network); 13 Oct 2003 10:53:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Oct 2003 10:53:14 -0000 Received: (qmail 2775 invoked by uid 500); 13 Oct 2003 10:53:09 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 2744 invoked by uid 500); 13 Oct 2003 10:53:08 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 2730 invoked from network); 13 Oct 2003 10:53:08 -0000 Received: from unknown (HELO mail.s-und-n.de) (212.8.217.2) by daedalus.apache.org with SMTP; 13 Oct 2003 10:53:08 -0000 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 411DFD004B for ; Mon, 13 Oct 2003 12:53:07 +0200 (CEST) Received: from hw0386 ([10.10.2.46]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003101312530515:30296 ; Mon, 13 Oct 2003 12:53:05 +0200 From: "Carsten Ziegeler" To: Subject: RE: getxml in XSP throws NPE if @path is invalid Date: Mon, 13 Oct 2003 12:55:46 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 13.10.2003 12:53:05, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 13.10.2003 12:53:07, Serialize complete at 13.10.2003 12:53:07 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, can you please give the full stacktrace? Carsten > -----Original Message----- > From: Tuomo L [mailto:tlesonen@cc.hut.fi] > Sent: Monday, October 13, 2003 12:44 PM > To: dev@cocoon.apache.org > Subject: RE: getxml in XSP throws NPE if @path is invalid > > > 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 = > > > > path="/authentication/data/bar"/>; > > > > > > > > > > This does not: > > > > > > > > > > String foo = > > > > 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 > > > > > > > > > > > > > > >