使用H2 Debug Console发生异常

时间:2016-11-22 02:37:42

标签: h2 ignite

我在JVM参数中设置了-DIGNITE_H2_DEBUG_CONSOLE。 然后本地H2控制台启动。 但发生了异常:

  

一般错误:" java.lang.UnsupportedOperationException&#34 ;; SQL语句:       从INFORMATION_SCHEMA.SETTINGS中选择UPPER(VALUE)NAME =? [50000-191] HY000 / 50000       org.h2.jdbc.JdbcSQLException:常规错误:" java.lang.UnsupportedOperationException&#34 ;; SQL语句:       从INFORMATION_SCHEMA.SETTINGS中选择UPPER(VALUE)NAME =? [50000-191]           在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)           在org.h2.command.Command.executeQuery(Command.java:213)           在org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:110)           at org.h2.bnf.context.DbContents.readContents(DbContents.java:136)           ...           在java.lang.Thread.run(Thread.java:745)       引起:java.lang.UnsupportedOperationException           在org.apache.ignite.internal.processors.query.h2.opt.GridH2Row.setKey(GridH2Row.java:101)           在org.h2.table.MetaTable.add(MetaTable.java:1982)           在org.h2.table.MetaTable.generateRows(MetaTable.java:940)           在org.h2.index.MetaIndex.find(MetaIndex.java:50)           at org.h2.index.BaseIndex.find(BaseIndex.java:132)           at org.h2.index.IndexCursor.find(IndexCursor.java:169)           在org.h2.table.TableFilter.next(TableFilter.java:460)           在org.h2.command.dml.Select.queryFlat(Select.java:541)           ...           在org.h2.command.CommandContainer.query(CommandContainer.java:110)           在org.h2.command.Command.executeQuery(Command.java:201)           ......还有8个

1 个答案:

答案 0 :(得分:1)

这是一个众所周知的问题:https://issues.apache.org/jira/browse/IGNITE-3685

在即将推出的Apache Ignite 1.8中修复了它。