Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5188

In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2, 1.7.0
    • adb
    • None

    Description

      BeanUtil class use following code to load classes.

      beanClass = Loader.loadClass(beanClass.getClassLoader(), className);

      Usually beanClass.getClassLoader() will return null and hence thread context ClassLoader is to used to load classes. In some cases this will result into ClassNotFoundException. Following service demonstrate such a exception.

      Attachments

        1. StructForObj.aar
          5 kB
          Sagara Gunathunga

        Activity

          People

            sagara Sagara Gunathunga
            sagara Sagara Gunathunga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: