Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContextClassLoader is null #384

Closed
hanahmily opened this issue Jul 12, 2017 · 1 comment
Closed

ContextClassLoader is null #384

hanahmily opened this issue Jul 12, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@hanahmily
Copy link
Contributor

Which version of Elastic-Job do you using?

2.1.5

Expected behavior

Cloud Job invoke Thread.currentThread().getContextClassLoader() return app class loader

Actual behavior

Cloud Job invoke Thread.currentThread().getContextClassLoader() return null

Steps to reproduce the behavior

Implementing a simple job will get previous result

Reason

Cloud Executor uses native codes(mesoslib) to create thread which lacking context class loader. Some frameworks(eg. dubbo) relying on this feature will malfunction.

@hanahmily hanahmily added the bug label Jul 12, 2017
@hanahmily hanahmily self-assigned this Jul 12, 2017
@hanahmily hanahmily mentioned this issue Jul 12, 2017
terrymanu added a commit that referenced this issue Jul 12, 2017
@terrymanu
Copy link
Member

terrymanu commented Jul 12, 2017

fixed at 3.0.0-alpha

@terrymanu terrymanu added this to the 3.0.0-alpha milestone Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants