Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-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 5F2F9D228 for ; Wed, 5 Sep 2012 16:16:09 +0000 (UTC) Received: (qmail 29288 invoked by uid 500); 5 Sep 2012 16:16:07 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 29008 invoked by uid 500); 5 Sep 2012 16:16:07 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 28999 invoked by uid 99); 5 Sep 2012 16:16:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 16:16:07 +0000 Date: Thu, 6 Sep 2012 03:16:07 +1100 (NCT) From: "Andreas Veithen (JIRA)" To: dev@ws.apache.org Message-ID: <2014206921.39422.1346861767769.JavaMail.jiratomcat@arcas> In-Reply-To: <1876500584.38014.1302102066883.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AXIOM-362) SOAPHeader examineAllHeaderBlocks throws 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/AXIOM-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated AXIOM-362: ---------------------------------- Fix Version/s: (was: 1.2.14) 1.2.15 > SOAPHeader examineAllHeaderBlocks throws ClassCastException > ----------------------------------------------------------- > > Key: AXIOM-362 > URL: https://issues.apache.org/jira/browse/AXIOM-362 > Project: Axiom > Issue Type: Bug > Components: LLOM > Affects Versions: 1.2.11 > Reporter: Auke Schrijnen > Priority: Minor > Fix For: 1.2.15 > > Attachments: axiom-soapheader.patch > > > The llom SOAPHeaderImpl class throws a ClassCastException: > java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock > at org.apache.axiom.soap.impl.llom.SOAPHeaderImpl$HeaderIterator.(SOAPHeaderImpl.java:181) > at org.apache.axiom.soap.impl.llom.SOAPHeaderImpl.examineAllHeaderBlocks(SOAPHeaderImpl.java:358) > at org.apache.synapse.core.axis2.Axis2MessageContext.toString(Axis2MessageContext.java:485) > at java.lang.String.valueOf(String.java:2826) > at java.lang.StringBuilder.append(StringBuilder.java:115) > at org.apache.synapse.mediators.eip.aggregator.AggregateMediator.mediate(AggregateMediator.java:249) > at ... > The HeaderIterator does check for nodes other than a SOAPHeaderBlock node, except for the first element. The method 'hasNext' does check if nodes are SOAPHeaderBlock nodes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org