|
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 |
|
[ 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 |
|
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 |
|
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 |
| Free forum by Nabble | Edit this page |
