ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Error showing up on main page of eCommerce in 11.04
Date Tue, 16 Aug 2011 07:20:34 GMT
This is the reason from your stack:

freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
11) ... 106 more Caused by: java.lang.OutOfMemoryError: PermGen space at
java.lang.ClassLoader.defineClass1(Native Method) at

OutOfMemoryError: PermGen space 

=> Increase your PermGen space 

Jacques

From: "Tim Stoel" <tim@paserv.com>
>I have been getting the following error in the eCommerce app in version
> 11.04.  I can reproduce the problem by restarting OfBiz, browsing pages on
> eCommerce for 4-5 minutes and returning to the main page.  This text shows
> up in the center column of the main webpage.  Restarting OfBiz fixes the
> problem but it quickly resurfaces.
> 
> Thanks,
> Tim
> 
> Error text:
> 
> Method public java.lang.String
> org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
> org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXExce
> ption,javax.xml.parsers.ParserConfigurationException threw an exception when
> invoked on org.ofbiz.widget.screen.ScreenRenderer@2a91e3c9 The problematic
> instruction: ---------- ==> ${screens.render(productsummaryScreen)} [on line
> 118, column 23 in 
> component://order/webapp/ordermgr/entry/catalog/categorydetail.ftl]
> ---------- Java backtrace for programmers: ----------
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws
> org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXExce
> ption,javax.xml.parsers.ParserConfigurationException threw an exception when
> invoked on org.ofbiz.widget.screen.ScreenRenderer@2a91e3c9 at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 34) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) 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.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(FreeMarkerWorke
> r.java:258) at 
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> at 
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
> t.java:250) at 
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> at 
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
> g(ModelScreenWidget.java:915) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at 
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.j
> ava:216) at 
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:513) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at 
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.j
> ava:216) at 
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:513) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at
> sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 11) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) 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(FreeMarkerWorke
> r.java:258) at 
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> at 
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
> t.java:250) at 
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> at 
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
> g(ModelScreenWidget.java:915) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetStrin
> g(ModelScreenWidget.java:613) at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScree
> nWidget.java:129) at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidg
> etString(ModelScreenWidget.java:646) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:260) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:260) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at 
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.j
> ava:216) at 
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:580) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:104) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:191) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler
> .java:104) at 
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:847)
> at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:564)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206) at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:338) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206) at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:233) at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191) at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> ) 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:554) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
> 11Protocol.java:588) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
> java.lang.Thread.run(Thread.java:662) Caused by:
> java.lang.reflect.InvocationTargetException at
> sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 11) ... 106 more Caused by: java.lang.OutOfMemoryError: PermGen space at
> java.lang.ClassLoader.defineClass1(Native Method) at
> java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at
> java.lang.ClassLoader.defineClass(ClassLoader.java:615) at
> org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(ClassLoad
> erForClassArtifacts.java:42) at
> org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoade
> rForClassArtifacts.java:86) at
> org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoade
> rForClassArtifacts.java:84) at
> java.security.AccessController.doPrivileged(Native Method) at
> org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGe
> tConstructor(ClassLoaderForClassArtifacts.java:84) at
> org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePojoMethod(Cal
> lSiteGenerator.java:235) at
> org.codehaus.groovy.reflection.CachedMethod.createPojoMetaMethodSite(CachedM
> ethod.java:244) at 
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createCachedMethodSi
> te(PojoMetaMethodSite.java:158) at
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createPojoMetaMethod
> Site(PojoMetaMethodSite.java:147) at
> groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:3003) at
> org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteAr
> ray.java:114) at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteAr
> ray.java:148) at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray
> .java:40) at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.
> java:116) at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.
> java:120) at ProductSummary.run(ProductSummary.groovy:104) at
> org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:4
> 16) at 
> org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:117)
> at 
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:184) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at
> sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 11) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)  
>


Mime
View raw message