ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kcheng.mvp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-10501) javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52, class java.lang.ArrayIndexOutOfBoundsException:null
Date Sat, 01 Dec 2018 10:57:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-10501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

kcheng.mvp updated IGNITE-10501:
--------------------------------
    Description: 
Runs into this error,  with below sql

 

 
{code:java}
select u._key, u.nickName, u.photoUrl from USER_BASIC.user u, table(uid bigint = ?) tuids
where u._key = tuids.uid{code}
 

 
{code:java}
query = new SqlFieldsQuery(GET_USER_BASIC_INFO);
query.setArgs(createdByList.stream().toArray(Long[]::new));{code}
 

 

when *createdByList* is an empty list, then above sql will run into error.

 

here is the full stack

 
{code:java}
Caused by: javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52,
class java.lang.ArrayIndexOutOfBoundsException:null
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:274)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:264)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:243)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onMessage(GridReduceQueryExecutor.java:187)
at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:2333)
at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624){code}
 

 

 

 

  was:
Runs into this error,  with below sql

select u._key, u.nickName, u.photoUrl from USER_BASIC.user u, table(uid bigint = ?) tuids
where u._key = tuids.uid

 

 

query = new SqlFieldsQuery(GET_USER_BASIC_INFO);
query.setArgs(createdByList.stream().toArray(Long[]::new));

 

when *createdByList* is an empty list, then above sql will run into error.

 

here is the full stack

 

 

Caused by: javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52,
class java.lang.ArrayIndexOutOfBoundsException:null
 at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:274)
 at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:264)
 at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:243)
 at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onMessage(GridReduceQueryExecutor.java:187)
 at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:2333)
 at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
 at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
 at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
 at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 

 

 


> javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52,
class java.lang.ArrayIndexOutOfBoundsException:null
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10501
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10501
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.6
>            Reporter: kcheng.mvp
>            Priority: Major
>
> Runs into this error,  with below sql
>  
>  
> {code:java}
> select u._key, u.nickName, u.photoUrl from USER_BASIC.user u, table(uid bigint = ?) tuids
where u._key = tuids.uid{code}
>  
>  
> {code:java}
> query = new SqlFieldsQuery(GET_USER_BASIC_INFO);
> query.setArgs(createdByList.stream().toArray(Long[]::new));{code}
>  
>  
> when *createdByList* is an empty list, then above sql will run into error.
>  
> here is the full stack
>  
> {code:java}
> Caused by: javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52,
class java.lang.ArrayIndexOutOfBoundsException:null
> at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:274)
> at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:264)
> at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:243)
> at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onMessage(GridReduceQueryExecutor.java:187)
> at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:2333)
> at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
> at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
> at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
> at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624){code}
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message