[
https://issues.jboss.org/browse/TEIID-3438?page=com.atlassian.jira.plugin...
]
Kylin Soong updated TEIID-3438:
-------------------------------
Attachment: TEIID-3438.zip
Reproduce Procedures
==================
* Download zip file and unzip
* 'mvn clean install exec:java' will execute failed with NPE as description.
NOTE: 1. if mvn command download failed, use -s point to teiid's settings.xml(mvn
clean install -s <path to setting.xml> exec:java)
2. change pom.xml teiid.version to 8.11.0.Alpha3-SNAPSHOT or later version, mvn
command will execute success
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
Attachments: TEIID-3438.zip
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)