Bug 780671 (SOA-3112)

Summary: In org.teiid.jdbc.StatementImpl, as there have been no batched updates the batchedUpdates member hasn't been instantiated so clearBatch() throws a NPE.
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: dsteigne
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0 GA   
Target Milestone: ---   
Target Release: 5.2.0 ER1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3112
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 12:55:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description dsteigne 2011-06-17 13:00:13 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007CJ5n
project_key: SOA

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.

Comment 1 Van Halbert 2011-06-17 13:09:15 UTC
Link: Added: This issue Cloned to SOA-3113


Comment 3 David Le Sage 2011-07-15 05:52:36 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: dlesage


Comment 4 David Le Sage 2011-09-28 00:59:45 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Added: 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.


Comment 5 Paul Nittel 2011-11-04 12:55:28 UTC
Closed.