You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Bernhard Roider (JIRA)" <ji...@apache.org> on 2007/08/20 15:57:30 UTC

[jira] Created: (RAMPART-75) RampartEngine creates NPE on SOAP-Header without WSSE-Entries

RampartEngine creates NPE on SOAP-Header without WSSE-Entries 
--------------------------------------------------------------

                 Key: RAMPART-75
                 URL: https://issues.apache.org/jira/browse/RAMPART-75
             Project: Rampart
          Issue Type: Bug
          Components: rampart-core
    Affects Versions: 1.3
         Environment: all
            Reporter: Bernhard Roider


RampartEngine creates NPE on SOAP-Header without WSSE-Entries.

This line creates the NPE:

rmd.getMsgContext().getEnvelope().getHeader()
	.getHeaderBlocksWithNSURI(WSConstants.WSSE_NS)

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


[jira] Resolved: (RAMPART-75) RampartEngine creates NPE on SOAP-Header without WSSE-Entries

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruchith Udayanga Fernando resolved RAMPART-75.
----------------------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=584382&view=rev

> RampartEngine creates NPE on SOAP-Header without WSSE-Entries 
> --------------------------------------------------------------
>
>                 Key: RAMPART-75
>                 URL: https://issues.apache.org/jira/browse/RAMPART-75
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.3
>         Environment: all
>            Reporter: Bernhard Roider
>
> RampartEngine creates NPE on SOAP-Header without WSSE-Entries.
> This line creates the NPE:
> rmd.getMsgContext().getEnvelope().getHeader()
> 	.getHeaderBlocksWithNSURI(WSConstants.WSSE_NS)

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


[jira] Commented: (RAMPART-75) RampartEngine creates NPE on SOAP-Header without WSSE-Entries

Posted by "Murali Krishnan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAMPART-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532493 ] 

Murali Krishnan commented on RAMPART-75:
----------------------------------------

It fails when the soap message doesn't have any header at all (getEnvelope().getHeader() is null)

> RampartEngine creates NPE on SOAP-Header without WSSE-Entries 
> --------------------------------------------------------------
>
>                 Key: RAMPART-75
>                 URL: https://issues.apache.org/jira/browse/RAMPART-75
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.3
>         Environment: all
>            Reporter: Bernhard Roider
>
> RampartEngine creates NPE on SOAP-Header without WSSE-Entries.
> This line creates the NPE:
> rmd.getMsgContext().getEnvelope().getHeader()
> 	.getHeaderBlocksWithNSURI(WSConstants.WSSE_NS)

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