You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Frank Cornelis (JIRA)" <ji...@apache.org> on 2012/04/21 14:41:35 UTC

[jira] [Created] (CXF-4258) Disabling WS-Policy feature fails

Frank Cornelis created CXF-4258:
-----------------------------------

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


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

        

[jira] [Commented] (CXF-4258) Disabling WS-Policy feature fails

Posted by "Frank Cornelis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263358#comment-13263358 ] 

Frank Cornelis commented on CXF-4258:
-------------------------------------

I'm afraid that was about the entire stack trace:
{code}
Fault string, and possibly fault code, not set
org.apache.cxf.jaxws.JaxWsClientProxy.invoke:156
$Proxy43.requestSecurityToken:-1
...
Caused by: null - java.lang.NullPointerException
org.apache.cxf.jaxws.JaxWsClientProxy.invoke:156
$Proxy43.requestSecurityToken:-1
...
{code}
                
> 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

        

[jira] [Commented] (CXF-4258) Disabling WS-Policy feature fails

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265874#comment-13265874 ] 

Daniel Kulp commented on CXF-4258:
----------------------------------

Any chance you can retest with latest 2.6.1-SNAPSHOTs?   There have been some fixes with the faults and I'd like to know if this has been fixed.

                
> 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

        

[jira] [Commented] (CXF-4258) Disabling WS-Policy feature fails

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (CXF-4258) Disabling WS-Policy feature fails

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-4258:
-----------------------------

    Fix Version/s: NeedMoreInfo
    
> 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