Exception while rendering component "XPath Country Teaser List Widget"
FreeMarker template error:
Expression has thrown an unchecked exception; see the cause exception.
The blamed expression:
==> cs.@result [in template "Teaser List Widget Skin" at line 17, column 36]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign groups = getResultGrouped(cs... [in template "Teaser List Widget Skin" at line 17, column 1]
----
Java stack trace (for programmers):
----
freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
at freemarker.core.Expression.eval(Expression.java:106)
at freemarker.core.Environment.setMacroContextLocalsFromArguments(Environment.java:1062)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:871)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.Environment.invokeFunction(Environment.java:841)
at freemarker.core.MethodCall._eval(MethodCall.java:65)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Assignment.accept(Assignment.java:134)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine.render(FreeMarkerSkinEngine.java:950)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.renderSkin(RenderContextImpl.java:316)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl$RenderSubContextImpl.renderSkin(RenderContextImpl.java:93)
at com.censhare.oc.system.component.rendering.SkinnableComponent.render(SkinnableComponent.java:57)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.render(RenderContextImpl.java:237)
at com.censhare.oc.system.component.rendering.freemarker.ComponentWrapper$ComponentRenderMethodModel.exec(ComponentWrapper.java:1791)
at freemarker.core.MethodCall._eval(MethodCall.java:62)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:389)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:657)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:389)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.include(Environment.java:2955)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine.render(FreeMarkerSkinEngine.java:950)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.renderSkin(RenderContextImpl.java:316)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl$RenderSubContextImpl.renderSkin(RenderContextImpl.java:93)
at com.censhare.oc.system.component.rendering.SkinnableComponent.render(SkinnableComponent.java:57)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.render(RenderContextImpl.java:237)
at com.censhare.oc.system.component.rendering.freemarker.ComponentWrapper$ComponentRenderMethodModel.exec(ComponentWrapper.java:1791)
at freemarker.core.MethodCall._eval(MethodCall.java:62)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:389)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.include(Environment.java:2955)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine.render(FreeMarkerSkinEngine.java:950)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.renderSkin(RenderContextImpl.java:316)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl$RenderSubContextImpl.renderSkin(RenderContextImpl.java:93)
at com.censhare.oc.system.component.rendering.SkinnableComponent.render(SkinnableComponent.java:57)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.render(RenderContextImpl.java:237)
at com.censhare.oc.system.component.rendering.freemarker.ComponentWrapper$ComponentRenderMethodModel.exec(ComponentWrapper.java:1791)
at freemarker.core.MethodCall._eval(MethodCall.java:62)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:389)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.include(Environment.java:2955)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889)
at freemarker.core.Environment.invokeMacro(Environment.java:825)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
at freemarker.core.Environment.visit(Environment.java:383)
at freemarker.core.Environment.visitAndTransform(Environment.java:514)
at freemarker.core.CompressedBlock.accept(CompressedBlock.java:42)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine.render(FreeMarkerSkinEngine.java:950)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.renderSkin(RenderContextImpl.java:316)
at com.censhare.oc.system.component.rendering.SkinnableComponent.render(SkinnableComponent.java:57)
at com.censhare.oc.system.component.rendering.impl.RenderContextImpl.render(RenderContextImpl.java:237)
at com.censhare.oc.system.component.impl.ComponentRequestDelegate.handleRequest(ComponentRequestDelegate.java:662)
at com.censhare.oc.system.component.impl.ComponentRequestDelegate.handleRequest(ComponentRequestDelegate.java:90)
at com.censhare.oc.system.site.impl.OCSiteImpl.handleRequestInternal(OCSiteImpl.java:750)
at com.censhare.oc.system.site.impl.OCSiteImpl.handleRequest(OCSiteImpl.java:650)
at com.censhare.oc.system.service.impl.OCServiceImpl$OCServlet.doGet(OCServiceImpl.java:1413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at com.censhare.oc.webserver.impl.configuration.VirtualHost$2.handle(VirtualHost.java:254)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.censhare.oc.webserver.impl.statistics.Statistics.handle(Statistics.java:31)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at com.censhare.oc.webserver.impl.configuration.VirtualHost.handle(VirtualHost.java:332)
at com.censhare.oc.webserver.impl.configuration.ConfigVHostCollection.handle(ConfigVHostCollection.java:61)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.censhare.oc.webserver.impl.WebServerImpl$MDCHandler.handle(WebServerImpl.java:308)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: Failed to execute read callback; component: XPath Country List Provider, parameter: result
at com.censhare.oc.system.component.ComponentParameter.getValue(ComponentParameter.java:580)
at com.censhare.oc.system.component.ComponentParameter.getValue(ComponentParameter.java:570)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine$CenshareNamespace.getParameterValueModel(FreeMarkerSkinEngine.java:570)
at com.censhare.oc.system.component.rendering.freemarker.FreeMarkerSkinEngine$CenshareNamespace.get(FreeMarkerSkinEngine.java:561)
at freemarker.core.Dot._eval(Dot.java:43)
at freemarker.core.Expression.eval(Expression.java:101)
... 162 more
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor3603.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.censhare.oc.system.component.ComponentParameter.getValue(ComponentParameter.java:577)
... 167 more
Caused by: java.lang.NullPointerException
Back to top