Hi, Yes, this is a bug that was introduced in version 1.4.184. It is fixed in the trunk.
Regards, Thomas On Thursday, January 29, 2015, Rami Ojares <[email protected]> wrote: > .. and got the following error in one of my queries. > Any idea what this could be related to? > I know I have to dig deeper but wanted to share early on. > Downgrading back to 182 removed the error. > > org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: > Unexpected code path" [50000-185] > at org.h2.message.DbException.getJdbcSQLException( > DbException.java:345) > at org.h2.message.DbException.get(DbException.java:168) > at org.h2.message.DbException.convert(DbException.java:295) > at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:221) > at org.h2.server.TcpServerThread.run(TcpServerThread.java:161) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.RuntimeException: Unexpected code path > at org.h2.message.DbException.throwInternalError(DbException.java:242) > at org.h2.message.DbException.throwInternalError(DbException.java:255) > at org.h2.expression.Wildcard.isEverything(Wildcard.java:100) > at org.h2.command.dml.Select.isEverything(Select.java:1313) > at org.h2.table.TableView.isQueryComparable(TableView.java:268) > at org.h2.expression.Comparison.createIndexConditions( > Comparison.java:366) > at org.h2.table.TableFilter.mapAndAddFilter(TableFilter.java:598) > at org.h2.table.TableFilter.addJoin(TableFilter.java:582) > at org.h2.command.Parser.readJoin(Parser.java:1512) > at org.h2.command.Parser.parseJoinTableFilter(Parser.java:1872) > at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1867) > at org.h2.command.Parser.parseSelectSimple(Parser.java:1975) > at org.h2.command.Parser.parseSelectSub(Parser.java:1860) > at org.h2.command.Parser.parseSelectUnion(Parser.java:1681) > at org.h2.command.Parser.parseSelect(Parser.java:1669) > at org.h2.command.Parser.parsePrepared(Parser.java:433) > at org.h2.command.Parser.parse(Parser.java:305) > at org.h2.command.Parser.parse(Parser.java:277) > at org.h2.command.Parser.prepareCommand(Parser.java:242) > at org.h2.engine.Session.prepareLocal(Session.java:446) > at org.h2.server.TcpServerThread.process(TcpServerThread.java:264) > at org.h2.server.TcpServerThread.run(TcpServerThread.java:159) > ... 1 more > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
