[
http://jira.jboss.com/jira/browse/JBSEAM-3129?page=all ]
Alex Savitsky updated JBSEAM-3129:
----------------------------------
Attachment: TestJBSEAM-3129.zip
Extract to Eclipse with Maven plugin. Deploy on local Tomcat. Access the app, witness the
exception.
This project uses a modified ManagedEntityIdentityInterceptor, the only changes to it are
the ones from JBSEAM-1814 (isRef method), which doesn't affect the way the data models
are handled. The RandomAccessSubList from the exception was verified to come from
Query.truncResultList, and the failure point is MEII.getFromWrapper method (the
Reflections.set call)
The TrinidadDataModels and EntityCollectionModel were largely taken from the seamdisks
example in 2.0.2SP1
Could not set field value by reflection: Query.dataModel on:
org.jboss.seam.framework.Query with value: class java.util.RandomAccessSubList
-------------------------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-3129
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3129
Project: Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.0.2.SP1
Environment: Tomcat 5.5, Hibernate EM 3.3.2, Trinidad 1.2.8
Reporter: Alex Savitsky
Attachments: TestJBSEAM-3129.zip
Query.truncResultList may return a java.util.RandomAccessSubList class in some
circumstances. This class is package private to java.util package, and cannot be later
used in reflection, resulting in the above exception. The exception in question is thrown
by the ManagedEntityIdentityInterceptor, while trying to "swizzle" the stored
DataModel to/from the EntityQuery.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira