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

In org.teiid.jdbc.StatementImpl, as there have been no batched updates the batchedUpdates member hasn't been instantiated so clearBatch() throws a NPE.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 5.1.0 GA
    • Fix Version/s: 5.2.0 ER1
    • Component/s: EDS
    • Labels:
      None
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/SOA-3112

      In org.teiid.jdbc.StatementImpl, the batchedUpdates member would not be instantiated if there were no batched updates so clearBatch() would throw a null-pointer exception. A code fix has been applied to ensure it now instantiates correctly, so users will no longer encounter this exception.
      Show
      https://issues.jboss.org/browse/SOA-3112 In org.teiid.jdbc.StatementImpl, the batchedUpdates member would not be instantiated if there were no batched updates so clearBatch() would throw a null-pointer exception. A code fix has been applied to ensure it now instantiates correctly, so users will no longer encounter this exception.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      In org.teiid.jdbc.StatementImpl, as there have been no batched updates the batchedUpdates member hasn't been instantiated so clearBatch() throws a NPE.

      I have added a simple if (batchedUpdates != null) in clearBatch() on the Teiid 7.4 driver sources, please make this addition to EDS 5.2 driver.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  van.halbert Van Halbert
                  Reporter:
                  dsteigne Debbie Steigner
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: