]
Steven Hawkins updated TEIID-3438:
----------------------------------
Fix Version/s: 6.2-8.7.2
Null value returned from BlobImpl getBytes
------------------------------------------
Key: TEIID-3438
URL:
https://issues.jboss.org/browse/TEIID-3438
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.7
Reporter: Kylin Soong
Assignee: Steven Hawkins
Fix For: 6.2-8.7.2, 8.10.1, 8.11
If translator retrieveValue return a empty Blob, the engine will throw NPE as below
Caused by: java.lang.NullPointerException
at javax.sql.rowset.serial.SerialBlob.<init>(SerialBlob.java:100)
at org.teiid.common.buffer.LobManager.persistLob(LobManager.java:226)
at org.teiid.common.buffer.LobManager.updateReferences(LobManager.java:141)
at org.teiid.common.buffer.TupleBuffer.addTupleBatch(TupleBuffer.java:203)
at org.teiid.query.processor.BatchCollector.flushBatchDirect(BatchCollector.java:229)
at
org.teiid.dqp.internal.process.RequestWorkItem$1.flushBatchDirect(RequestWorkItem.java:653)