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

NPE when running remote query operation with hotrod protocol 2.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.4.0.CR3
    • 9.4.0.CR2
    • 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.

    Description

      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

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            vrigamon@redhat.com Vittorio Rigamonti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: