PDA

View Full Version : Index Array Out Of Bounds Exception


toki78
09-10-2010, 11:12 AM
Hi,
I have php file with more than 16000 characters.
When I start processing it, I get :

java.lang.ArrayIndexOutOfBoundsException: 16384
at com.caucho.vfs.ReaderStream.read(ReaderStream.java :67)
at com.caucho.vfs.ReadStream.readBuffer(ReadStream.ja va:1015)
at com.caucho.vfs.ReadStream.readChar(ReadStream.java :513)
at com.caucho.quercus.parser.QuercusParser.read(Querc usParser.java:4948)
at com.caucho.quercus.parser.QuercusParser.parsePhpTe xt(QuercusParser.java:4143)
at com.caucho.quercus.parser.QuercusParser.parseTop(Q uercusParser.java:489)
at com.caucho.quercus.parser.QuercusParser.parse(Quer cusParser.java:421)
at com.caucho.quercus.parser.QuercusParser.parse(Quer cusParser.java:322)
at com.caucho.quercus.script.QuercusScriptEngine.eval (QuercusScriptEngine.java:78)
...

Is there a workaround for that ?

Best Regards
Thorsten

emil
09-13-2010, 04:46 PM
Hi Thorsten,

What version of Quercus are you using?

Thanks,
Emil

toki78
09-20-2010, 11:23 AM
Hi Emil,

it is Version 3.

Regards
Thorsten