You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2009/08/04 08:53:27 UTC
DO NOT REPLY [Bug 44178] Race condition in CleanerThread.java
getReferenceQueue() method
https://issues.apache.org/bugzilla/show_bug.cgi?id=44178
--- Comment #1 from Eddie Moojen <ne...@elements.ac> 2009-08-03 23:53:25 PDT ---
Synchronizing on the getReferenceQueue() method is IMHO correct.
Also changing line 104 from:
ref = queue.remove();
to:
ref = getReferenceQueue().remove();
Solves NullPointerExceptions being thrown in eclipse & tomcat after reloading
the context.
Because this error is thrown in a while(true) { //clean references } loop, it
overflows the log files.
Please fix.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org