FreeMarker template error!


java.lang.NullPointerException: null
The problematic instruction:
----------
==> if-else  [on line 1, column 253 in serviceDefinition->/opt/tomcat-server1/webapps/webconcepteur/WEB-INF/classes/services->cie000022830000/rimouski_garagesale/adDetailWithMap.tpt]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: java.lang.NullPointerException: null
	at com.tsa.websitesdkng.template.freemarker.LazyLoadModelObjectWrapperDecorator.wrap(LazyLoadModelObjectWrapperDecorator.java:30)
	at freemarker.template.WrappingTemplateModel.wrap(WrappingTemplateModel.java:134)
	at freemarker.template.SimpleHash.get(SimpleHash.java:224)
	at freemarker.ext.servlet.AllHttpScopesHashModel.get(AllHttpScopesHashModel.java:116)
	at freemarker.core.Environment.getGlobalVariable(Environment.java:1062)
	at freemarker.core.Environment.getVariable(Environment.java:1048)
	at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.ExistsExpression._getAsTemplateModel(ExistsExpression.java:71)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.isTrue(Expression.java:138)
	at freemarker.core.IfBlock.accept(IfBlock.java:80)
	at freemarker.core.Environment.visit(Environment.java:209)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:209)
	at freemarker.core.Environment.process(Environment.java:189)
	at freemarker.template.Template.process(Template.java:237)
	at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:458)
	at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:397)
	at com.tsa.websitesdkng.template.ServiceTemplatesServlet.doGet(ServiceTemplatesServlet.java:929)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:536)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jsp.styles.villerimouski.nostyle.servicepublic_jsp._jspService(servicepublic_jsp.java:444)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:477)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
	at com.tsa.portalsdk.actions.PortalRequestProcessor.doForward(PortalRequestProcessor.java:432)
	at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	at com.tsa.portalsdk.actions.PortalRequestProcessor.process(PortalRequestProcessor.java:501)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	at com.tsa.websitesdkng.display.actions.WebController.doGet(WebController.java:129)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.logdigger.servlet.filter.LogDiggerServletFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.tsa.websitesdkng.filter.Preview.doFilter(Preview.java:71)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.versalys.utils.jamon.filter.MonitorFilter.doFilter(MonitorFilter.java:206)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.tsa.websitesdkng.cache.filter.AddHttpCacheHeaderFilter.doFilter(AddHttpCacheHeaderFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.tsa.websitesdkng.filter.SaveThreadLocalRequestElementsFilter.doFilter(SaveThreadLocalRequestElementsFilter.java:37)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.tsa.websitesdkng.filter.AssignSessionCookieWhenMissingFilter.doFilter(AssignSessionCookieWhenMissingFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.tsa.websitesdkng.security.filter.IPFilter.doFilter(IPFilter.java:42)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
	at com.tsa.websitesdkng.util.WebUtil.getDocumentLink(WebUtil.java:650)
	at com.tsa.service.garagesale.LoadAdDetailWithMapLogic$2.load(LoadAdDetailWithMapLogic.java:65)
	at com.tsa.websitesdkng.template.freemarker.LazyLoadModelObjectWrapperDecorator.wrap(LazyLoadModelObjectWrapperDecorator.java:28)
	... 87 more
Erreur
Un problème est survenu avec votre session virtuelle. Pour vérifier que votre connexion fonctionne adéquatement, fermez, puis ouvrez à nouveau votre navigateur Web et accédez à un site Web. En cas de problème, consultez votre administrateur réseau pour rendre votre connexion de nouveau opérationnelle.


Détails