You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org> on 2011/11/18 00:49:52 UTC

[jira] [Commented] (AXIS2-5188) In BeanUtil class deserialize method should use Service ClassLoader to load bean classes.

    [ https://issues.apache.org/jira/browse/AXIS2-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152471#comment-13152471 ] 

Sagara Gunathunga  commented on AXIS2-5188:
-------------------------------------------

Fixed in r1203424.
                
> 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