java.lang.ArithmeticException: / by zero

hsqldb | *anonymous | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HSQL 2.0.0: / by zero when reading db.log

    hsqldb | 7 years ago | *anonymous
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at org.hsqldb.persist.LobManager.setBytesBA()
    2. HSQLDB
      JDBCDriver.connect
      1. org.hsqldb.persist.LobManager.setBytesBA(Unknown Source)
      2. org.hsqldb.persist.LobManager.setChars(Unknown Source)
      3. org.hsqldb.Session.performLOBOperation(Unknown Source)
      4. org.hsqldb.Session.execute(Unknown Source)
      5. org.hsqldb.types.ClobDataID.setString(Unknown Source)
      6. org.hsqldb.types.CharacterType.castOrConvertToType(Unknown Source)
      7. org.hsqldb.types.CharacterType.convertToType(Unknown Source)
      8. org.hsqldb.ParserRoutine.readDefaultClause(Unknown Source)
      9. org.hsqldb.ParserDDL.readColumnDefinitionOrNull(Unknown Source)
      10. org.hsqldb.ParserDDL.compileCreateTableBody(Unknown Source)
      11. org.hsqldb.ParserDDL.compileCreateTable(Unknown Source)
      12. org.hsqldb.ParserDDL.compileCreate(Unknown Source)
      13. org.hsqldb.ParserCommand.compilePart(Unknown Source)
      14. org.hsqldb.ParserCommand.compileStatement(Unknown Source)
      15. org.hsqldb.Session.executeDirectStatement(Unknown Source)
      16. org.hsqldb.persist.ScriptRunner.runScript(Unknown Source)
      17. org.hsqldb.persist.Log.processLog(Unknown Source)
      18. org.hsqldb.persist.Log.open(Unknown Source)
      19. org.hsqldb.persist.Logger.openPersistence(Unknown Source)
      20. org.hsqldb.Database.reopen(Unknown Source)
      21. org.hsqldb.Database.open(Unknown Source)
      22. org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
      23. org.hsqldb.DatabaseManager.newSession(Unknown Source)
      24. org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
      25. org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
      26. org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
      26 frames
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:582)
      2. java.sql.DriverManager.getConnection(DriverManager.java:185)
      2 frames
    4. HSQLDB
      ConnectionDialogSwing.createConnection
      1. org.hsqldb.util.ConnectionDialogSwing.createConnection(Unknown Source)
      1 frame