Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003154 [Quercus] minor always 12-11-08 21:35 12-12-08 08:59
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003154: ArrayIndexOutOfBoundsException when loading classes
Description When I load our code, I get an exception like this:

java.lang.ArrayIndexOutOfBoundsException: 824
    at com.caucho.quercus.env.Env.createQuercusClass(Env.java:4167)
    at com.caucho.quercus.env.Env.addClass(Env.java:3956)
    at com.caucho.quercus.env.Env.addClass(Env.java:3974)
    at com.caucho.quercus.program.ClassDefStatement.execute(ClassDefStatement.java:56)
    at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:328)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:71)
    at com.caucho.quercus.env.Env.include(Env.java:4367)
    at com.caucho.quercus.env.Env.includeOnce(Env.java:4317)
    at com.caucho.quercus.expr.IncludeOnceExpr.eval(IncludeOnceExpr.java:89)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
...

The array index starts at 256, then goes to 512 the next time I try to load, and keeps increasing (not doubling each time, just going up by irregular amounts). Eventually the number gets high enough to cover all of our classes and the error stops happening.
Additional Information
Attached Files

- Relationships

- Notes
(0003607)
nam
12-12-08 08:59

php/0ac0
 

- Issue History
Date Modified Username Field Change
12-11-08 21:35 koreth New Issue
12-12-08 08:59 nam Status new => assigned
12-12-08 08:59 nam Assigned To  => nam
12-12-08 08:59 nam Status assigned => closed
12-12-08 08:59 nam Note Added: 0003607
12-12-08 08:59 nam Resolution open => fixed
12-12-08 08:59 nam Fixed in Version  => 4.0.0


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