[jira] [Created] (OFBIZ-4939) ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4939) ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()

Nicolas Malin (Jira)
Francis ANDRE created OFBIZ-4939:
------------------------------------

             Summary: ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()
                 Key: OFBIZ-4939
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4939
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Francis ANDRE


Hi

Using this.getClass().getClassLoader() instead of Thread.currentThread().getContextClassLoader() leads to
Exception: java.lang.ClassNotFoundException as for example
Message: org.ofbiz.scrum.ScrumServices

Rgds

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4939) ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()

Nicolas Malin (Jira)

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

Francis ANDRE updated OFBIZ-4939:
---------------------------------

    Attachment: OFBIZ-4939.patch
   

> ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4939
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4939
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Francis ANDRE
>         Attachments: OFBIZ-4939.patch
>
>
> Hi
> Using this.getClass().getClassLoader() instead of Thread.currentThread().getContextClassLoader() leads to
> Exception: java.lang.ClassNotFoundException as for example
> Message: org.ofbiz.scrum.ScrumServices
> Rgds

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4939) ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Francis ANDRE updated OFBIZ-4939:
---------------------------------

    Attachment:     (was: OFBIZ-4939.patch)
   

> ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4939
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4939
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Francis ANDRE
>
> Hi
> Using this.getClass().getClassLoader() instead of Thread.currentThread().getContextClassLoader() leads to
> Exception: java.lang.ClassNotFoundException as for example
> Message: org.ofbiz.scrum.ScrumServices
> Rgds

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4939) ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Francis ANDRE updated OFBIZ-4939:
---------------------------------

    Attachment: OFBIZ-4939.patch
   

> ClassLoader instance should be initialized with Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader()
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4939
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4939
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Francis ANDRE
>         Attachments: OFBIZ-4939.patch
>
>
> Hi
> Using this.getClass().getClassLoader() instead of Thread.currentThread().getContextClassLoader() leads to
> Exception: java.lang.ClassNotFoundException as for example
> Message: org.ofbiz.scrum.ScrumServices
> Rgds

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