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 5340F10320 for ; Sat, 8 Mar 2014 17:06:48 +0000 (UTC) Received: (qmail 74156 invoked by uid 500); 8 Mar 2014 17:06:48 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 73822 invoked by uid 500); 8 Mar 2014 17:06:43 -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 73805 invoked by uid 99); 8 Mar 2014 17:06:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 17:06:43 +0000 Date: Sat, 8 Mar 2014 17:06:43 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4239) Using ParameterAware with FileUploadInterceptor leads to 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-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4239: ------------------------------ Fix Version/s: (was: 2.3.17) 2.5 > Using ParameterAware with FileUploadInterceptor leads to ClassCastException > --------------------------------------------------------------------------- > > Key: WW-4239 > URL: https://issues.apache.org/jira/browse/WW-4239 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.15.1 > Reporter: Ilya > Fix For: 2.5 > > > Ljava.io.File; cannot be cast to [Ljava.lang.String; > --------- > According to ParameterAware I should have method > {code} > public void setParameters(Map parameters); > {code} > But I also have _File_ field and FileUploadInterceptor sets file there. > So, I am getting File[] instead of String[]. -- This message was sent by Atlassian JIRA (v6.2#6252)