struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4064) WW-3698 cause ClassCastException
Date Tue, 29 Jul 2014 18:32:42 GMT

    [ https://issues.apache.org/jira/browse/WW-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078133#comment-14078133
] 

Hudson commented on WW-4064:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #66 (See [https://builds.apache.org/job/Struts-JDK6-develop/66/])
WW-4064 WW-3698 Adds additional flag to cover both cases (lukaszlenart: rev ca50c1aeddf0325485224b75b3e0cf0cb816a0f2)
* plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/ValueStackDataSource.java
* plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java


> 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
>            Assignee: Lukasz Lenart
>            Priority: Blocker
>             Fix For: 2.3.16
>
>         Attachments: application-error.log
>
>
> my application works fine before commit 1439171,when I upgrade to 2.3.14,it raise a ClassCastException
> {noformat}
> 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
> {noformat}
> {code:java}
> class Order{
> List<OrderItem> items;
> }
> {code}
> items in subreport should be JRDataSource but List



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message