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

Sergey Kozlov updated IGNITE-8521:
----------------------------------
    Description: 
1. Start {{bin/ignite.sh examples/config/example-ignite.xml}}
2. Start {{CacheContinuousQueryWithTransformerExample}} in IDEA
{noformat}
>>> Cache continuous query with transformer example started.
[17:35:40] Ignite node stopped OK [uptime=00:00:00.386]
Exception in thread "main" javax.cache.CacheException
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:676)
        at 
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.query(GatewayProtectedCacheProxy.java:344)
        at 
org.apache.ignite.examples.datagrid.CacheContinuousQueryWithTransformerExample.main(CacheContinuousQueryWithTransformerExample.java:96)
Caused by: java.lang.NullPointerException
        at 
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
        at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.stopRoutine(GridContinuousProcessor.java:1022)
        at 
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery0(CacheContinuousQueryManager.java:706)
        at 
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery(CacheContinuousQueryManager.java:517)
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.queryContinuous(IgniteCacheProxyImpl.java:569)
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:658)
        ... 2 more
{noformat}

  was:
1. Start {{bin/ignite.sh examples/config/example-ignite.xml}}
2. Start {{CacheContinuousQueryWithTransformerExample }} in IDEA
{noformat}
>>> Cache continuous query with transformer example started.
[17:35:40] Ignite node stopped OK [uptime=00:00:00.386]
Exception in thread "main" javax.cache.CacheException
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:676)
        at 
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.query(GatewayProtectedCacheProxy.java:344)
        at 
org.apache.ignite.examples.datagrid.CacheContinuousQueryWithTransformerExample.main(CacheContinuousQueryWithTransformerExample.java:96)
Caused by: java.lang.NullPointerException
        at 
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
        at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.stopRoutine(GridContinuousProcessor.java:1022)
        at 
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery0(CacheContinuousQueryManager.java:706)
        at 
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery(CacheContinuousQueryManager.java:517)
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.queryContinuous(IgniteCacheProxyImpl.java:569)
        at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:658)
        ... 2 more
{noformat}


> CacheContinuousQueryWithTransformerExample fails with NPE
> ---------------------------------------------------------
>
>                 Key: IGNITE-8521
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8521
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Sergey Kozlov
>            Priority: Critical
>             Fix For: 2.5
>
>
> 1. Start {{bin/ignite.sh examples/config/example-ignite.xml}}
> 2. Start {{CacheContinuousQueryWithTransformerExample}} in IDEA
> {noformat}
> >>> Cache continuous query with transformer example started.
> [17:35:40] Ignite node stopped OK [uptime=00:00:00.386]
> Exception in thread "main" javax.cache.CacheException
>       at 
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:676)
>       at 
> org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.query(GatewayProtectedCacheProxy.java:344)
>       at 
> org.apache.ignite.examples.datagrid.CacheContinuousQueryWithTransformerExample.main(CacheContinuousQueryWithTransformerExample.java:96)
> Caused by: java.lang.NullPointerException
>       at 
> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>       at 
> org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.stopRoutine(GridContinuousProcessor.java:1022)
>       at 
> org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery0(CacheContinuousQueryManager.java:706)
>       at 
> org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.executeQuery(CacheContinuousQueryManager.java:517)
>       at 
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.queryContinuous(IgniteCacheProxyImpl.java:569)
>       at 
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:658)
>       ... 2 more
> {noformat}



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

Reply via email to