Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1812

Client Recieving java.lang.IndexOutOfBoundsException when performing query

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.6
    • 7.5
    • ODBC
    • None
    • Hide

      Set the system property org.teiid.ODBCPacketSize to 40. This will effectively disable multi-row buffering.

      Show
      Set the system property org.teiid.ODBCPacketSize to 40. This will effectively disable multi-row buffering.

      When attempting to perform the following query using the postgres command line client connecting to teiids postgres emulation layer, we get the following error

      SELECT components.name, COUNT(bug_id) FROM BugzillaS.bugs bugs, BugzillaS.components components, BugzillaS.profiles profiles WHERE (bugs.component_id = 
                  components.id AND bugs.reporter = profiles.userid AND bugs.creation_ts>='2011-10-04') GROUP BY components.name ORDER BY components.name limit 1500;
      
      ERROR:  java.lang.IndexOutOfBoundsException
      DETAIL:  org.teiid.jdbc.TeiidSQLException: java.lang.IndexOutOfBoundsException
      

      Watching the server logs we don't see any such exception reported there, so I'd need some advice on how to get you some more information.

      Regards,

      Graeme

            rhn-engineering-shawkins Steven Hawkins
            graeme.gillies Graeme Gillies (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: