{"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/comments/10845765","html_url":"https://github.com/orientechnologies/orientdb/commit/8893db9bf8beeca9bb5d8f1f336a41c62ef67a33#commitcomment-10845765","id":10845765,"user":{"login":"Robin479","id":7469505,"avatar_url":"https://avatars.githubusercontent.com/u/7469505?v=3","gravatar_id":"","url":"https://api.github.com/users/Robin479","html_url":"https://github.com/Robin479","followers_url":"https://api.github.com/users/Robin479/followers","following_url":"https://api.github.com/users/Robin479/following{/other_user}","gists_url":"https://api.github.com/users/Robin479/gists{/gist_id}","starred_url":"https://api.github.com/users/Robin479/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robin479/subscriptions","organizations_url":"https://api.github.com/users/Robin479/orgs","repos_url":"https://api.github.com/users/Robin479/repos","events_url":"https://api.github.com/users/Robin479/events{/privacy}","received_events_url":"https://api.github.com/users/Robin479/received_events","type":"User","site_admin":false},"position":71,"line":194,"path":"server/src/main/java/com/orientechnologies/orient/server/plugin/OServerPluginManager.java","commit_id":"8893db9bf8beeca9bb5d8f1f336a41c62ef67a33","created_at":"2015-04-22T12:27:40Z","updated_at":"2015-04-22T12:27:40Z","body":"Not explicitly passing the class loader used to load orientdb as the parent results in class loading errors if orientdb is not on the application class path, e.g. when orientdb itself is loaded from an embedded class loader (system < application < embedded), because the parent class loader defaults to the application class loader if not passed. Maybe pass Thread.currentThread().getContextClassLoader() or OServerPluginManager.class.getClassLoader() instead, which should be the proper parent loader."}}