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

Kylin Soong (JIRA) issues at jboss.org
Sun Apr 19 23:59:18 EDT 2015


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

Kylin Soong edited comment on TEIID-3438 at 4/19/15 11:58 PM:
--------------------------------------------------------------

Reproduce Procedures
==================

* Download zip file and unzip

* 'mvn clean install exec:java' will execute failed with NPE as description.

NOTE: 1. if mvn build download dependency failed, use -s point to  teiid's settings.xml(mvn clean install -s <path to teiid setting.xml> exec:java)
          2. change pom.xml teiid.version to 8.11.0.Alpha3-SNAPSHOT or later version, mvn command will execute success 


was (Author: kylin):
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)


More information about the teiid-issues mailing list