[
https://issues.jboss.org/browse/TEIID-3438?page=com.atlassian.jira.plugin...
]
Kylin Soong commented on TEIID-3438:
------------------------------------
Thanks, I verified with previous code no NPE, it be solved.
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: 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)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)