You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2012/04/25 21:58:17 UTC
[jira] [Commented] (CXF-4258) Disabling WS-Policy feature fails
[ https://issues.apache.org/jira/browse/CXF-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262009#comment-13262009 ]
Daniel Kulp commented on CXF-4258:
----------------------------------
Can I get the complete stack trace on this? I'd like to know where the error is coming from.
I *DID* just spot an issue where the enabled=false case isn't removing the Policy interceptors off the fault in chain. Thus, if this is occurring while processing a fault, I could definitely see an issue.
> Disabling WS-Policy feature fails
> ---------------------------------
>
> Key: CXF-4258
> URL: https://issues.apache.org/jira/browse/CXF-4258
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.6
> Reporter: Frank Cornelis
> Fix For: NeedMoreInfo
>
>
> When disabling the WS-Policy support by configuring the cxf.xml as follows:
> {code:title=cxf.xml|borderStyle=solid}
> <?xml version="1.0" encoding="utf-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:cxf="http://cxf.apache.org/core" xmlns:p="http://cxf.apache.org/policy"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
> http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
> <cxf:bus>
> <cxf:features>
> <p:policies enabled="false" />
> </cxf:features>
> </cxf:bus>
> </beans>
> {code}
> I get an exception when invoking my web service
> {code}
> Caused by: null - java.lang.NullPointerException
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke:156
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira