What is the reason of this error ?

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

What is the reason of this error ?

Abhijeet Pandey
Hi All,

i am getting below mentioned error .
can anyone please tell me what is the reason of this?

 EntityListIterator Not Closed for Entity [ContentAssoc], caught in Finalize
-- What is this and from where i can fix it.

Please advice.

org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
--------------------------------------------------------------------------------

2009-12-08 17:49:45,037 (http-0.0.0.0-80-1) [
RequestHandler.java:412:ERROR] Request cms caused an error with the
following message: Error calling event:
org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.StackOverflowError (null)
2009-12-08 17:49:45,037 (http-0.0.0.0-80-1) [
RequestHandler.java:716:INFO ] Rendering View [error],
sessionId=DC4C64CD42760D2BB01687FCD957521D.jvm1
2009-12-08 17:49:45,162 (http-0.0.0.0-80-1) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.047s, 310 requests, 103
views in jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
2009-12-08 17:49:45,162 (http-0.0.0.0-80-1) [
ControlServlet.java:312:INFO ] [[[undefined] Request Done-
total:80.824,since last([undefined] Reque...):80.824]]
2009-12-08 17:49:49,506 (Finalizer) [ EntityListIterator.java:543:ERROR]
====================================================================
 EntityListIterator Not Closed for Entity [ContentAssoc], caught in Finalize
 ====================================================================

Thanks,

--
Abhijeet Pandey
Reply | Threaded
Open this post in threaded view
|

Re: What is the reason of this error ?

Surya Kusumakar-2
Hello Abhijeet,

You have to close EntityListIterator object which you may be using in
your files.

For e.g
<#if invoices?has_content>
  <#assign invoiceList  =  invoices.getCompleteList() />
  <#assign eliClose = invoices.close() />
</#if>

--
Thanks
Surya Kusumakar

Abhijeet Pandey wrote:

> Hi All,
>
> i am getting below mentioned error .
> can anyone please tell me what is the reason of this?
>
>  EntityListIterator Not Closed for Entity [ContentAssoc], caught in Finalize
> -- What is this and from where i can fix it.
>
> Please advice.
>
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> org.ofbiz.content.cms.CmsEvents.verifySubContent(CmsEvents.java:306)
> --------------------------------------------------------------------------------
>
> 2009-12-08 17:49:45,037 (http-0.0.0.0-80-1) [
> RequestHandler.java:412:ERROR] Request cms caused an error with the
> following message: Error calling event:
> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> java.lang.StackOverflowError (null)
> 2009-12-08 17:49:45,037 (http-0.0.0.0-80-1) [
> RequestHandler.java:716:INFO ] Rendering View [error],
> sessionId=DC4C64CD42760D2BB01687FCD957521D.jvm1
> 2009-12-08 17:49:45,162 (http-0.0.0.0-80-1) [
> ConfigXMLReader.java:118:INFO ] controller loaded: 0.047s, 310 requests, 103
> views in jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
> 2009-12-08 17:49:45,162 (http-0.0.0.0-80-1) [
> ControlServlet.java:312:INFO ] [[[undefined] Request Done-
> total:80.824,since last([undefined] Reque...):80.824]]
> 2009-12-08 17:49:49,506 (Finalizer) [ EntityListIterator.java:543:ERROR]
> ====================================================================
>  EntityListIterator Not Closed for Entity [ContentAssoc], caught in Finalize
>  ====================================================================
>
> Thanks,
>
>