You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Eric Chaplet (JIRA)" <ji...@apache.org> on 2013/02/07 17:47:13 UTC

[jira] [Updated] (CXF-4810) java.beans.IntrospectionException: java.lang.Exception not superclass of java.lang.Exception

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

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

    Description: 
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)

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

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

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