> Sounds like a bug to me. Can you find a stack trace for this 
> exception 

I tried get the Exception with last xindice on CVS,
the stacktrace is:
S 64;0;22S 64;-6325;44DEBUG>
java.lang.IndexOutOfBoundsException
        at java.io.ByteArrayInputStream.read(Unknown Source)
        at 
org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1
001)
        at 
org.apache.xindice.core.filer.Paged.writeValue(Paged.java:198)
        at 
org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
173)
        at 
org.apache.xindice.core.Collection.putDocument(Collection.java:629
)
        at 
org.apache.xindice.core.Collection.setDocument(Collection.java:670
)
        at 
org.apache.xindice.core.Database.setConfig(Database.java:192)
        at 
org.apache.xindice.server.services.XindiceService.initialize(XindiceS
ervice.java:106)
        at 
org.apache.xindice.server.standard.StdServiceManager.addService(
StdSe
rviceManager.java:166)
        at 
org.apache.xindice.server.standard.StdServiceManager$1.process(
StdSer
viceManager.java:104)
        at 
org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
        at 
org.apache.xindice.server.standard.StdServiceManager.setConfig(St
dSer
viceManager.java:90)
        at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
        at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Script: 'GET' added to script storage

I get the called parameters for the method, which produces the 
Exception in 
org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1
001): ByteArrayInputStream.read(data, 64 - 6325, 44), 
where keyPos=64, header.keyLen=-6325, which is may be wrong 
and header.dataLen=44.

Tomas

Reply via email to