Problem in trunk: admin missing visual themes and others

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in trunk: admin missing visual themes and others

Toddnick
I just loaded a fresh checkout from trunk, and ran Ant, then startofbiz.sh

Navigated to localhost:8443/catalog/control/main

The page displays:

The Following Errors Occurred:

Visual Theme resources not found.

And view source reveals

Expression layoutSettings.companyName is undefined on line 32, column
14 in component://common/webcommon/includes/header.ftl.
The problematic instruction:
----------
==> ${layoutSettings.companyName} [on line 32, column 12 in
component://common/webcommon/includes/header.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression
layoutSettings.companyName is undefined on line 32, column 14 in
component://common/webcommon/includes/header.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
        at freemarker.core.Expression.getStringValue(Expression.java:118)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
        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 org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
        at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
        at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
        at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
        at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:993)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:224)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:553)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:224)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
        at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:553)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:224)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
        at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:648)
        at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
        at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:224)
        at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129)
        at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92)
        at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:721)
        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:504)
        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
        at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
        at org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Error rendering included template at location
[component://common/webcommon/includes/header.ftl]:
freemarker.core.InvalidReferenceException: Expression
layoutSettings.companyName is undefined on line 32, column 14 in
component://common/webcommon/includes/header.ftl.<!-- Begin Template
component://common/webcommon/includes/appbar.ftl -->

Anyone else see this?

--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Problem in trunk: admin missing visual themes and others

David E Jones-3
You may need to update your seed data. In ofbiz seed data is (or  
should) always be pure seed data maintained with code and is meant to  
be updated whenever you update the code.

Run:

ant run-install-seed


-David


On Mar 9, 2009, at 12:48, Todd Burdeinei <[hidden email]> wrote:

> I just loaded a fresh checkout from trunk, and ran Ant, then  
> startofbiz.sh
>
> Navigated to localhost:8443/catalog/control/main
>
> The page displays:
>
> The Following Errors Occurred:
>
> Visual Theme resources not found.
>
> And view source reveals
>
> Expression layoutSettings.companyName is undefined on line 32, column
> 14 in component://common/webcommon/includes/header.ftl.
> The problematic instruction:
> ----------
> ==> ${layoutSettings.companyName} [on line 32, column 12 in
> component://common/webcommon/includes/header.ftl]
> ----------
>
> Java backtrace for programmers:
> ----------
> freemarker.core.InvalidReferenceException: Expression
> layoutSettings.companyName is undefined on line 32, column 14 in
> component://common/webcommon/includes/header.ftl.
>    at  
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>    at freemarker.core.Expression.getStringValue(Expression.java:118)
>    at freemarker.core.Expression.getStringValue(Expression.java:93)
>    at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>    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  
> org.
> ofbiz.
> base.
> util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:
> 205)
>    at  
> org.
> ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
>    at org.ofbiz.widget.screen.HtmlWidget
> $HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
>    at  
> org.
> ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:993)
>    at  
> org.
> ofbiz.
> widget.
> screen.
> ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelScreenWidget.java:224)
>    at  
> org.
> ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 393)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $IncludeScreen.renderWidgetString(ModelScreenWidget.java:553)
>    at  
> org.
> ofbiz.
> widget.
> screen.
> ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelScreenWidget.java:224)
>    at  
> org.
> ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 393)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $IncludeScreen.renderWidgetString(ModelScreenWidget.java:553)
>    at  
> org.
> ofbiz.
> widget.
> screen.
> ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelScreenWidget.java:224)
>    at  
> org.
> ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 393)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:648)
>    at  
> org.
> ofbiz.
> widget.
> screen.
> ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
>    at org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelScreenWidget.java:224)
>    at  
> org.
> ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 393)
>    at  
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129)
>    at  
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92)
>    at  
> org.
> ofbiz.
> widget.
> screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
>    at  
> org.
> ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:
> 721)
>    at  
> org.
> ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:504)
>    at  
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
>    at  
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>    at  
> org.
> apache.
> catalina.
> core.
> ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
>    at  
> org.
> apache.
> catalina.
> core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>    at  
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 259)
>    at  
> org.
> apache.
> catalina.
> core.
> ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
>    at  
> org.
> apache.
> catalina.
> core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>    at  
> org.
> apache.
> catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
>    at  
> org.
> apache.
> catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 175)
>    at  
> org.
> apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 128)
>    at  
> org.
> apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 102)
>    at  
> org.
> apache.
> catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>    at  
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 568)
>    at  
> org.
> ofbiz.
> catalina.
> container.
> CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
>    at  
> org.
> apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
>    at  
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>    at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>    at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:447)
>    at java.lang.Thread.run(Thread.java:619)
> Error rendering included template at location
> [component://common/webcommon/includes/header.ftl]:
> freemarker.core.InvalidReferenceException: Expression
> layoutSettings.companyName is undefined on line 32, column 14 in
> component://common/webcommon/includes/header.ftl.<!-- Begin Template
> component://common/webcommon/includes/appbar.ftl -->
>
> Anyone else see this?
>
> --
> Todd Burdeinei
> Web Developer
> Burdeinei Corp
> 702-259-3273 office / fax number
> 702-372-9920 cell
> [hidden email]