2013/12/13 Violeta Georgieva <[email protected]> > 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
