java.sql.SQLException: Invalid State

Oracle Community | 807581 | 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

    Error: ClassNotFoundException: org.postgresql.Driver

    Oracle Community | 1 decade ago | 807581
    java.sql.SQLException: Invalid State

    Root Cause Analysis

    1. java.sql.SQLException

      Invalid State

      at sun.jdbc.rowset.JdbcRowSet.checkState()
    2. sun.jdbc.rowset
      JdbcRowSet.isBeforeFirst
      1. sun.jdbc.rowset.JdbcRowSet.checkState(JdbcRowSet.java:183)
      2. sun.jdbc.rowset.JdbcRowSet.isBeforeFirst(JdbcRowSet.java:1405)
      2 frames
    3. org.netbeans.lib
      TextDocument.<init>
      1. org.netbeans.lib.sql.NBJdbcRowSet.rememberRow(NBJdbcRowSet.java:157)
      2. org.netbeans.lib.sql.NBJdbcRowSet.size(NBJdbcRowSet.java:187)
      3. org.netbeans.lib.sql.models.TextDocument.init(TextDocument.java:127)
      4. org.netbeans.lib.sql.models.TextDocument.<init>(TextDocument.java:78)
      4 frames
    4. Unknown
      jdbc1.main
      1. jdbc1.initComponents(jdbc1.java:100)
      2. jdbc1.<init>(jdbc1.java:21)
      3. jdbc1.main(jdbc1.java:214)
      3 frames