General Correspondence Address
Shipping Destination Address To: Demo Customer 2004 Factory Blvd Orem, Method public org.ofbiz.entity.GenericValue org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) throws org.ofbiz.entity.GenericEntityException threw an exception when invoked on [GenericEntity:PostalAddress][address1,2004 Factory Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo Customer(java.lang.String)] The problematic instruction: ---------- ==> assignment: stateProvince=postalAddress.getRelatedOneCache("StateProvinceGeo") [on line 69, column 23 in component://party/webapp/partymgr/party/profileblocks/Contact.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public org.ofbiz.entity.GenericValue org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) throws org.ofbiz.entity.GenericEntityException threw an exception when invoked on [GenericEntity:PostalAddress][address1,2004 Factory Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo Customer(java.lang.String)] at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Assignment.accept(Assignment.java:90) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:201) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:95) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:138) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:67) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:996) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:640) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:425) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassCastException: javolution.util.FastList at org.ofbiz.entity.condition.EntityComparisonOperator.mapMatches(EntityComparisonOperator.java:158) at org.ofbiz.entity.condition.EntityExpr.mapMatches(EntityExpr.java:167) at org.ofbiz.entity.condition.EntityJoinOperator.mapMatches(EntityJoinOperator.java:142) at org.ofbiz.entity.condition.EntityConditionListBase.mapMatches(EntityConditionListBase.java:99) at org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:200) at org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:166) at org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:147) at org.ofbiz.entity.cache.Cache.put(Cache.java:89) at org.ofbiz.entity.GenericDelegator.putInPrimaryKeyCache(GenericDelegator.java:2850) at org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1499) at org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1593) at org.ofbiz.entity.GenericDelegator.getRelatedOneCache(GenericDelegator.java:2653) at org.ofbiz.entity.GenericValue.getRelatedOneCache(GenericValue.java:322) at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 104 more Error rendering included template at location [component://party/webapp/partymgr/party/profileblocks/Contact.ftl]: freemarker.template.TemplateModelException: Method public org.ofbiz.entity.GenericValue org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) throws org.ofbiz.entity.GenericEntityException threw an exception when invoked on [GenericEntity:PostalAddress][address1,2004 Factory Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo Customer(java.lang.String)] |
Just to confirm BJ's exception, I came across a similar one earlier
today but then was unable to reproduce it. Regards Scott 2008/8/20 BJ Freeman <[hidden email]>: > General Correspondence Address > Shipping Destination Address > To: Demo Customer > 2004 Factory Blvd > Orem, Method public org.ofbiz.entity.GenericValue > org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) > throws org.ofbiz.entity.GenericEntityException threw an exception when > invoked on [GenericEntity:PostalAddress][address1,2004 Factory > Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo > Customer(java.lang.String)] The problematic instruction: ---------- ==> > assignment: > stateProvince=postalAddress.getRelatedOneCache("StateProvinceGeo") [on > line 69, column 23 in > component://party/webapp/partymgr/party/profileblocks/Contact.ftl] > ---------- Java backtrace for programmers: ---------- > freemarker.template.TemplateModelException: Method public > org.ofbiz.entity.GenericValue > org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) > throws org.ofbiz.entity.GenericEntityException threw an exception when > invoked on [GenericEntity:PostalAddress][address1,2004 Factory > Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo > Customer(java.lang.String)] at > freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at > freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at > freemarker.core.Assignment.accept(Assignment.java:90) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at > freemarker.core.Environment.visit(Environment.java:351) at > freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Environment.process(Environment.java:176) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:201) > at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) > at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) > at > org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:95) > at > org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:138) > at > org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:67) > at > org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:996) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) > at > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) > at > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) > at > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) > at > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) > at > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) > at > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) > at > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) > at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) > at > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96) > at > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:640) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:425) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > at java.lang.Thread.run(Thread.java:595) Caused by: > java.lang.ClassCastException: javolution.util.FastList at > org.ofbiz.entity.condition.EntityComparisonOperator.mapMatches(EntityComparisonOperator.java:158) > at org.ofbiz.entity.condition.EntityExpr.mapMatches(EntityExpr.java:167) > at > org.ofbiz.entity.condition.EntityJoinOperator.mapMatches(EntityJoinOperator.java:142) > at > org.ofbiz.entity.condition.EntityConditionListBase.mapMatches(EntityConditionListBase.java:99) > at > org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:200) > at > org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:166) > at > org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:147) > at org.ofbiz.entity.cache.Cache.put(Cache.java:89) at > org.ofbiz.entity.GenericDelegator.putInPrimaryKeyCache(GenericDelegator.java:2850) > at org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1499) > at > org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1593) > at > org.ofbiz.entity.GenericDelegator.getRelatedOneCache(GenericDelegator.java:2653) > at > org.ofbiz.entity.GenericValue.getRelatedOneCache(GenericValue.java:322) > at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at > freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) > ... 104 more Error rendering included template at location > [component://party/webapp/partymgr/party/profileblocks/Contact.ftl]: > freemarker.template.TemplateModelException: Method public > org.ofbiz.entity.GenericValue > org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) > throws org.ofbiz.entity.GenericEntityException threw an exception when > invoked on [GenericEntity:PostalAddress][address1,2004 Factory > Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 > 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 > 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo > Customer(java.lang.String)] > > |
Thanks BJ, should be fixed in rev. 687578
Regards Scott 2008/8/20 Scott Gray <[hidden email]>: > Just to confirm BJ's exception, I came across a similar one earlier > today but then was unable to reproduce it. > > Regards > Scott > > 2008/8/20 BJ Freeman <[hidden email]>: >> General Correspondence Address >> Shipping Destination Address >> To: Demo Customer >> 2004 Factory Blvd >> Orem, Method public org.ofbiz.entity.GenericValue >> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >> throws org.ofbiz.entity.GenericEntityException threw an exception when >> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >> Customer(java.lang.String)] The problematic instruction: ---------- ==> >> assignment: >> stateProvince=postalAddress.getRelatedOneCache("StateProvinceGeo") [on >> line 69, column 23 in >> component://party/webapp/partymgr/party/profileblocks/Contact.ftl] >> ---------- Java backtrace for programmers: ---------- >> freemarker.template.TemplateModelException: Method public >> org.ofbiz.entity.GenericValue >> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >> throws org.ofbiz.entity.GenericEntityException threw an exception when >> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >> Customer(java.lang.String)] at >> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) >> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at >> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at >> freemarker.core.Assignment.accept(Assignment.java:90) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.IfBlock.accept(IfBlock.java:82) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at >> freemarker.core.Environment.visit(Environment.java:351) at >> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.IfBlock.accept(IfBlock.java:82) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.MixedContent.accept(MixedContent.java:92) at >> freemarker.core.Environment.visit(Environment.java:196) at >> freemarker.core.Environment.process(Environment.java:176) at >> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:201) >> at >> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) >> at >> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) >> at >> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:95) >> at >> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:138) >> at >> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:67) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:996) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) >> at >> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >> at >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >> at >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >> at >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) >> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) >> at >> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96) >> at >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:640) >> at >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:425) >> at >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at >> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) >> at >> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >> at java.lang.Thread.run(Thread.java:595) Caused by: >> java.lang.ClassCastException: javolution.util.FastList at >> org.ofbiz.entity.condition.EntityComparisonOperator.mapMatches(EntityComparisonOperator.java:158) >> at org.ofbiz.entity.condition.EntityExpr.mapMatches(EntityExpr.java:167) >> at >> org.ofbiz.entity.condition.EntityJoinOperator.mapMatches(EntityJoinOperator.java:142) >> at >> org.ofbiz.entity.condition.EntityConditionListBase.mapMatches(EntityConditionListBase.java:99) >> at >> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:200) >> at >> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:166) >> at >> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:147) >> at org.ofbiz.entity.cache.Cache.put(Cache.java:89) at >> org.ofbiz.entity.GenericDelegator.putInPrimaryKeyCache(GenericDelegator.java:2850) >> at org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1499) >> at >> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1593) >> at >> org.ofbiz.entity.GenericDelegator.getRelatedOneCache(GenericDelegator.java:2653) >> at >> org.ofbiz.entity.GenericValue.getRelatedOneCache(GenericValue.java:322) >> at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) at >> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at >> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) >> ... 104 more Error rendering included template at location >> [component://party/webapp/partymgr/party/profileblocks/Contact.ftl]: >> freemarker.template.TemplateModelException: Method public >> org.ofbiz.entity.GenericValue >> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >> throws org.ofbiz.entity.GenericEntityException threw an exception when >> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >> Customer(java.lang.String)] >> >> > |
thanks scott.
Scott Gray sent the following on 8/20/2008 11:32 PM: > Thanks BJ, should be fixed in rev. 687578 > > Regards > Scott > > 2008/8/20 Scott Gray <[hidden email]>: >> Just to confirm BJ's exception, I came across a similar one earlier >> today but then was unable to reproduce it. >> >> Regards >> Scott >> >> 2008/8/20 BJ Freeman <[hidden email]>: >>> General Correspondence Address >>> Shipping Destination Address >>> To: Demo Customer >>> 2004 Factory Blvd >>> Orem, Method public org.ofbiz.entity.GenericValue >>> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >>> throws org.ofbiz.entity.GenericEntityException threw an exception when >>> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >>> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >>> Customer(java.lang.String)] The problematic instruction: ---------- ==> >>> assignment: >>> stateProvince=postalAddress.getRelatedOneCache("StateProvinceGeo") [on >>> line 69, column 23 in >>> component://party/webapp/partymgr/party/profileblocks/Contact.ftl] >>> ---------- Java backtrace for programmers: ---------- >>> freemarker.template.TemplateModelException: Method public >>> org.ofbiz.entity.GenericValue >>> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >>> throws org.ofbiz.entity.GenericEntityException threw an exception when >>> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >>> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >>> Customer(java.lang.String)] at >>> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) >>> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at >>> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at >>> freemarker.core.Assignment.accept(Assignment.java:90) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.IfBlock.accept(IfBlock.java:82) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at >>> freemarker.core.Environment.visit(Environment.java:351) at >>> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.IfBlock.accept(IfBlock.java:82) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.MixedContent.accept(MixedContent.java:92) at >>> freemarker.core.Environment.visit(Environment.java:196) at >>> freemarker.core.Environment.process(Environment.java:176) at >>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:201) >>> at >>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) >>> at >>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) >>> at >>> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:95) >>> at >>> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:138) >>> at >>> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:67) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:996) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:685) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:716) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:294) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:557) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:654) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:141) >>> at >>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) >>> at >>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) >>> at >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) >>> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) >>> at >>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96) >>> at >>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:640) >>> at >>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:425) >>> at >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>> at >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >>> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at >>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) >>> at >>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) >>> at >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >>> at java.lang.Thread.run(Thread.java:595) Caused by: >>> java.lang.ClassCastException: javolution.util.FastList at >>> org.ofbiz.entity.condition.EntityComparisonOperator.mapMatches(EntityComparisonOperator.java:158) >>> at org.ofbiz.entity.condition.EntityExpr.mapMatches(EntityExpr.java:167) >>> at >>> org.ofbiz.entity.condition.EntityJoinOperator.mapMatches(EntityJoinOperator.java:142) >>> at >>> org.ofbiz.entity.condition.EntityConditionListBase.mapMatches(EntityConditionListBase.java:99) >>> at >>> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:200) >>> at >>> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:166) >>> at >>> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:147) >>> at org.ofbiz.entity.cache.Cache.put(Cache.java:89) at >>> org.ofbiz.entity.GenericDelegator.putInPrimaryKeyCache(GenericDelegator.java:2850) >>> at org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1499) >>> at >>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1593) >>> at >>> org.ofbiz.entity.GenericDelegator.getRelatedOneCache(GenericDelegator.java:2653) >>> at >>> org.ofbiz.entity.GenericValue.getRelatedOneCache(GenericValue.java:322) >>> at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:585) at >>> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at >>> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) >>> ... 104 more Error rendering included template at location >>> [component://party/webapp/partymgr/party/profileblocks/Contact.ftl]: >>> freemarker.template.TemplateModelException: Method public >>> org.ofbiz.entity.GenericValue >>> org.ofbiz.entity.GenericValue.getRelatedOneCache(java.lang.String) >>> throws org.ofbiz.entity.GenericEntityException threw an exception when >>> invoked on [GenericEntity:PostalAddress][address1,2004 Factory >>> Blvd(java.lang.String)][address2,null()][attnName,null()][city,Orem(java.lang.String)][contactMechId,9015(java.lang.String)][countryGeoId,USA(java.lang.String)][countyGeoId,null()][createdStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][createdTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][directions,null()][lastUpdatedStamp,2008-08-20 >>> 03:09:41.619(java.sql.Timestamp)][lastUpdatedTxStamp,2008-08-20 >>> 03:09:40.627(java.sql.Timestamp)][postalCode,84057(java.lang.String)][postalCodeExt,null()][postalCodeGeoId,null()][stateProvinceGeoId,UT(java.lang.String)][toName,Demo >>> Customer(java.lang.String)] >>> >>> > > > |
Free forum by Nabble | Edit this page |