[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-7003: ----------------------------------- Fix Version/s: (was: Upcoming Branch) Hi Pranay, Please put "Upcoming Branch" only when only the trunk is concerned. Else simply put the concerned releases version. Jacopo explained that in a question I asked on dev ML. Also minor, but in grovvy snippet we can get rid of {code} & {code} and such So we can write {code} ${groovy: isBillable && actualNonBilledHours != void ? actualNonBilledHours : ''} {code}instead of {code} ${groovy:isBillable&&actualNonBilledHours!=void?actualNonBilledHours:""} {code} Done at revision 1745010. > Error when accessing project manager > ------------------------------------ > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr > Affects Versions: Trunk > Reporter: james yong > Assignee: Pranay Pandey > Priority: Minor > Fix For: 14.12.01, 15.12.01 > > Attachments: OFBIZ-7003-1412.patch, OFBIZ-7003-1512.patch, > OFBIZ-7003.patch > > > I am running SVN version 1738958. > Problem > ======= > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:157) > [ofbiz-widget.jar:?] > at > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1001) > [ofbiz-webapp.jar:?] > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:653) > [ofbiz-webapp.jar:?] > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) > [ofbiz-webapp.jar:?] > at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) > [servlet-api-3.1.jar:?] > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > [servlet-api-3.1.jar:?] > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:323) > [ofbiz-webapp.jar:?] > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) > [tomcat-8.0.33-catalina.jar:8.0.33] > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) > [tomcat-8.0.33-tomcat-coyote.jar:8.0.33] > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) > [tomcat-8.0.33-tomcat-coyote.jar:8.0.33] > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502) > [tomcat-8.0.33-tomcat-coyote.jar:8.0.33] > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458) > [tomcat-8.0.33-tomcat-coyote.jar:8.0.33] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [?:1.8.0_60] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [?:1.8.0_60] > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > [tomcat-8.0.33-tomcat-util.jar:8.0.33] > at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)