-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Thread unsafe behavior #1892
Comments
Well, what object are you sharing between threads? Please show the actual code. You should not use the same instance of a Parser object across multiple threads. Either use the parse methods in the |
I did share the code, would you accept a PR to document that Parser instances are not thread safe? |
Oh. you're fast, nice 😄 |
Nice experience |
I'm glad you enjoyed it |
When trying to parse documents on two different threads an exception is thrown.
I have made a minimal reproduction over here: https://github.com/codymikol/jsoup-thread-unsafe-demo
Here is the exception in question
The text was updated successfully, but these errors were encountered: