java.lang.NullPointerException

hsqldb | fabio_patricio | 1 decade 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

    NullPointer in insert statement

    hsqldb | 1 decade ago | fabio_patricio
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.io.FileDescriptor.sync()
    2. Java RT
      FileDescriptor.sync
      1. java.io.FileDescriptor.sync(Native Method)
      1 frame
    3. HSQLDB
      jdbcStatement.execute
      1. org.hsqldb.scriptio.ScriptWriterBase.sync(Unknown Source)
      2. org.hsqldb.scriptio.ScriptWriterText.writeRow(Unknown Source)
      3. org.hsqldb.Log.writeInsertStatement(Unknown Source)
      4. org.hsqldb.Logger.writeInsertStatement(Unknown Source)
      5. org.hsqldb.Table.insertNoCheck(Unknown Source)
      6. org.hsqldb.Table.insertRow(Unknown Source)
      7. org.hsqldb.Table.insert(Unknown Source)
      8. org.hsqldb.CompiledStatementExecutor.executeInsertValuesStatement(Unknown Source)
      9. org.hsqldb.CompiledStatementExecutor.executeImpl(Unknown Source)
      10. org.hsqldb.CompiledStatementExecutor.execute(Unknown Source)
      11. org.hsqldb.Session.sqlExecuteCompiledNoPreChecks(Unknown Source)
      12. org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source)
      13. org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source)
      14. org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source)
      15. org.hsqldb.Session.execute(Unknown Source)
      16. org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
      17. org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
      17 frames
    4. br.com.tce
      ReadFile.read
      1. br.com.tce.database.Database.insert(Database.java:65)
      2. br.com.tce.file.ReadFile.insertDatabase(ReadFile.java:108)
      3. br.com.tce.file.ReadFile.read(ReadFile.java:57)
      3 frames