<div dir="ltr">Hi guys,<div><br></div><div>I created a custom TLD for a custom EL Function. I added it to my module and set the export point.</div><div><br></div><div>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.</div><div><br></div><div>Precisely:-</div><div><br></div><div><div>07 Apr 2017 18:13:25,976 ERROR [  org.opencms.main.OpenCmsCore:2185] null rendering URL <a href="http://localhost:8080/opencms/opencms/apollo-demo/poc/index.html">http://localhost:8080/opencms/opencms/apollo-demo/poc/index.html</a></div><div>java.lang.NullPointerException</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>at org.apache.tomcat.util.descriptor.tld.TldResourcePath.hashCode(TldResourcePath.java:164)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at java.util.HashMap.hash(HashMap.java:338)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at java.util.HashMap.get(HashMap.java:556)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at org.apache.jasper.compiler.TldCache.getTaglibXml(TldCache.java:95)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:178)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:421)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:479)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1435)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at org.apache.jasper.compiler.Parser.parse(Parser.java:139)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:191)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:165)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:666)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:441)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:988)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:538)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>at org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:115)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1194)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1797)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:161)</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)<br><br>Anyone have any idea why?<br><br>Regards,</div></div><div>Clement Wee</div></div>