Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.19 Product Version 4.0.18
  Product Build
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.
Steps To Reproduce
Additional Information Exception: java.lang.ArrayIndexOutOfBoundsException: 8192
    at com.caucho.remote.websocket.WebSocketWriter.write(
    at java.util.concurrent.Executors$
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(
    at java.util.concurrent.FutureTask.runAndReset(
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(
    at java.util.concurrent.ScheduledThreadPoolExecutor$
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    at java.util.concurrent.ThreadPoolExecutor$
Attached Files

- Relationships

- Notes
05-31-11 17:03


- Issue History
Date Modified Username Field Change
05-31-11 06:07 ihristov New Issue
05-31-11 17:03 ferg Note Added: 0005283
05-31-11 17:03 ferg Assigned To  => ferg
05-31-11 17:03 ferg Status new => closed
05-31-11 17:03 ferg Resolution open => fixed
05-31-11 17:03 ferg Fixed in Version  => 4.0.19

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker