-
Notifications
You must be signed in to change notification settings - Fork 28
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
NPE from SVGGraphics2D#getBytes #42
Comments
Are you using any form of multi-threading when this exception occurs? |
Yep, we have multithreading as following: |
As far as I can tell, your approach should work. Do you also call VG2D was only tested with a single thread. I will try to help, but I don't know how well the current design of VG2D fits for multi-threaded use. I have do investigate a bit further on this. |
Yep, this is possible in our use case. |
Alright I did some investigation on this issue and found two major problems when using VG2D from multiple threads:
Conclusion |
@seifertm Thanks a lot for the investigation and such a comprehensive answer, I understand, that switching to self-contained command system is quite a efforts and time consuming procedure. Probably separate feature request for multithreading access should be created? Anyway, well done, keep it up! |
Happened with 0.11 version released recently.
The text was updated successfully, but these errors were encountered: