seasonorg.h2.jdbc.JdbcSQLException: Table "CONFERENCE_MAP" not found; SQL statement:select "ID", "SEASON_ID", "CONFERENCE_ID", "TEAM_ID" from "CONFERENCE_MAP" where ("SEASON_ID" = 1)

Google Groups | fijimf | 3 months ago
  1. 0

    H2 Table not found during test; Exception not caught

    Google Groups | 3 months ago | fijimf
    seasonorg.h2.jdbc.JdbcSQLException: Table "CONFERENCE_MAP" not found; SQL statement:select "ID", "SEASON_ID", "CONFERENCE_ID", "TEAM_ID" from "CONFERENCE_MAP" where ("SEASON_ID" = 1)

    Root Cause Analysis

    1. seasonorg.h2.jdbc.JdbcSQLException

      Table "CONFERENCE_MAP" not found; SQL statement:select "ID", "SEASON_ID", "CONFERENCE_ID", "TEAM_ID" from "CONFERENCE_MAP" where ("SEASON_ID" = 1)

      at org.h2.message.DbException.getJdbcSQLException()
    2. H2 Database Engine
      JdbcConnection.prepareStatement
      1. org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
      2. org.h2.message.DbException.get(DbException.java:179)
      3. org.h2.message.DbException.get(DbException.java:155)
      4. org.h2.command.Parser.readTableOrView(Parser.java:5261)
      5. org.h2.command.Parser.readTableFilter(Parser.java:1235)
      6. org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1874)
      7. org.h2.command.Parser.parseSelectSimple(Parser.java:1983)
      8. org.h2.command.Parser.parseSelectSub(Parser.java:1868)
      9. org.h2.command.Parser.parseSelectUnion(Parser.java:1689)
      10. org.h2.command.Parser.parseSelect(Parser.java:1677)
      11. org.h2.command.Parser.parsePrepared(Parser.java:433)
      12. org.h2.command.Parser.parse(Parser.java:305)
      13. org.h2.command.Parser.parse(Parser.java:277)
      14. org.h2.command.Parser.prepareCommand(Parser.java:242)
      15. org.h2.engine.Session.prepareLocal(Session.java:461)
      16. org.h2.engine.Session.prepareCommand(Session.java:403)
      17. org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1189)
      18. org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:72)
      19. org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:277)
      19 frames
    3. HikariCP-java6
      ConnectionJavassistProxy.prepareStatement
      1. com.zaxxer.hikari.proxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:268)
      2. com.zaxxer.hikari.proxy.ConnectionJavassistProxy.prepareStatement(ConnectionJavassistProxy.java)
      2 frames
    4. slick.jdbc
      StreamingInvokerAction$HeadOptionAction.run
      1. slick.jdbc.JdbcBackend$SessionDef$class.prepareStatement(JdbcBackend.scala:297)
      2. slick.jdbc.JdbcBackend$BaseSession.prepareStatement(JdbcBackend.scala:407)
      3. slick.jdbc.StatementInvoker.results(StatementInvoker.scala:33)
      4. slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)
      5. slick.jdbc.Invoker$class.foreach(Invoker.scala:48)
      6. slick.jdbc.StatementInvoker.foreach(StatementInvoker.scala:16)
      7. slick.jdbc.Invoker$class.firstOption(Invoker.scala:24)
      8. slick.jdbc.StatementInvoker.firstOption(StatementInvoker.scala:16)
      9. slick.jdbc.StreamingInvokerAction$HeadOptionAction.run(StreamingInvokerAction.scala:57)
      10. slick.jdbc.StreamingInvokerAction$HeadOptionAction.run(StreamingInvokerAction.scala:56)
      10 frames
    5. slick.backend
      DatabaseComponent$DatabaseDef$$anon$2.run
      1. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1(DatabaseComponent.scala:237)
      2. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run(DatabaseComponent.scala:237)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)[DEBUG]
      3 frames