Hi, The stack trace of the exception is also written to the <databaseName>.trace.db file. Without the stack trace, I'm afraid it's not possible to solve the problem.
Regards, Thomas On Sun, Feb 22, 2009 at 3:00 AM, Chris Schanck <[email protected]> wrote: > > I have 2 problems; 1, I can't reproduce it with the stable build > (which is now running in our test environment), and our code catches > the sql exception and throws a different exception, losing the stack > trace. I am going to instrument things more, but I have not been able > to reproduce it outside of the test servers. > > We have 4 servers, running continuous acceptance tests (2000+ tests) > against a set of database backends; H2 is our preferred embedded db. > They run a permutation of obfuscated, java5/java6, 32-bit/64-bit, > windows/linux builds. About 1 time in 15 with H2 (disk based) we see > this error; we never see it using the in memory H2 systems. It is > always a batch insert of 100-1000 records. > > If I can free up a server just for this, I'll do so, but it might take > a while (we have other development going on <grin>) and as long as it > is fixed by downgrading to stable, it is not a show-stopper for us. > But I'll try. > > Appreciate any help you can give me, > > Chris > > On Sat, Feb 21, 2009 at 10:00 AM, Evan Nelson <[email protected]> wrote: >> >> I actually might be working on fixing the problem you're running into. >> (Maybe.) Could you post the full stack trace, and if possible, the >> part of the query that's failing? (Understandable if the query is too >> much to post or you don't know exactly what part is breaking) >> >> -Evan >> >> P.S. No, I'm not an official H2 developer, just some guy who's started >> writing patches for H2 a few weeks ago. >> >> On Feb 20, 4:12 pm, Chris Schanck <[email protected]> wrote: >>> Note that this was against the latest build, 1.1.107. I am going to >>> change to the latest stable and start the test servers again and see >>> what that changes. >>> >>> On Fri, Feb 20, 2009 at 4:03 PM, [email protected] <[email protected]> >>> wrote: >>> >>> > Thomas, >>> >>> > All of a sudden, we are seeing this error: >>> >>> > org.h2.jdbc.JdbcBatchUpdateException: General error: >>> > java.lang.RuntimeException: Unexpected code path [50000-107] >>> > .... >>> >>> > Any idea what would prompt this? It is at the end of a case where we >>> > are doing a batch execute of somewhere between 100-1000 insertions. >>> >>> -- >>> C. Schanck >> > >> > > > > -- > C. Schanck > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. 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 -~----------~----~----~----~------~----~------~--~---
