If you manually set the required fields using request.addParameter
(instead of objectToRequestParameters), does it work?

Matt

On 7/5/07, Rick Guo <[EMAIL PROTECTED]> wrote:




Hi, all:



I developed my application using appfuse.



 After I have finished my model object and passed Dao and Manager Layer
Test, then in *FormControllerTest, I got testSave() Error like this:

java.lang.Exception Out of heap error.



At the same time testEdit() testDelete methods are tested successfully, so I
think there must be errors in the objectToRequestParameters() method. This
method throws java.lang.Exception directly.



All fields in my model class are of type String Date and ManyToMany mapping.
They are normal things.

The only thing I could spot that was different from the origin code is that
all model class I added have not implement Serializable interface, so there
are not a serialVersionUID field.

Could this difference incur the Exception? Or anybody any advice?




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to