Anonymous | Login | Signup for a new account | 12-17-2024 10:42 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 | ||||
0002920 | [Quercus] | block | sometimes | 09-10-08 20:38 | 09-11-08 11:06 | ||||
Reporter | rgnitz | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.6 | ||||||
Summary | 0002920: ArrayIndexOutOfBoundsException in com.caucho.vfs.ReaderStream.read | ||||||||
Description |
Method: com.caucho.vfs.ReaderStream.read(buf, offset, length) (line 56) // XXX: encoding issues public int read(byte []buf, int offset, int length) throws IOException There is an issue here because of the offset increment. There isn't a guarantee that there is 1,2 or 3 bytes ahead. Included are the steps to reproduce but this also occurs when running a PHP script. Exception: Exception in thread "main" conductor.sensor.SensorException: java.lang.ArrayIndexOutOfBoundsException: 16384 at conductor.sensor.PhpCliHarness.eval(PhpCliHarness.java:170) at conductor.sensor.PhpCliHarness.main(PhpCliHarness.java:65) Caused by: java.lang.ArrayIndexOutOfBoundsException: 16384 at com.caucho.vfs.ReaderStream.read(ReaderStream.java:67) at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:1015) at com.caucho.vfs.ReadStream.readChar(ReadStream.java:513) at com.caucho.quercus.parser.QuercusParser.read(QuercusParser.java:4948) at com.caucho.quercus.parser.QuercusParser.parsePhpText(QuercusParser.java:4143) at com.caucho.quercus.parser.QuercusParser.parseTop(QuercusParser.java:489) at com.caucho.quercus.parser.QuercusParser.parse(QuercusParser.java:421) at com.caucho.quercus.parser.QuercusParser.parse(QuercusParser.java:322) at conductor.sensor.PhpCliHarness.eval(PhpCliHarness.java:121) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003417) rgnitz 09-10-08 20:46 |
Yikes... I put this in the wrong category. This is a Resin bug. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |