Bug 780671 (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.
Summary: In org.teiid.jdbc.StatementImpl, as there have been no batched updates the ba...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3112
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0 ER1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 13:00 UTC by dsteigne
Modified: 2011-11-04 12:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-04 12:55:28 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3112 0 None None None Never
Red Hat Issue Tracker TEIID-1641 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.