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

Null pointer exception executing dynamic sql

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.7
    • Fix Version/s: 8.11
    • Component/s: Query Engine
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      With multiple client connections/threads rerun a procedure containing dynamic sql.

      Show
      With multiple client connections/threads rerun a procedure containing dynamic sql.

      Description

      When a procedure with dynamic sql is rerun the cloning of the group context allows for the same linked list to be modified by multiple threads leading to errors, which typically resemble a null pointer exception (for example at QueryResolver line 259 due to a null group). The cloning also allows for the group context groups to grow in number as the locally scoped groups are re-added.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                shawkins Steven Hawkins
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: