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

asdf asdf (JIRA) jira-events at lists.jboss.org
Sat Apr 25 18:41:46 EDT 2009


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
            Priority: Critical
             Fix For: jbossws-native-3.2.0


in SOAPAddressingPropertiesImpl there these two lines

writeHeaders

SOAPFactoryImpl factory = (SOAPFactoryImpl)SOAPFactory.newInstance();
SOAPHeader soapHeader = message.getSOAPHeader();	

soapHeader is then used without catching nullPointerException ...
and the cast conflicts with the currently set System property ...

-- 
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