Hi all,

we are long time users of H2 and have come to love it's versatility. This 
love is not free of bumps though.

We've just faced the most strange one: 

(excerpt stack trace, full stack trace at bottom)

General error: "java.lang.RuntimeException: Unexpected code path"; SQL 
statement:
select max(this_.QUEUE_POSITION) as y0_ from HISTORY_QUEUE this_ limit ? 
[50000-160]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
at org.h2.message.DbException.get(DbException.java:158)
at org.h2.message.DbException.convert(DbException.java:281)
at org.h2.command.Command.executeQuery(Command.java:189)

                  .... 

We are using  *com.h2database:h2:1.3.160* and at this stage of the 
development we can't afford upgrading the version.

We connect to the DB using the URL:

jdbc:h2:C:\path\to\db;MAX_MEMORY_UNDO=20000;MAX_OPERATION_MEMORY=20000;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=100000;IFEXISTS=TRUE;MVCC=TRUE;CIPHER=AES;DB_CLOSE_ON_EXIT=FALSE
 


All the information (symptoms) we have are :

* We* can't *reproduce the error in a *single threaded* application with *high 
DB load*.
* We* can't* reproduce the error in a *multi threaded* application with *low 
DB load*.
* We* can* reproduce the error in a *multi threaded* application with *high 
DB load*.


Any help/feedback will be welcome. Thanks in advance,

Ignasi


-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/AyAAqx58VuMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to