[opencms-dev] Cannot detect custom TLD
Clement Wee
clement at elixirtech.com
Fri Apr 7 12:16:56 CEST 2017
Hi guys,
I created a custom TLD for a custom EL Function. I added it to my module
and set the export point.
However, when I tried loading that TLD with the custom function in my
template, OpenCMS 10.5.1 complains that it cannot find the TLD.
Precisely:-
07 Apr 2017 18:13:25,976 ERROR [ org.opencms.main.OpenCmsCore:2185] null
rendering URL
http://localhost:8080/opencms/opencms/apollo-demo/poc/index.html
java.lang.NullPointerException
at
org.apache.tomcat.util.descriptor.tld.TldResourcePath.hashCode(TldResourcePath.java:164)
at java.util.HashMap.hash(HashMap.java:338)
at java.util.HashMap.get(HashMap.java:556)
at org.apache.jasper.compiler.TldCache.getTaglibXml(TldCache.java:95)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:178)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:421)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:479)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1435)
at org.apache.jasper.compiler.Parser.parse(Parser.java:139)
at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:191)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:165)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:666)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:441)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:988)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:538)
at
org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:115)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1194)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1797)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:161)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
Anyone have any idea why?
Regards,
Clement Wee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170407/370eda36/attachment.htm>
More information about the opencms-dev
mailing list