>Number: 4964 >Category: mod_jserv >Synopsis: org.apache.java.util.SimpleQueue.get() needs to be >synchronized? >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Sep 5 20:30:00 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: Apache 1.3.6 + Jserv 1.0 >Environment: FreeBSD, Java 1.1.8 >Description: Without it I get the following exception under high loads:
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.removeElementAt(Vector.java) at org.apache.java.util.SimpleQueue.get(SimpleQueue.java:101) at org.apache.java.io.LogWriter$Agent.flush(LogWriter.java:476) at org.apache.java.io.LogWriter$1.run(LogWriter.java:384) at java.lang.Thread.run(Thread.java) >How-To-Repeat: >Fix: see above >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]