Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 819B2183DC for ; Fri, 26 Feb 2016 05:30:17 +0000 (UTC) Received: (qmail 98936 invoked by uid 500); 26 Feb 2016 05:30:17 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 98859 invoked by uid 500); 26 Feb 2016 05:30:17 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 98848 invoked by uid 99); 26 Feb 2016 05:30:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 05:30:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D3FBCE8F2F; Fri, 26 Feb 2016 05:30:16 +0000 (UTC) From: fcorneli To: dev@cxf.apache.org Reply-To: dev@cxf.apache.org References: In-Reply-To: Subject: [GitHub] cxf pull request: Content-Type: text/plain Message-Id: <20160226053016.D3FBCE8F2F@git1-us-west.apache.org> Date: Fri, 26 Feb 2016 05:30:16 +0000 (UTC) Github user fcorneli commented on the pull request: https://github.com/apache/cxf/commit/39e65abf8fe2b181a9262c5953c389e9bb7ca706#commitcomment-16344839 This change, which made it into JBoss EAP 6.4.4, gives me the following exception when using SOAP with attachments: ``` java.lang.ClassCastException: javax.mail.internet.InternetHeaders cannot be cast to java.util.Map at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor.getSoapAction(SoapActionInInterceptor.java:86) at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor.handleMessage(SoapActionInInterceptor.java:121) at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor.handleMessage(SoapActionInInterceptor.java:45) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:249) at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:97) ``` I guess the CastUtils.cast construct was there for a reason. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---