Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0.3.Final
    • Fix Version/s: None
    • Component/s: Embedded Querying
    • Labels:
      None

      Description

      Happened on a load testing with 10 threads executing a query against a single node:

      java.util.concurrent.CompletionException: org.hibernate.search.exception.SearchException: Exception while searching locally
          at java.util.concurrent.CompletableFuture.encodeThrowable (CompletableFuture.java:314)
          at java.util.concurrent.CompletableFuture.completeThrowable (CompletableFuture.java:319)
          at java.util.concurrent.CompletableFuture$AsyncSupply.run (CompletableFuture.java:1766)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1130)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:630)
          at java.lang.Thread.run (Thread.java:832)
      Caused by: org.hibernate.search.exception.SearchException: Exception while searching locally
          at org.infinispan.query.clustered.ClusteredQueryInvoker.broadcast (ClusteredQueryInvoker.java:114)
          at org.infinispan.query.clustered.ClusteredCacheQueryImpl.broadcastQuery (ClusteredCacheQueryImpl.java:113)
          at org.infinispan.query.clustered.ClusteredCacheQueryImpl.iterator (ClusteredCacheQueryImpl.java:84)
          at org.infinispan.query.impl.CacheQueryImpl.iterator (CacheQueryImpl.java:144)
          at org.infinispan.query.dsl.embedded.impl.EmbeddedLuceneQuery.iterator (EmbeddedLuceneQuery.java:93)
          at org.infinispan.query.core.impl.HybridQuery.getBaseIterator (HybridQuery.java:48)
          at org.infinispan.query.core.impl.HybridQuery.getInternalIterator (HybridQuery.java:44)
          at org.infinispan.query.core.impl.BaseEmbeddedQuery.listInternal (BaseEmbeddedQuery.java:84)
          at org.infinispan.query.core.impl.BaseEmbeddedQuery.execute (BaseEmbeddedQuery.java:65)
          at org.infinispan.query.core.impl.DelegatingQuery.execute (DelegatingQuery.java:111)
          at org.infinispan.query.QueryPerf$TimeBoundQueryNode.executeTask (QueryPerf.java:444)
          at org.infinispan.query.QueryPerf$TaskNode.lambda$run$1 (QueryPerf.java:306)
          at java.util.concurrent.CompletableFuture$AsyncSupply.run (CompletableFuture.java:1764)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1130)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:630)
          at java.lang.Thread.run (Thread.java:832)
      Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: java.lang.NullPointerException
          at java.util.concurrent.FutureTask.report (FutureTask.java:122)
          at java.util.concurrent.FutureTask.get (FutureTask.java:191)
          at org.infinispan.query.clustered.ClusteredQueryInvoker.broadcast (ClusteredQueryInvoker.java:104)
          at org.infinispan.query.clustered.ClusteredCacheQueryImpl.broadcastQuery (ClusteredCacheQueryImpl.java:113)
          at org.infinispan.query.clustered.ClusteredCacheQueryImpl.iterator (ClusteredCacheQueryImpl.java:84)
          at org.infinispan.query.impl.CacheQueryImpl.iterator (CacheQueryImpl.java:144)
          at org.infinispan.query.dsl.embedded.impl.EmbeddedLuceneQuery.iterator (EmbeddedLuceneQuery.java:93)
          at org.infinispan.query.core.impl.HybridQuery.getBaseIterator (HybridQuery.java:48)
          at org.infinispan.query.core.impl.HybridQuery.getInternalIterator (HybridQuery.java:44)
          at org.infinispan.query.core.impl.BaseEmbeddedQuery.listInternal (BaseEmbeddedQuery.java:84)
          at org.infinispan.query.core.impl.BaseEmbeddedQuery.execute (BaseEmbeddedQuery.java:65)
          at org.infinispan.query.core.impl.DelegatingQuery.execute (DelegatingQuery.java:111)
          at org.infinispan.query.QueryPerf$TimeBoundQueryNode.executeTask (QueryPerf.java:444)
          at org.infinispan.query.QueryPerf$TaskNode.lambda$run$1 (QueryPerf.java:306)
          at java.util.concurrent.CompletableFuture$AsyncSupply.run (CompletableFuture.java:1764)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1130)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:630)
          at java.lang.Thread.run (Thread.java:832)
      Caused by: org.hibernate.search.exception.SearchException: java.lang.NullPointerException
          at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4 (ClusteredQueryInvoker.java:124)
          at java.util.concurrent.FutureTask.run (FutureTask.java:264)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1130)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:630)
          at java.lang.Thread.run (Thread.java:832)
      Caused by: java.lang.NullPointerException
          at org.hibernate.search.query.engine.impl.LuceneHSQuery.queryResultSize (LuceneHSQuery.java:239)
          at org.infinispan.query.clustered.commandworkers.CQCreateEagerQuery.perform (CQCreateEagerQuery.java:27)
          at org.infinispan.query.clustered.commandworkers.CQCommandType.perform (CQCommandType.java:43)
          at org.infinispan.query.clustered.ClusteredQueryOperation.perform (ClusteredQueryOperation.java:74)
          at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform (SegmentsClusteredQueryCommand.java:45)
          at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4 (ClusteredQueryInvoker.java:122)
          at java.util.concurrent.FutureTask.run (FutureTask.java:264)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1130)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:630)
          at java.lang.Thread.run (Thread.java:832)
      
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gustavonalle Gustavo Fernandes
                Reporter:
                gustavonalle Gustavo Fernandes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: