[teiid-issues] [JBoss JIRA] (TEIID-3438) Null value returned from BlobImpl getBytes

Kylin Soong (JIRA) issues at jboss.org
Thu Apr 16 10:39:19 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059765#comment-13059765 ] 

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)


More information about the teiid-issues mailing list