Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4810

java.beans.IntrospectionException: java.lang.Exception not superclass of java.lang.Exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.3
    • Fix Version/s: 2.7.4
    • Component/s: Aegis Databinding
    • Labels:
      None
    • Environment:

      CXF with Spring on Tomcat

    • Estimated Complexity:
      Novice

      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)

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              echaplet Eric Chaplet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: