Anonymous | Login | Signup for a new account | 12-17-2024 08:27 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004584 | [Resin] | crash | always | 05-31-11 06:07 | 05-31-11 17:03 | ||||
Reporter | ihristov | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.18 | ||||||
Summary | 0004584: Exception: java.lang.ArrayIndexOutOfBoundsException: 8192 | ||||||||
Description | A bug in WebSocketWriter class causes java.lang.ArrayIndexOutOfBoundsException. Messages larger than 8192 bytes will cause this exception due to improper use of the initial string length. Since the buffer is 4096 characters (8192 bytes) all messages larger than that are truncated into the buffer but the message initial length is still used, thus causing ArrayIndexOutOfBoundsException. | ||||||||
Additional Information |
Exception: java.lang.ArrayIndexOutOfBoundsException: 8192 at com.caucho.remote.websocket.WebSocketWriter.write(WebSocketWriter.java:125) at java.io.Writer.write(Writer.java:175) at java.io.PrintWriter.write(PrintWriter.java:412) at java.io.PrintWriter.write(PrintWriter.java:429) at some.company.WebSocketServlet$1.run(WebSocketServlet.java:100) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |