Shop page errors


#1

I am a complete novice at most of this so most likely this is user error…

When I ‘SCIPIO Commerce’, it loads a page with a side bar and the rest is an error.

Not sure how to get the version but I downloaded it middle of last week and updated on 11/16 in response to a different post.

image

FreeMarker template error: Java method "static org.ofbiz.widget.model.MenuFactory.getMenuFromLocation(String, String)" threw an exception; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign appModelMenu = Static["org.of... [in template "component://metro-theme/includes/header.ftl" at line 168, column 5] - Reached through: @virtualSection name="Global-Header-M... [in template "component://metro-theme/includes/header.ftl" at line 158, column 1] ---- 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:252) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:77) at freemarker.core.MethodCall._eval(MethodCall.java:65) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.Assignment.accept(Assignment.java:134) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:372) at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:2900) at org.ofbiz.widget.renderer.ftl.VirtualSectionDirective.executeTyped(VirtualSectionDirective.java:69) at org.ofbiz.widget.renderer.ftl.VirtualSectionDirective.execute(VirtualSectionDirective.java:36) at freemarker.core.Environment.visit(Environment.java:445) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:101) 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:377) at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:140) at org.ofbiz.widget.model.HtmlWidget$FileHtmlTemplate.renderWidgetStringCore(HtmlWidget.java:259) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.HtmlWidget.renderWidgetStringCore(HtmlWidget.java:115) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetStringCore(ModelScreenWidget.java:1960) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreen.renderScreenStringCore(ModelScreen.java:220) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:265) at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:316) at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetStringCore(ModelScreenWidget.java:1344) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreen.renderScreenStringCore(ModelScreen.java:220) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:265) at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:316) at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetStringCore(ModelScreenWidget.java:1344) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreen.renderScreenStringCore(ModelScreen.java:220) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:265) at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:316) at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetStringCore(ModelScreenWidget.java:1344) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreen.renderScreenStringCore(ModelScreen.java:220) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:265) at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:316) at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetStringCore(ModelScreenWidget.java:1344) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:158) at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetStringCore(ModelScreenWidget.java:587) at org.ofbiz.widget.model.ModelScreenWidget.renderWidgetString(ModelScreenWidget.java:125) at org.ofbiz.widget.model.ModelScreen.renderScreenStringCore(ModelScreen.java:220) at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:265) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:289) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:231) at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:168) at org.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:168) at com.ilscipio.scipio.cms.control.CmsScreenViewHandler.renderScreen(CmsScreenViewHandler.java:345) at com.ilscipio.scipio.cms.control.CmsScreenViewHandler.render(CmsScreenViewHandler.java:328) at com.ilscipio.scipio.cms.control.CmsScreenViewHandler.render(CmsScreenViewHandler.java:422) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1322) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:816) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:230) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.ilscipio.scipio.cms.control.CmsProcessFilter.doFilter(CmsProcessFilter.java:286) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:150) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.ilscipio.scipio.product.seo.SeoCatalogUrlFilter.doFilter(SeoCatalogUrlFilter.java:154) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:844) Caused by: java.lang.IllegalArgumentException: Could not find menu file in location [null] at org.ofbiz.widget.model.MenuFactory.getMenuFromLocationOrNull(MenuFactory.java:135) at org.ofbiz.widget.model.MenuFactory.getMenuFromLocation(MenuFactory.java:110) at jdk.internal.reflect.GeneratedMethodAccessor176.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1505) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:72) ... 116 more


#2

That crash is part of the theme render. Usually theme only crash if not all the data is loaded. Although I’m not sure about that one. Your errors seems to suggest the shop theme is not loaded or assigned properly.

That said we’d need to know which link you downloaded it from (so which version): the installer package, git master, or git 1.14 branch?

If you’re demoing only, you can start over by doing:
./ant stop clean-all load-demo start
in the root folder (omit the ./ if on Windows)


#3

@pplx: I think he used setup on a blank installation.

@coreyjohnson75: Pascals suggestion is correct, but would remove your data, so don’t run that command if you are using a blank installation.


#4

Could you send us (via email) your entire log file? I have the suspicion that the error that is shown is misleading and your issue is an underlying incomplete data set.


#5

Log file sent…

@pplx I did install a blank/clean from git master. I had already demo’d and like it.


#6

We updated the setup component and implemented a page that displays a warning when the productstore isn’t correctly setup.