problem with renderer in trunk version 767770 with standard demo data and admin user
------------------------------------------------------------------------------------ Key: OFBIZ-2344 URL: https://issues.apache.org/jira/browse/OFBIZ-2344 Project: OFBiz Issue Type: Sub-task Components: framework Affects Versions: SVN trunk Reporter: Hans Bakker Fix For: SVN trunk if i go to myportal then in the block 'message from unknown party i get: Sent from: [hidden email]; Sent Name from: Jo Easy User; Sent to: [hidden email]; Delivered-To: [hidden email]; Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(portlet.screenLocation, portlet.screenName)} [on line 33, column 13 in component://common/webcommon/portal/showPortalPage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) 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.ConditionalBlock.accept(ConditionalBlock.java:79) at -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-2344: ---------------------------------------- Assignee: Jacopo Cappellato > problem with renderer in trunk version 767770 with standard demo data and admin user > ------------------------------------------------------------------------------------ > > Key: OFBIZ-2344 > URL: https://issues.apache.org/jira/browse/OFBIZ-2344 > Project: OFBiz > Issue Type: Sub-task > Components: framework > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > Fix For: SVN trunk > > > if i go to myportal then in the block 'message from unknown party i get: > Sent from: [hidden email]; Sent Name from: Jo Easy User; Sent to: [hidden email]; Delivered-To: [hidden email]; Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(portlet.screenLocation, portlet.screenName)} [on line 33, column 13 in component://common/webcommon/portal/showPortalPage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) 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.ConditionalBlock.accept(ConditionalBlock.java:79) at -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701861#action_12701861 ] Jacopo Cappellato commented on OFBIZ-2344: ------------------------------------------ Hans, I am unable to recreate this error but I am not 100% sure I am looking at the right screen. I am testing the url: https://localhost:8443/myportal/control/ViewCommunicationEvent for communication id "9000" > problem with renderer in trunk version 767770 with standard demo data and admin user > ------------------------------------------------------------------------------------ > > Key: OFBIZ-2344 > URL: https://issues.apache.org/jira/browse/OFBIZ-2344 > Project: OFBiz > Issue Type: Sub-task > Components: framework > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > Fix For: SVN trunk > > > if i go to myportal then in the block 'message from unknown party i get: > Sent from: [hidden email]; Sent Name from: Jo Easy User; Sent to: [hidden email]; Delivered-To: [hidden email]; Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(portlet.screenLocation, portlet.screenName)} [on line 33, column 13 in component://common/webcommon/portal/showPortalPage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) 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.ConditionalBlock.accept(ConditionalBlock.java:79) at -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hans Bakker closed OFBIZ-2344. ------------------------------ Resolution: Fixed hi Jacopo, thanks for looking at it, it looks like that is was caused by an error you fixed previously hans > problem with renderer in trunk version 767770 with standard demo data and admin user > ------------------------------------------------------------------------------------ > > Key: OFBIZ-2344 > URL: https://issues.apache.org/jira/browse/OFBIZ-2344 > Project: OFBiz > Issue Type: Sub-task > Components: framework > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > Fix For: SVN trunk > > > if i go to myportal then in the block 'message from unknown party i get: > Sent from: [hidden email]; Sent Name from: Jo Easy User; Sent to: [hidden email]; Delivered-To: [hidden email]; Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(portlet.screenLocation, portlet.screenName)} [on line 33, column 13 in component://common/webcommon/portal/showPortalPage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) 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.ConditionalBlock.accept(ConditionalBlock.java:79) at -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |