[
https://issues.apache.org/jira/browse/WW-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhouyanming updated WW-4064:
----------------------------
Description:
my application works fine before commit 1439171,when I upgrade to 2.3.14,it
raise a ClassCastException
Caused by: java.lang.ClassCastException:
org.hibernate.collection.internal.PersistentList cannot be cast to
net.sf.jasperreports.engine.JRDataSource
at order_1283128512214_277101.evaluate(order_1283128512214_277101:275)
at
net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:190)
... 120 more
class Order{
List<OrderItem> items;
}
items in subreport should be JRDataSource but List
was:
my application works fine before commit 1439171,when I upgrade to 2.3.14,it
raise a ClassCastException
Caused by: java.lang.ClassCastException:
org.hibernate.collection.internal.PersistentList cannot be cast to
net.sf.jasperreports.engine.JRDataSource
at order_1283128512214_277101.evaluate(order_1283128512214_277101:275)
at
net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:190)
... 120 more
> WW-3698 cause ClassCastException
> --------------------------------
>
> Key: WW-4064
> URL: https://issues.apache.org/jira/browse/WW-4064
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - JasperReports
> Affects Versions: 2.3.14
> Reporter: zhouyanming
> Priority: Blocker
>
> my application works fine before commit 1439171,when I upgrade to 2.3.14,it
> raise a ClassCastException
> Caused by: java.lang.ClassCastException:
> org.hibernate.collection.internal.PersistentList cannot be cast to
> net.sf.jasperreports.engine.JRDataSource
> at order_1283128512214_277101.evaluate(order_1283128512214_277101:275)
> at
> net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:190)
> ... 120 more
> class Order{
> List<OrderItem> items;
> }
> items in subreport should be JRDataSource but List
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira