Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8521

CacheContinuousQueryWithTransformerExample fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5
    • 2.5
    • None
    • None

    Description

      1. Start bin/ignite.sh examples/config/example-ignite.xml
      2. Start CacheContinuousQueryWithTransformerExample in IDEA

      >>> 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
      

      Attachments

        Issue Links

          Activity

            People

              agoncharuk Alexey Goncharuk
              skozlov Sergey Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: