[teiid-issues] [JBoss JIRA] (TEIID-1960) Client recieving java.lang.IndexOutOfBoundsException in

Andriy Rokhmanov (JIRA) jira-events at lists.jboss.org
Thu Apr 26 15:05:17 EDT 2012


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

Andriy Rokhmanov edited comment on TEIID-1960 at 4/26/12 3:04 PM:
------------------------------------------------------------------

I think I am able to reproduce the same issue, so I would like to reopen this defect. Please see attached results of executing two queries - one with one field and one constant, and second with two fields (two or more, does not matter) and a constant. Note that the execution was done against multi-source model (2 sources defined). If use single source configuration - both queries works fine.

Note: we use now Teiid 7.7.1, built from Teiid 7.7.x branch on 04/22/12.
                
      was (Author: rokhmanov):
    I think I am able to reproduce the same issue, so I would like to reopen this defect. Please see attached results of executing two queries - one with one field and one constant, and second with two fields (two or more, does not matter) and a constant. Note that the execution was done against multi-source model (2 sources defined). If use single source configuration - both queries works fine.
                  
> Client recieving java.lang.IndexOutOfBoundsException in 
> --------------------------------------------------------
>
>                 Key: TEIID-1960
>                 URL: https://issues.jboss.org/browse/TEIID-1960
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.6
>         Environment: JBoss 5.1.0.GA Teiid Engine 7.6.0.Final 64-bit Java 1.7.0
>            Reporter: Tim Bruce
>            Assignee: Steven Hawkins
>         Attachments: plan.error.txt, plan.ok.txt, server.log.zip, serverlog.error.txt
>
>
> 01 Mar 2012 21:37:21,891 GMT ERROR [org.teiid.TRANSPORT] (Worker225_QueryProcessorQueue13539) Unhandled exception, closing client instance
> java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
> 	at java.util.ArrayList.rangeCheck(ArrayList.java:615)
> 	at java.util.ArrayList.get(ArrayList.java:393)
> 	at org.teiid.client.BatchSerializer.writeIsNullData(BatchSerializer.java:226)
> 	at org.teiid.client.BatchSerializer$ColumnSerializer.writeColumn(BatchSerializer.java:262)
> 	at org.teiid.client.BatchSerializer.writeBatch(BatchSerializer.java:542)
> 	at org.teiid.client.ResultsMessage.writeExternal(ResultsMessage.java:277)
> 	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1463)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1434)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:363)
> 	at org.teiid.net.socket.Message.writeExternal(Message.java:56)
> 	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1463)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1434)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:363)
> 	at org.teiid.transport.ObjectEncoder.handleDownstream(ObjectEncoder.java:115)
> 	at org.jboss.netty.channel.Channels.write(Channels.java:611)
> 	at org.jboss.netty.channel.Channels.write(Channels.java:578)
> 	at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:258)
> 	at org.teiid.transport.SSLAwareChannelHandler$ObjectChannelImpl.write(SSLAwareChannelHandler.java:94)
> 	at org.teiid.transport.SocketClientInstance.send(SocketClientInstance.java:82)
> 	at org.teiid.transport.ServerWorkItem.sendResult(ServerWorkItem.java:127)
> 	at org.teiid.transport.ServerWorkItem$1.onCompletion(ServerWorkItem.java:99)
> 	at org.teiid.client.util.ResultsFuture.done(ResultsFuture.java:130)
> 	at org.teiid.client.util.ResultsFuture.access$200(ResultsFuture.java:37)
> 	at org.teiid.client.util.ResultsFuture$1.receiveResults(ResultsFuture.java:75)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.sendResultsIfNeeded(RequestWorkItem.java:674)
> 	at org.teiid.dqp.internal.process.RequestWorkItem$1.flushBatchDirect(RequestWorkItem.java:528)
> 	at org.teiid.query.processor.BatchCollector.flushBatch(BatchCollector.java:174)
> 	at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:149)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:370)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:287)
> 	at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:215)
> 	at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:232)
> 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
> 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
> 	at java.lang.Thread.run(Thread.java:769)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list