axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.
Date Thu, 17 Nov 2011 23:31:53 GMT

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

Sagara Gunathunga  updated AXIS2-5188:
--------------------------------------

    Attachment: StructForObj.aar
    
> In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5188
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>            Priority: Critical
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: StructForObj.aar
>
>
> 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. 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message