"[EMAIL PROTECTED]" wrote : What is the class of the List that throws UOE? Use 
your debugger to find out.
  | 

After debugging I saw that the UOE is thrown by the class 
org.hibernate.type.CollectionType, in the method replaceElements.

  | ...
  | java.util.Collection result = ( java.util.Collection ) target;
  | result.clear(); //just here
  | ...
  | 

When debugging I also saw that the collection is an ArrayList that has the 
correct value. I researched about possibles causes and it seems the most 
probable reason for this exception is that the ArrayList to be clear is 
unmodifiable, but I don't know why!

Related UOE topic: http://forum.java.sun.com/thread.jspa?threadID=700412




"[EMAIL PROTECTED]" wrote : 
  | BTW, this is definitely not a Seam problem.
  | 

The debugging tells the exception is thrown by Hibernate, but it really does 
not involve it is the problem. Specially because hibernate libraries (bundled 
in seam) are the same in 1.3 and 1.2.1 version (so, nothing has changed), even 
I did upgrade to latest Hibernate libs and I got the same exception. 

I'm really stuck with this, hope someone can give me some hints regarding this, 
in the meantime I will go back to Seam 1.2.1, where all works fine (but I would 
like to use the upcoming 1.3).


Any help would be appreciated.

Thanks for your time.

If someone wants to see this problem running, as I said before I have a test 
case for JBoss 4.2.GA and tomcat 6.0.10.







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052969#4052969

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052969
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to