Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9510

NPE when running remote query operation with hotrod protocol 2.4

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.4.0.Final
    • 9.4.0.Final
    • Server
    • None
    • Hide

      the C++ test/QueryTest.cpp reproduces the problem for me. Any 2.4 client probably does the same.

      Show
      the C++ test/QueryTest.cpp reproduces the problem for me. Any 2.4 client probably does the same.

      I have a query that runs with 9.3.1 and fails with 9.4.0.CR2 with NPE:

      15:22:40,145 DEBUG [org.infinispan.query.remote.impl.QueryFacadeImpl] (HotRod-ServerHandler-6-12) Error executing remote query : null: java.lang.NullPointerException
      at org.infinispan.query.remote.impl.QuerySerializers.getSerializer(QuerySerializers.java:19)
      at org.infinispan.query.remote.impl.BaseRemoteQueryManager.decodeQueryRequest(BaseRemoteQueryManager.java:63)
      at org.infinispan.query.remote.impl.QueryFacadeImpl.query(QueryFacadeImpl.java:44)
      at org.infinispan.server.hotrod.HotRodServer.query(HotRodServer.java:148)
      at org.infinispan.server.hotrod.CacheRequestProcessor.queryInternal(CacheRequestProcessor.java:493)
      at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$query$31(CacheRequestProcessor.java:488)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      at java.lang.Thread.run(Thread.java:748)

      .proto model seems registered correctly
      query is very simple: from sample_bank_account.User
      using old hotrod 2.4

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              vrigamon@redhat.com Vittorio Rigamonti
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: