[ https://issues.apache.org/jira/browse/OFBIZ-6987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231134#comment-15231134 ] Jacques Le Roux commented on OFBIZ-6987: ---------------------------------------- It could be related with OFBIZ-3311, see the top of stack {code} 2016-04-07 23:32:16,548 |http-bio-8443-exec-1 |ModelScreenWidget |E| Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExamp leForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:373) ~[ofbiz-entity.jar:?] at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:788) ~[ofbiz-entity.jar:?] at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:773) ~[ofbiz-entity.jar:?] at org.ofbiz.entity.util.EntityUtil.localizedOrderBy(EntityUtil.java:356) ~[ofbiz-entity.jar:?] at org.ofbiz.widget.model.ModelFormField$EntityOptions.addOptionValues(ModelFormField.java:1918) ~[ofbiz-widget.jar:?] {code} > Exception in Form Widget Examples > --------------------------------- > > Key: OFBIZ-6987 > URL: https://issues.apache.org/jira/browse/OFBIZ-6987 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example > Affects Versions: Trunk > Reporter: james yong > Assignee: Pranay Pandey > Priority: Minor > > I am running SVN version 1737587. > Problem > ======= > I navigate to https://localhost:8443/example/control/FormWidgetExamples, and found the following error on the page: > {code} > org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://example/widget/example/FormWidgetExampleScreens.xml#FormWidgetExamples]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://example/widget/example/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. (Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. (Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].)) (Error rendering screen [component://example/widget/example/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. (Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType]. (Error rendering included form named [DropDownFieldsExampleForm] at location [component://example/widget/example/FormWidgetExampleForms.xml]: java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].java.lang.IllegalArgumentException: The field name (or key) [-description] is not valid for entity [ExampleType].))) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |