openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum has been closed down
This forum has been closed down due to extensive spamming activities. Please use the mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 1
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 6628 times and has 0 replies Next Thread
Nov 28, 2007 2:44:20 PM

wjfang
Member



Joined: Apr 4, 2005
Posts: 11
Status: Offline

java.lang.IndexOutOfBoundsException: index >= size

Hi,

I am using a sesame in memory repository with file backup. The sync delay is set to 200ms. I often come across such an exception:

Exception in thread "Timer-88410" java.lang.IndexOutOfBoundsException: index >=
size
at org.openrdf.sesame.sailimpl.memory.StatementList.get(StatementList.j
ava:88)
at org.openrdf.sesame.sailimpl.memory.MemStatementIterator._findNextSta
tement(MemStatementIterator.java:135)
at org.openrdf.sesame.sailimpl.memory.MemStatementIterator.next(MemStat
ementIterator.java:165)
at org.openrdf.sesame.export.RdfExport._writeStatements(RdfExport.java:
114)
at org.openrdf.sesame.export.RdfExport.exportRdf(RdfExport.java:78)
at org.openrdf.sesame.sailimpl.memory.RdfRepository._exportData(RdfRepo
sitory.java:471)
at org.openrdf.sesame.sailimpl.memory.RdfRepository._writeToFile(RdfRep
ository.java:457)
at org.openrdf.sesame.sailimpl.memory.RdfRepository.sync(RdfRepository.
java:431)
at org.openrdf.sesame.sailimpl.memory.RdfRepository$1.run(RdfRepository
.java:410)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

If I use an in-memory repository without backup file. Then this exception disappears.

I am using sesame 1.2. Java 1.5.0, on Linux.

Has anyone met this before? Many thanks in advance!

Cheers,

Weijian
Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]