FreeMarker template error: Java method "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception when invoked on org.ofbiz.widget.renderer.ScreenRenderer object "org.ofbiz.widget.renderer.ScreenRenderer@5fc23f92"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: ${screens.render("component://aapab2c... [in template "default:DataResource:AP_KYWRD_SEARCH" at line 4, column 3] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:261) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:65) at freemarker.core.MethodCall._eval(MethodCall.java:65) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.process(Environment.java:309) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223) at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717) at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364) at org.ofbiz.content.content.ContentWorker.renderContentAsTextExt(ContentWorker.java:116) at org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderContentBody(MacroScreenRenderer.java:398) at org.ofbiz.widget.model.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1414) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) at com.hotwaxmedia.buynow.buynow.BuynowMacroScreenViewHandler.render(BuynowMacroScreenViewHandler.java:80) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:996) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:682) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210) at javax.servlet.http.HttpServlet.service(HttpServlet.java:529) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294) at com.hotwaxmedia.aapab2c.PartsNowCatalogFilter.doFilter(PartsNowCatalogFilter.java:417) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at com.hotwax.auth0.Auth0Filter.doFilter(Auth0Filter.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at com.hotwaxmedia.buynow.buynow.multisite.WebSiteFilter.doFilter(WebSiteFilter.java:210) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:349) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:750) Caused by: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://aapab2c/widget/buynow/CatalogScreens.xml#EpicorKeywordSearch]: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException (Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1505) at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:56) at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:51) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:61) ... 67 more Caused by: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException at org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348) at org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324) at org.ofbiz.widget.model.AbstractModelAction$Script.runAction(AbstractModelAction.java:632) at org.ofbiz.widget.model.AbstractModelAction.runSubActions(AbstractModelAction.java:141) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:273) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) ... 76 more Caused by: java.lang.NullPointerException FreeMarker template error: Java method "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception when invoked on org.ofbiz.widget.renderer.ScreenRenderer object "org.ofbiz.widget.renderer.ScreenRenderer@7310f1ae"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: ${screens.render("component://aapab2c... [in template "default:DataResource:AP_KYWRD_SEARCH" at line 4, column 3] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:261) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:65) at freemarker.core.MethodCall._eval(MethodCall.java:65) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.process(Environment.java:309) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223) at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717) at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394) at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364) at org.ofbiz.content.content.ContentWorker.renderContentAsTextExt(ContentWorker.java:116) at org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderContentBody(MacroScreenRenderer.java:398) at org.ofbiz.widget.model.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1414) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) at com.hotwaxmedia.buynow.buynow.BuynowMacroScreenViewHandler.render(BuynowMacroScreenViewHandler.java:80) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:996) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:682) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210) at javax.servlet.http.HttpServlet.service(HttpServlet.java:529) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:537) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:529) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294) at com.hotwaxmedia.aapab2c.PartsNowCatalogFilter.doFilter(PartsNowCatalogFilter.java:417) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at com.hotwax.auth0.Auth0Filter.doFilter(Auth0Filter.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at com.hotwaxmedia.buynow.buynow.multisite.WebSiteFilter.doFilter(WebSiteFilter.java:210) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:349) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:750) Caused by: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://aapab2c/widget/buynow/CatalogScreens.xml#EpicorKeywordSearch]: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException (Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1505) at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:56) at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:51) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:61) ... 75 more Caused by: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException at org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348) at org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324) at org.ofbiz.widget.model.AbstractModelAction$Script.runAction(AbstractModelAction.java:632) at org.ofbiz.widget.model.AbstractModelAction.runSubActions(AbstractModelAction.java:141) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:273) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) ... 84 more Caused by: java.lang.NullPointerException
ERROR in error page, (infinite loop or error page not found with name [/error/error.html]), but here is the text just in case it helps you: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://aapab2c/widget/buynow/CatalogScreens.xml#KeywordSearch]: org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, could not commit transaction, was rolled back instead because of: Error rendering screen [component://aapab2c/widget/buynow/CatalogScreens.xml#EpicorKeywordSearch]: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerExceptionjava.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException (Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException) (Roll back error, could not commit transaction, was rolled back instead because of: Error rendering screen [component://aapab2c/widget/buynow/CatalogScreens.xml#EpicorKeywordSearch]: java.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerExceptionjava.lang.IllegalArgumentException: Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException (Error running script at location [component://aapab2c/webapp/aapab2c/WEB-INF/actions/catalog/EpicorKeywordSearch.groovy]: java.lang.NullPointerException))