[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2632) SOAPHeader == null not catched // no good cast

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Mon Apr 27 03:04:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBWS-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-2632:
----------------------------------

    Priority: Major  (was: Critical)


Please leave the priority and fix version to commiters next time. Anyway, for sure I can check for the null there, but besides that, can you provide better info on what you're doing?

JSR261 is in withdrawn state thus there're not a lot of implementation; the only two I'm aware of are the jbossws-native one you're trying and the Apache CXF one, which btw can be used with JBossWS-CXF stack.

> SOAPHeader == null not catched // no good cast
> ----------------------------------------------
>
>                 Key: JBWS-2632
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2632
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ws-addressing
>    Affects Versions:  jbossws-native-3.1.1
>         Environment: win xp java 1.6
>            Reporter: asdf asdf
>             Fix For: jbossws-native-3.2.0
>
>
> SOAPAddressingPropertiesImpl#writeHeaders has these two lines:
> SOAPFactoryImpl factory = (SOAPFactoryImpl)SOAPFactory.newInstance();
> SOAPHeader soapHeader = message.getSOAPHeader();
> soapHeader is then used without catching a NullPointerException ...
> The cast conflicts with the currently set System property, resulting in a ClassCastException. That happens because I was just using the WS-Addressing part of jbossws. By the way, is there any other implementation of JSR261 available?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list