Webtools application not dispalying

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

Webtools application not dispalying

Sangs
Hi everyone!

When I am trying to access https://localhost:8443/webtools/control/main, I m getting the following error:

java.lang.IllegalArgumentException: [GenericEntity.set] "partyId" is not a field of Person, must be one of: personId, firstname, lastname, comments, lastUpdatedStamp, lastUpdatedTxStamp, createdStamp, createdTxStamp

The error thrown in the logs is:

314678 (http-0.0.0.0-8443-Processor4) [ApplicationDispatcher.java:704:ERROR] Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: [GenericEntity.set] "partyId" is not a field of Person, must be one of: personId, firstname, lastname, comments, lastUpdated
Stamp, lastUpdatedTxStamp, createdStamp, createdTxStamp
        at org.ofbiz.entity.GenericEntity.set(GenericEntity.java:370)
        at org.ofbiz.entity.GenericEntity.setFields(GenericEntity.java:806)
        at org.ofbiz.entity.GenericEntity.init(GenericEntity.java:173)
        at org.ofbiz.entity.GenericPK.create(GenericPK.java:59)
        at org.ofbiz.entity.GenericDelegator.makePK(GenericDelegator.java:510)
        at org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1316)
        at org.ofbiz.entity.GenericDelegator.getRelatedOne(GenericDelegator.java:2111)
        at org.ofbiz.entity.GenericValue.getRelatedOne(GenericValue.java:312)
        at org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.main_005ftemplate_jsp:99)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
        at org.ofbiz.webapp.region.Region.render(Region.java:125)
        at org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        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(Thread.java:534)
314694 (http-0.0.0.0-8443-Processor4) [  RegionViewHandler.java:108:ERROR]


Just wanted to know if anyone has faced a similar problem earlier!
(I am pretty new to OfBiz-would appreciate any help.)

Thanks !

sangs
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Webtools application not dispalying

David E. Jones

According to the error it appears that you have changed some things in OFBiz, namely changing "partyId" to "personId" in the Person entity, and that is causing this problem. For any error like this the place to start is with the message... and consider what you have changed or added that is related to the message. Not that there aren't problems in the unchanged code base, in fact with most errors there this same process is what contributors to OFBiz generally go through to look for the most likely cause of the problem.

-David


Sangs wrote:

> Hi everyone!
>
> When I am trying to access https://localhost:8443/webtools/control/main, I m
> getting the following error:
>
> java.lang.IllegalArgumentException: [GenericEntity.set] "partyId" is not a
> field of Person, must be one of: personId, firstname, lastname, comments,
> lastUpdatedStamp, lastUpdatedTxStamp, createdStamp, createdTxStamp
>
> The error thrown in the logs is:
>
> 314678 (http-0.0.0.0-8443-Processor4) [ApplicationDispatcher.java:704:ERROR]
> Servlet.service() for servlet jsp threw exception
> java.lang.IllegalArgumentException: [GenericEntity.set] "partyId" is not a
> field of Person, must be one of: personId, firstname, lastname, comments,
> lastUpdated
> Stamp, lastUpdatedTxStamp, createdStamp, createdTxStamp
>         at org.ofbiz.entity.GenericEntity.set(GenericEntity.java:370)
>         at org.ofbiz.entity.GenericEntity.setFields(GenericEntity.java:806)
>         at org.ofbiz.entity.GenericEntity.init(GenericEntity.java:173)
>         at org.ofbiz.entity.GenericPK.create(GenericPK.java:59)
>         at
> org.ofbiz.entity.GenericDelegator.makePK(GenericDelegator.java:510)
>         at
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1316)
>         at
> org.ofbiz.entity.GenericDelegator.getRelatedOne(GenericDelegator.java:2111)
>         at
> org.ofbiz.entity.GenericValue.getRelatedOne(GenericValue.java:312)
>         at
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.main_005ftemplate_jsp:99)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>         at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>         at org.ofbiz.webapp.region.Region.render(Region.java:125)
>         at
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
>         at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
>         at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
>         at
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         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(Thread.java:534)
> 314694 (http-0.0.0.0-8443-Processor4) [  RegionViewHandler.java:108:ERROR]
>
> Just wanted to know if anyone has faced a similar problem earlier!
> (I am pretty new to OfBiz-would appreciate any help.)
>
> Thanks !
>
> sangs
> --
> View this message in context: http://www.nabble.com/Webtools-application-not-dispalying-t1461174.html#a3948675
> Sent from the OFBiz - Dev forum at Nabble.com.
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev