Mantis - Resin
Viewing Issue Advanced Details
1071 minor always 04-21-06 13:35 05-09-06 18:50
ferg  
ferg  
urgent  
closed  
fixed  
none    
none 3.0.19  
0001071: CMR relation in CMP 2.1 class cast
(rep by Christian Amott)

1. cmr relationship is causing a classCastException when loading cmr child beans.

[09:20:40.075] 2.5132:executeQuery(select c.datatype, c.producttype, c.wmid, c.entitlement from wmdataents c where (c.wmid = ?) order by c.datatype)
[09:20:40.218] java.lang.ClassCastException: _ejb.webmasters.WebmasterBean__EJB$Local
[09:20:40.218] at _ejb.wmdataentitlements.WMDataEntitlementBean__Amber.__caucho_load_key_wmdataentitlements(WMDataEntitlementBean__Amber.java:103)
[09:20:40.218] at _ejb.wmdataentitlements.WMDataEntitlementBean__Amber.__caucho_home_find(WMDataEntitlementBean__Amber.java:466)
[09:20:40.218] at com.caucho.amber.entity.AmberEntityHome.findItem(AmberEntityHome.java:230)
[09:20:40.218] at com.caucho.amber.query.LoadEntityExpr.findItem(LoadEntityExpr.java:215)
[09:20:40.218] at com.caucho.amber.query.LoadEntityExpr.getCacheObject(LoadEntityExpr.java:204)
[09:20:40.218] at com.caucho.amber.query.ResultSetImpl.fillCacheChunk(ResultSetImpl.java:178)
[09:20:40.218] at com.caucho.amber.query.UserQuery.executeQuery(UserQuery.java:333)
[09:20:40.218] at com.caucho.amber.query.UserQuery.list(UserQuery.java:467)
[09:20:40.218] at com.caucho.amber.collection.CollectionImpl.fill(CollectionImpl.java:156)
[09:20:40.218] at com.caucho.amber.collection.CollectionImpl.size(CollectionImpl.java:99)
[09:20:40.218] at java.util.ArrayList.<init>(ArrayList.java:133)

Notes
(0001111)
ferg   
05-09-06 18:50   
ejb/0a20