Swapnil M Mane created OFBIZ-7817:
-------------------------------------

             Summary: Party manager home screen generates console error
                 Key: OFBIZ-7817
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7817
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: Trunk
            Reporter: Swapnil M Mane
            Assignee: Swapnil M Mane


When we navigate to the 'Party' Manager component, following error is generated

{code}
2016-07-16 10:34:48,273 |ttp-nio-8443-exec-10 |GenericDelegator              
|E| Error getting entity definition from model
org.ofbiz.entity.GenericModelException: Could not find definition for entity 
name PartyClassificationGroupAndType
        at 
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:489) 
~[trunk.jar:?]
        at 
org.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:407) 
[trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelFormField$EntityOptions.addOptionValues(ModelFormField.java:1904)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelFormField$FieldInfoWithOptions.getAllOptionValues(ModelFormField.java:2065)
 [trunk.jar:?]
        at 
org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDropDownField(MacroFormRenderer.java:756)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelFormField$DropDownField.renderFieldString(ModelFormField.java:1811)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:722)
 [trunk.jar:?]
        at 
org.ofbiz.widget.renderer.FormRenderer.renderSingleFormString(FormRenderer.java:1199)
 [trunk.jar:?]
        at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:264) 
[trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053)
 [trunk.jar:?]
        at 
org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:682)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
[trunk.jar:?]
        at 
org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
[trunk.jar:?]
        at 
org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
[trunk.jar:?]
        at 
org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 [trunk.jar:?]
        at 
org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
[trunk.jar:?]
        at 
org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) 
[trunk.jar:?]
        at 
org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) 
[trunk.jar:?]
        at 
org.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:157)
 [trunk.jar:?]
        at 
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1001) 
[trunk.jar:?]
        at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:653) 
[trunk.jar:?]
        at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[trunk.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 
[javax.servlet-api-3.1.0.jar:3.1.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[javax.servlet-api-3.1.0.jar:3.1.0]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
[tomcat-embed-websocket-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:323) 
[trunk.jar:?]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) 
[tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) 
[tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
 [tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) 
[tomcat-catalina-8.0.33.jar:8.0.33]
        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
 [tomcat-coyote-8.0.33.jar:8.0.33]
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
 [tomcat-coyote-8.0.33.jar:8.0.33]
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
 [tomcat-coyote-8.0.33.jar:8.0.33]
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
 [tomcat-coyote-8.0.33.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-util-8.0.33.jar:8.0.33]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
{code}

Closing looking at the souce code, I found, we have used 
*PartyClassificationGroupAndType* entity in *lookupparty* form 
(party/widget/partymgr/PartyForms.xml) 
and this entity is no longer exist. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to