Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-3584

Client Recieving java.lang.IndexOutOfBoundsException when performing query

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.0.CR1
    • Fix Version/s: 5.3.0 GA
    • Component/s: EDS
    • Labels:
      None
    • Environment:
    • Workaround Description:
      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.

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  van.halbert Van Halbert
                  Reporter:
                  graeme.gillies Graeme Gillies
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: