Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1525

TeiidSQLException during preview data action

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 8.0
    • 8.0
    • VDB & Execution
    • None

      Paul Nittel received a TeiidSQLException previewing a PartsSupplier DB

      Ramesh Reddy commented: You are calling resultset.getObject(), after the last row has passed.
      i.e. you are not checking "resultset.next()" is true or not.

      org.teiid.jdbc.TeiidSQLException: ResultSet cursor is after the last row.
      at org.teiid.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:203)
      at org.teiid.jdbc.ResultSetImpl.getString(ResultSetImpl.java:773)
      at org.teiid.jdbc.ResultSetImpl.getString(ResultSetImpl.java:778)
      at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.getExecutionPlan(TeiidAdHocScriptRunnable.java:334)
      at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.handleShowExecutionPlan(TeiidAdHocScriptRunnable.java:249)
      at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.access$0(TeiidAdHocScriptRunnable.java:248)
      at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable$UpdatePlanViewRunnable.run(TeiidAdHocScriptRunnable.java:290)

              blafond Barry LaFond
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: