You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Laurent Rouvet <la...@roovay.com> on 2004/06/07 15:07:50 UTC

BindingException & OutOfMemoryError

Hi,

I've binding problem into a Foreach componant.
But the Error message confused me: OutOfMemoryError

I understand that Tapestry didn't found the "ognl:currentElt.text" 
expression, but I don't see why?

Exception Page
---------------
org.apache.tapestry.BindingException
Unable to resolve expression 'currentElt.text' for 
email.webapp.MsgEditor$Enhance_28@9d5793[Message/$MsgEditor].
binding: 	ExpressionBinding[Message/$MsgEditor currentElt.text]
location: 	context:/WEB-INF/MsgEditor.html, line 42

ognl.OgnlException
text

java.lang.OutOfMemoryError
Stack Trace:
---------------


MsgEditor.html,
<tr jwcid="@Foreach" source="ognl:eltList" value="ognl:currentElt"
          index="ognl:eltIndex" element="tr">
...
line 42	<span jwcid="@Insert" value="ognl:currentElt.text">text</span>


MsgEditor.jwc
<property-specification name="currentElt" type="email.model.EltMsgOut"/>


EltMsgOut.java
	public String getText() {return "texte";}



Does someone have a clue?
Thanks,

Laurent.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: BindingException & OutOfMemoryError

Posted by Laurent Rouvet <la...@roovay.com>.
Yep,... Your right, my code was responsable of that bad OutOfMemoryError.

Thanks for your time,

Laurent.


Ravi Hegde wrote:
> Looks like the general OutOfMemoryError is showing up here in your case.
> Please check whether it happens every time when you invoke the page
> displaying this error. There are some memory issues with Tomcat (every time
> when you reload your app, you lose some memory). Because of some such issue,
> your JVM is running out of memory and you have hit this error while it is
> inside some OGNL code - that's all. Re-starting your servlet container
> should resolve this problem. If not, whatever you are doing using OGNL is
> really hogging memory.
> 
> -----Original Message-----
> From: Laurent Rouvet [mailto:laurent@roovay.com]
> Sent: Monday, June 07, 2004 6:38 PM
> To: Tapestry users
> Subject: BindingException & OutOfMemoryError
> 
> 
> Hi,
> 
> I've binding problem into a Foreach componant.
> But the Error message confused me: OutOfMemoryError
> 
> I understand that Tapestry didn't found the "ognl:currentElt.text"
> expression, but I don't see why?
> 
> Exception Page
> ---------------
> org.apache.tapestry.BindingException
> Unable to resolve expression 'currentElt.text' for
> email.webapp.MsgEditor$Enhance_28@9d5793[Message/$MsgEditor].
> binding: 	ExpressionBinding[Message/$MsgEditor currentElt.text]
> location: 	context:/WEB-INF/MsgEditor.html, line 42
> 
> ognl.OgnlException
> text
> 
> java.lang.OutOfMemoryError
> Stack Trace:
> ---------------
> 
> 
> MsgEditor.html,
> <tr jwcid="@Foreach" source="ognl:eltList" value="ognl:currentElt"
>           index="ognl:eltIndex" element="tr">
> ...
> line 42	<span jwcid="@Insert" value="ognl:currentElt.text">text</span>
> 
> 
> MsgEditor.jwc
> <property-specification name="currentElt" type="email.model.EltMsgOut"/>
> 
> 
> EltMsgOut.java
> 	public String getText() {return "texte";}
> 
> 
> 
> Does someone have a clue?
> Thanks,
> 
> Laurent.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: BindingException & OutOfMemoryError

Posted by Ravi Hegde <ra...@coreobjects.com>.
Looks like the general OutOfMemoryError is showing up here in your case.
Please check whether it happens every time when you invoke the page
displaying this error. There are some memory issues with Tomcat (every time
when you reload your app, you lose some memory). Because of some such issue,
your JVM is running out of memory and you have hit this error while it is
inside some OGNL code - that's all. Re-starting your servlet container
should resolve this problem. If not, whatever you are doing using OGNL is
really hogging memory.

-----Original Message-----
From: Laurent Rouvet [mailto:laurent@roovay.com]
Sent: Monday, June 07, 2004 6:38 PM
To: Tapestry users
Subject: BindingException & OutOfMemoryError


Hi,

I've binding problem into a Foreach componant.
But the Error message confused me: OutOfMemoryError

I understand that Tapestry didn't found the "ognl:currentElt.text"
expression, but I don't see why?

Exception Page
---------------
org.apache.tapestry.BindingException
Unable to resolve expression 'currentElt.text' for
email.webapp.MsgEditor$Enhance_28@9d5793[Message/$MsgEditor].
binding: 	ExpressionBinding[Message/$MsgEditor currentElt.text]
location: 	context:/WEB-INF/MsgEditor.html, line 42

ognl.OgnlException
text

java.lang.OutOfMemoryError
Stack Trace:
---------------


MsgEditor.html,
<tr jwcid="@Foreach" source="ognl:eltList" value="ognl:currentElt"
          index="ognl:eltIndex" element="tr">
...
line 42	<span jwcid="@Insert" value="ognl:currentElt.text">text</span>


MsgEditor.jwc
<property-specification name="currentElt" type="email.model.EltMsgOut"/>


EltMsgOut.java
	public String getText() {return "texte";}



Does someone have a clue?
Thanks,

Laurent.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org