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

TeiidSQLException during preview data action

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.0
    • Fix Version/s: 8.0
    • Component/s: VDB & Execution
    • Labels:
      None

      Description

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: