Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F13271016B for ; Fri, 13 Dec 2013 11:54:32 +0000 (UTC) Received: (qmail 41746 invoked by uid 500); 13 Dec 2013 11:54:30 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 41656 invoked by uid 500); 13 Dec 2013 11:54:30 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 41647 invoked by uid 99); 13 Dec 2013 11:54:29 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 11:54:29 +0000 Received: from localhost (HELO mail-ob0-f169.google.com) (127.0.0.1) (smtp-auth username remm, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 11:54:29 +0000 Received: by mail-ob0-f169.google.com with SMTP id wm4so1850836obc.0 for ; Fri, 13 Dec 2013 03:54:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xu6mZ0i8/dlrSitA5f2PR5Mg810YoOK99w75l7Kakd0=; b=EsZAkaKvErAyjiWaxro4c7jhUQP5OZ1sRyzn6EF6nNyIDCx8YvxSW70AWGLaaZoETi MQPFrFbFUSrfXab2X1YGhTmolO/zU0rf+TgpMZZw9LKjhzn5FkUfi5ybEeyUDbnTl+ru QNeDWhG/XXP4x9PInZ4DOeMONpxsEqZSpo7HCfUlDIeI1qif372AUrJ8BUibERAQXNRs oqZhuw6iVunLka7+0c0a+vknS0ODxl1G8SDTQqOiocSJtvoeGr9mU5xE9Fl7rafri0U3 SnjjmfCg+vxH6PQHT52KNshH8tGIDdHhfNdedzweOaxDmsp55eLv+5brlBF1OlQZxlQJ XUNA== MIME-Version: 1.0 X-Received: by 10.60.143.98 with SMTP id sd2mr1345651oeb.63.1386935668746; Fri, 13 Dec 2013 03:54:28 -0800 (PST) Received: by 10.76.26.106 with HTTP; Fri, 13 Dec 2013 03:54:28 -0800 (PST) In-Reply-To: References: <52A8F42B.4020201@apache.org> Date: Fri, 13 Dec 2013 12:54:28 +0100 Message-ID: Subject: Re: [VOTE] Release Apache Tomcat 8.0.0-RC7 From: =?ISO-8859-1?Q?R=E9my_Maucherat?= To: Tomcat Developers List Content-Type: multipart/alternative; boundary=047d7b4725a8dcafe204ed691f3b --047d7b4725a8dcafe204ed691f3b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2013/12/13 Violeta Georgieva > I'm receiving NPE when testing an application with jsp that specifies tld > location with relative path: > > java.lang.NullPointerException > org.apache.jasper.compiler.TldCache.getTaglibXml(TldCache.java:97= ) > > org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.j= ava:150) > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:411) > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:469) > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1455) > org.apache.jasper.compiler.Parser.parse(Parser.java:139) > > org.apache.jasper.compiler.ParserController.doParse(ParserController.java= :229) > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:1= 00) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:20= 0) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:375) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:355) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:342) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.jav= a:557) > > There used to be some normalization code for the taglib uri, like uri =3D RequestUtil.normalize(uri); in TagLibraryInfoImpl.generateTLDLocation (now generateTldResourcePath), and since the uri is used to match the catch entry, I don't see how it can work without it. I'll add it back. R=E9my --047d7b4725a8dcafe204ed691f3b--