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

NPE in GridMapQueryExecutor under load on changing topology

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • sprint-7
    • cache
    • None

    Description

      The error is reproduced with "streaming.wordcount" example.

      1. Start instance of ExampleNodeStartup
      2. Start StreamWords instance
      3. Start QueryWords instance
      4. Watch query results coming
      5. Start another ExampleNodeStartup instance.

      On the new ExampleNodeStartup I get the following error:

      [08:31:31]   /  _/ ___/ |/ /  _/_  __/ __/ 
      [08:31:31]  _/ // (7 7    // /  / / / _/   
      [08:31:31] /___/\___/_/|_/___/ /_/ /___/  
      [08:31:31]  
      [08:31:31] ver. 1.0.4#20150507-sha1:0c13a08b
      [08:31:31] 2015 Copyright(C) Apache Software Foundation
      [08:31:31] 
      [08:31:31] Quiet mode.
      [08:31:31]   ^-- Logging to file '/Users/Dmitriy/GridGain/gitroot/incubator-ignite/work/log/ignite-0b843b9b.log'
      [08:31:31]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
      [08:31:31] 
      [08:31:31] Configured plugins:
      [08:31:31]   ^-- None
      [08:31:31] 
      [08:31:33,018][ERROR][ignite-#8%pub-null%][GridMapQueryExecutor] Failed to process message: GridQueryRequest [reqId=57, pageSize=1024, space=words, qrys=[GridCacheSqlQuery [alias=__Z0(), qry=SELECT
          _VAL __C0,
          COUNT(_VAL) __C1
      FROM "words".STRING
      GROUP BY __C0
      ORDER BY 2 DESC LIMIT 10, params=[]]]]
      java.lang.NullPointerException
      	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:225)
      	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onMessage(GridMapQueryExecutor.java:150)
      	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor$2.onMessage(GridMapQueryExecutor.java:125)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1603)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:653)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      [08:31:34] Performance suggestions for grid  (fix if possible)
      [08:31:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
      [08:31:34]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled' to false)
      [08:31:34]   ^-- Disable grid events (remove 'includeEventTypes' from configuration)
      [08:31:34] 
      [08:31:34] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
      [08:31:34] 
      [08:31:34] Ignite node started OK (id=0b843b9b)
      [08:31:34] Topology snapshot [ver=7, nodes=3, CPUs=4, heap=9.6GB]
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsetrakyan Dmitriy Setrakyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: