tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <r...@apache.org>
Subject Re: [VOTE] Release Apache Tomcat 8.0.0-RC7
Date Fri, 13 Dec 2013 11:54:28 GMT
2013/12/13 Violeta Georgieva <milesg78@gmail.com>

> 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.<init>(TagLibraryInfoImpl.java: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:100)
>         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:200)
>         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.java:557)
>
> There used to be some normalization code for the taglib uri, like uri =
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émy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message