Hi Thomas,
Unfortunately I've been unable to reproduce this. It was on a
customer's computer, and I've collected what info and source data I
can from the customer.
Here's what info I can give you:
It's a desktop (Swing) app.
The app uses an H2 connection pool... (eg.
org.h2.jdbcx.JdbcConnectionPool.create(url, username, password))
Only the desktop apps uses the database.
The app is heavily multi-threaded.
The app uses H2 1.1.115. The database was created with 1.1.115 and
solely used with 1.1.115
Operating System: Mac OS X 10.5.7
Java Version: 1.5.0_19
File size of all database files (for the user in question) is about
140 Megabytes.
The h2 features in use are described by this URL, which is always used
to connect:
final String url =
"jdbc:h2:~/pokercopilot;" +
"MVCC=TRUE;" +
"CACHE_TYPE=SOFT_LRU;" +
"MAX_LENGTH_INPLACE_LOB=8192;" +
"DB_CLOSE_ON_EXIT=FALSE;" +
"COMPRESS_LOB=DEFLATE";
Full error stack trace:
org.springframework.jdbc.UncategorizedSQLException:
PreparedStatementCallback; uncategorized SQLException for SQL [update
PlayerSummary set starttime=?, takeincents=?, showdowntakeInCents=?,
nonshowdowntakeInCents=?, takeinbigblinds=?, timesseen=?, flopseen=?,
vpip=?, preflopraised=?, postflopbet=?, postflopraised=?,
postflopcalled=?, postflopfolded=?, postflopcallfoldbetorraise=?,
postflopbetorraised=?, blindstealattempt=?,
blindstealattemptopportunity=?, checkraised=?, wenttoshowdown=?,
wonatshowdown=?, wonwithoutshowdown=?, threebetpreflop=?,
threebetpreflopopportunity=?,
blindStealDefenseOpportunityOnBigBlind=?, calledPreflopRaise=?,
calledPreflopRaiseOpportunity=?, continuationBetPreflop=?,
continuationBetPreflopOpportunity=?, foldedToBlindStealOnBigBlind=?,
foldedToContinuationBet=?, foldedToContinuationBetOpportunity=?,
foldedToPreflopThreeBet=?, foldedToPreflopThreeBetOpportunity=? where
playerid=? and dayid=? and tablesize=? and gametypeid=? and ishero=?
and istournament=? and isplaymoney=? ]; SQL state [90112]; error code
[90112]; Fila no encontrada mientras se intentaba borrar del indice
PUBLIC.PLAYERSUMMARY_SHORT_IDX
Row not found when trying to delete from index
PUBLIC.PLAYERSUMMARY_SHORT_IDX; SQL statement:
update PlayerSummary set starttime=?, takeincents=?,
showdowntakeInCents=?, nonshowdowntakeInCents=?, takeinbigblinds=?,
timesseen=?, flopseen=?, vpip=?, preflopraised=?, postflopbet=?,
postflopraised=?, postflopcalled=?, postflopfolded=?,
postflopcallfoldbetorraise=?, postflopbetorraised=?,
blindstealattempt=?, blindstealattemptopportunity=?, checkraised=?,
wenttoshowdown=?, wonatshowdown=?, wonwithoutshowdown=?,
threebetpreflop=?, threebetpreflopopportunity=?,
blindStealDefenseOpportunityOnBigBlind=?, calledPreflopRaise=?,
calledPreflopRaiseOpportunity=?, continuationBetPreflop=?,
continuationBetPreflopOpportunity=?, foldedToBlindStealOnBigBlind=?,
foldedToContinuationBet=?, foldedToContinuationBetOpportunity=?,
foldedToPreflopThreeBet=?, foldedToPreflopThreeBetOpportunity=? where
playerid=? and dayid=? and tablesize=? and gametypeid=? and ishero=?
and istournament=? and isplaymoney=? [90112-115]; nested exception is
org.h2.jdbc.JdbcSQLException: Fila no encontrada mientras se intentaba
borrar del indice PUBLIC.PLAYERSUMMARY_SHORT_IDX
Row not found when trying to delete from index
PUBLIC.PLAYERSUMMARY_SHORT_IDX; SQL statement:
update PlayerSummary set starttime=?, takeincents=?,
showdowntakeInCents=?, nonshowdowntakeInCents=?, takeinbigblinds=?,
timesseen=?, flopseen=?, vpip=?, preflopraised=?, postflopbet=?,
postflopraised=?, postflopcalled=?, postflopfolded=?,
postflopcallfoldbetorraise=?, postflopbetorraised=?,
blindstealattempt=?, blindstealattemptopportunity=?, checkraised=?,
wenttoshowdown=?, wonatshowdown=?, wonwithoutshowdown=?,
threebetpreflop=?, threebetpreflopopportunity=?,
blindStealDefenseOpportunityOnBigBlind=?, calledPreflopRaise=?,
calledPreflopRaiseOpportunity=?, continuationBetPreflop=?,
continuationBetPreflopOpportunity=?, foldedToBlindStealOnBigBlind=?,
foldedToContinuationBet=?, foldedToContinuationBetOpportunity=?,
foldedToPreflopThreeBet=?, foldedToPreflopThreeBetOpportunity=? where
playerid=? and dayid=? and tablesize=? and gametypeid=? and ishero=?
and istournament=? and isplaymoney=? [90112-115]
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate
(AbstractFallbackSQLExceptionTranslator.java:83)
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate
(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute
(JdbcTemplate.java:607)
at org.springframework.jdbc.core.JdbcTemplate.update
(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update
(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update
(JdbcTemplate.java:858)
at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update
(SimpleJdbcTemplate.java:237)
at com.barbarysoftware.pokercopilot.database.ax.update(SourceFile:
283)
at com.barbarysoftware.pokercopilot.database.ac.a(SourceFile:412)
at com.barbarysoftware.pokercopilot.database.ac.a(SourceFile:96)
at com.barbarysoftware.pokercopilot.database.ac.b(SourceFile:79)
at com.barbarysoftware.pokercopilot.database.ac.a(SourceFile:34)
at
com.barbarysoftware.pokercopilot.database.ah.doInTransactionWithoutResult
(SourceFile:51)
at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction
(TransactionCallbackWithoutResult.java:33)
at
org.springframework.transaction.support.TransactionTemplate.execute
(TransactionTemplate.java:128)
at com.barbarysoftware.pokercopilot.database.ac.a(SourceFile:48)
at com.barbarysoftware.pokercopilot.loader.q.a(SourceFile:43)
at com.barbarysoftware.pokercopilot.loader.q.run(SourceFile:28)
Caused by: org.h2.jdbc.JdbcSQLException: Fila no encontrada mientras
se intentaba borrar del indice PUBLIC.PLAYERSUMMARY_SHORT_IDX
at org.springframework.jdbc.core.JdbcTemplate
$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute
(JdbcTemplate.java:591)
... 15 more
Sorry I can't provide more useful info.
Rgds
Steve
On Jul 23, 9:41 am, Thomas Mueller <
thomas.tom.muel...@gmail.com>
wrote: