[ 
https://issues.apache.org/jira/browse/CXF-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Chaplet updated CXF-4810:
------------------------------

    Description: 
On startup, I've got an exception thrown by 
org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties() when 
calling Introspector.getBeanInfo(Exception.class, Exception.class); => Error 
initializing parameters for operation that throws java.lang.Exception.

It's very blocking for us, Apache CXF can't be launched normally !

Example with a method of a webservice :
@WebMethod(operationName = "doSomething", action = "urn:doSomething")
@WebResult(name = "something")
List<MyObject> myMethod(@WebParam(name = "myParam") String s) throws Exception;

Stack Trace :

Caused by: java.beans.IntrospectionException: java.lang.Exception not 
superclass of java.lang.Exception
        at java.beans.Introspector.<init>(Introspector.java:374)
        at java.beans.Introspector.getBeanInfo(Introspector.java:232)
        at java.beans.Introspector.getBeanInfo(Introspector.java:218)
        at 
org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties(BeanTypeInfo.java:281)

  was:
Error initializing parameters for operation that throws java.lang.Exception.

Example with a method of a webservice :
@WebMethod(operationName = "doSomething", action = "urn:doSomething")
@WebResult(name = "something")
List<MyObject> myMethod(@WebParam(name = "myParam") String s) throws Exception;

On startup, I've got an exception thrown by 
org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties() when 
calling Introspector.getBeanInfo(Exception.class, Exception.class);

Caused by: java.beans.IntrospectionException: java.lang.Exception not 
superclass of java.lang.Exception
        at java.beans.Introspector.<init>(Introspector.java:374)
        at java.beans.Introspector.getBeanInfo(Introspector.java:232)
        at java.beans.Introspector.getBeanInfo(Introspector.java:218)
        at 
org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties(BeanTypeInfo.java:281)

    
> java.beans.IntrospectionException: java.lang.Exception not superclass of 
> java.lang.Exception
> --------------------------------------------------------------------------------------------
>
>                 Key: CXF-4810
>                 URL: https://issues.apache.org/jira/browse/CXF-4810
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.7.3
>         Environment: CXF with Spring on Tomcat
>            Reporter: Eric Chaplet
>            Priority: Blocker
>
> On startup, I've got an exception thrown by 
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties() when 
> calling Introspector.getBeanInfo(Exception.class, Exception.class); => Error 
> initializing parameters for operation that throws java.lang.Exception.
> It's very blocking for us, Apache CXF can't be launched normally !
> Example with a method of a webservice :
> @WebMethod(operationName = "doSomething", action = "urn:doSomething")
> @WebResult(name = "something")
> List<MyObject> myMethod(@WebParam(name = "myParam") String s) throws 
> Exception;
> Stack Trace :
> Caused by: java.beans.IntrospectionException: java.lang.Exception not 
> superclass of java.lang.Exception
>       at java.beans.Introspector.<init>(Introspector.java:374)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:232)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:218)
>       at 
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.initializeProperties(BeanTypeInfo.java:281)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to