axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Henry (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4363) Classcast exception when enabling MTOM with ADB
Date Tue, 02 Jun 2009 16:05:07 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julien Henry updated AXIS2-4363:
--------------------------------

    Description: 
When enabling MTOM and generating client stub with ADB, I get the following error when using
my WS to download attachments:

{code}
java.lang.ClassCastException:
org.apache.axiom.om.util.OMXMLStreamReaderValidator cannot be cast to org.apache.axiom.om.impl.llom.OMStAXWrapper
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub$XXXBundleType$Factory.parse(Vault_WebServiceStub.java:21236)
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub$DownloadXXXResponse$Factory.parse(Vault_WebServiceStub.java:56454)
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub.fromOM(Vault_WebServiceStub.java:64390)
{code}

This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is to
set log level > DEBUG.

The bug is also present with staged 1.5 version.

  was:
When enabling MTOM and generating client stub with ADB, I get the following error:

{code}
java.lang.ClassCastException:
org.apache.axiom.om.util.OMXMLStreamReaderValidator cannot be cast to org.apache.axiom.om.impl.llom.OMStAXWrapper
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub$XXXBundleType$Factory.parse(Vault_WebServiceStub.java:21236)
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub$DownloadXXXResponse$Factory.parse(Vault_WebServiceStub.java:56454)
  at com.xxx.vaultwebservice.client.Vault_WebServiceStub.fromOM(Vault_WebServiceStub.java:64390)
{code}

This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is to
set log level > DEBUG.

The bug is also present with staged 1.5 version.


> Classcast exception when enabling MTOM with ADB 
> ------------------------------------------------
>
>                 Key: AXIS2-4363
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4363
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: ADB databinding
>            Reporter: Julien Henry
>
> When enabling MTOM and generating client stub with ADB, I get the following error when
using my WS to download attachments:
> {code}
> java.lang.ClassCastException:
> org.apache.axiom.om.util.OMXMLStreamReaderValidator cannot be cast to org.apache.axiom.om.impl.llom.OMStAXWrapper
>   at com.xxx.vaultwebservice.client.Vault_WebServiceStub$XXXBundleType$Factory.parse(Vault_WebServiceStub.java:21236)
>   at com.xxx.vaultwebservice.client.Vault_WebServiceStub$DownloadXXXResponse$Factory.parse(Vault_WebServiceStub.java:56454)
>   at com.xxx.vaultwebservice.client.Vault_WebServiceStub.fromOM(Vault_WebServiceStub.java:64390)
> {code}
> This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is
to set log level > DEBUG.
> The bug is also present with staged 1.5 version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message