Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CBBA10FC5 for ; Wed, 16 Oct 2013 12:05:52 +0000 (UTC) Received: (qmail 4809 invoked by uid 500); 16 Oct 2013 12:05:46 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 4663 invoked by uid 500); 16 Oct 2013 12:05:45 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 4625 invoked by uid 99); 16 Oct 2013 12:05:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 12:05:44 +0000 Date: Wed, 16 Oct 2013 12:05:44 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4064) WW-3698 cause ClassCastException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796698#comment-13796698 ] ASF subversion and git services commented on WW-4064: ----------------------------------------------------- Commit 1532741 from [~lukaszlenart] in branch 'struts2/trunk' [ https://svn.apache.org/r1532741 ] WW-4064 Reverts changes introduced by WW-3698 to avoid class cast exception > 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 > 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 items; > } > {code} > items in subreport should be JRDataSource but List -- This message was sent by Atlassian JIRA (v6.1#6144)