Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5854B200BF4 for ; Thu, 22 Dec 2016 10:44:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 57143160B1F; Thu, 22 Dec 2016 09:44:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3584160B26 for ; Thu, 22 Dec 2016 10:44:04 +0100 (CET) Received: (qmail 81651 invoked by uid 500); 22 Dec 2016 09:43:58 -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 81334 invoked by uid 99); 22 Dec 2016 09:43:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2016 09:43:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 699282C2A67 for ; Thu, 22 Dec 2016 09:43:58 +0000 (UTC) Date: Thu, 22 Dec 2016 09:43:58 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4729) ServletDispatcherResult can't handle parameters anymore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Dec 2016 09:44:05 -0000 [ https://issues.apache.org/jira/browse/WW-4729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4729: ------------------------------ Description: I have an action like this {code:title=Bar.java|borderStyle=solid} @Action(value = "execute", results = @Result(name = SUCCESS, type = DISPATCHER, location = "index.jsp?foo=bar")) public String execute() { return super.execute(); } {code} which leads to an error in the ServletDispatcherResult {noformat} java.lang.IllegalAccessError: HttpParameters are immutable, you cannot put values directly! at org.apache.struts2.dispatcher.HttpParameters.putAll(HttpParameters.java:132) at org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:148) at org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270) {noformat} was: I have an action like this {code:title=Bar.java|borderStyle=solid} @Action(value = "execute", results = @Result(name = SUCCESS, type = DISPATCHER, location = "index.jsp?foo=bar")) public String execute() { return super.execute(); } {code} which leads to an error in the ServletDispatcherResult {noformat} java.lang.IllegalAccessError: HttpParameters are immutable, you cannot put values directly! at org.apache.struts2.dispatcher.HttpParameters.putAll(HttpParameters.java:132) at org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:148) at org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270) {noformat] > ServletDispatcherResult can't handle parameters anymore > ------------------------------------------------------- > > Key: WW-4729 > URL: https://issues.apache.org/jira/browse/WW-4729 > Project: Struts 2 > Issue Type: Bug > Components: Core Results > Affects Versions: 2.5.5, 2.5.8 > Reporter: Michael Hintenaus > Fix For: 2.5.next > > > I have an action like this > {code:title=Bar.java|borderStyle=solid} > @Action(value = "execute", results = @Result(name = SUCCESS, type = DISPATCHER, location = "index.jsp?foo=bar")) > public String execute() { > return super.execute(); > } > {code} > which leads to an error in the ServletDispatcherResult > {noformat} > java.lang.IllegalAccessError: HttpParameters are immutable, you cannot put values directly! > at org.apache.struts2.dispatcher.HttpParameters.putAll(HttpParameters.java:132) > at org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:148) > at org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208) > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)