Users - Error in Attributes tab in Catalog-->Category section

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

Users - Error in Attributes tab in Catalog-->Category section

Ashish Vijaywargiya-2
Hello,

Any body of you noted the error in Attributes tab in Category section of the catalog component.
The way of getting error is :
Catalog-->Main-->(Click on any Parent Category or Subcategory)-->and then click on the "Attributes" tab.I m getting the following error.

4375112 (http-0.0.0.0-8443-Processor4) [      GenericEntity.java:1234:WARN ] The field name (or key) [attrName] is not valid, printing IllegalArgumentException instead of throwing it because Map interface specification does not allow throwing that exception.
java.lang.IllegalArgumentException: [GenericEntity.get] "attrName" is not a field of ProductCategory
    at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:295)
    at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:1232)
    at org.ofbiz.widget.form.ModelFormField.getEntry(ModelFormField.java:647)
    at org.ofbiz.widget.html.HtmlFormRenderer.renderTextField(HtmlFormRenderer.java:228)
    at org.ofbiz.widget.form.ModelFormField$TextField.renderFieldString(ModelFormField.java:2131)
    at org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:533)
    at org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:906)
    at org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:682)
    at org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:659)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:525)
    at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:186)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:547)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:525)
    at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:186)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:547)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:398)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:493)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:493)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:108)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
    at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:77)
    at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:612)
    at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:397)
    at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
4375122 (http-0.0.0.0-8443-Processor4) [      GenericEntity.java:1234:WARN ] The field name (or key) [attrValue] is not valid, printing IllegalArgumentException instead of throwing it because Map interface specification does not allow throwing that exception.
java.lang.IllegalArgumentException: [GenericEntity.get] "attrValue" is not a field of ProductCategory
    at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:295)
    at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:1232)
    at org.ofbiz.widget.form.ModelFormField.getEntry(ModelFormField.java:647)
    at org.ofbiz.widget.html.HtmlFormRenderer.renderTextField(HtmlFormRenderer.java:228)
    at org.ofbiz.widget.form.ModelFormField$TextField.renderFieldString(ModelFormField.java:2131)
    at org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:533)
    at org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:906)
    at org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:682)
    at org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:659)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:525)
    at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:186)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:547)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:525)
    at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:186)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:547)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:303)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:398)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:493)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:493)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:137)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:108)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
    at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:77)
    at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:612)
    at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:397)
    at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
4375157 (http-0.0.0.0-8443-Processor4) [     ControlServlet.java:258:DEBUG] [[[EditCategoryAttributes] Done rendering page, Servlet Finished- total:1.269,since last([EditCategoryAttr...):1.269]]

Patch it as soon as possible.


"You can't always get what you want but if you try real hard,
you might just find that you get what you need" 

Regards
Ashish
****************************************
 
Image hosted by Photobucket.com


Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Error in Attributes tab in Catalog-->Category section

Jacopo Cappellato
Hi Ashish,

this is now fixed in rev. 7541

Jacopo



Ashish Vijaywargiya wrote:

> Hello,
>
> Any body of you noted the error in Attributes tab in Category section of
> the catalog component.
> The way of getting error is :
> Catalog-->Main-->(Click on any Parent Category or Subcategory)-->and
> then click on the "Attributes" tab.I m getting the following error.
>
> 4375112 (http-0.0.0.0-8443-Processor4) [      
> GenericEntity.java:1234:WARN ] The field name (or key) [attrName] is not
> valid, printing IllegalArgumentException instead of throwing it because
> Map interface specification does not allow throwing that exception.
> java.lang.IllegalArgumentException: [GenericEntity.get] "attrName" is
> not a field of ProductCategory
>     at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:295)
>     at org.ofbiz.entity.GenericEntity.get(GenericEntity.java:1232)
>     at
>
> Patch it as soon as possible.
>
>
> "You can't always get what you want but if you try real hard,
> you might just find that you get what you need"
>
> Regards
> Ashish
> ****************************************
> Image hosted by Photobucket.com
>
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice.
> <http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
> PC-to-Phone calls for ridiculously low rates.
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users