Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4997

Current queries are printing in the log - CacheConfigurationException: ISPN000436: Cache 'myCache' has been requested, but no matching cache configuration exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • RHDG 8.3 GA
    • Querying, TestSuite
    • None

    Description

      Add QueryTest.java in server/tests/src/test/java/org/infinispan/server/QueryTest.java and run it twice.

      It will print a lot of errors in the console.

      java.util.concurrent.ExecutionException: org.infinispan.commons.CacheException: org.infinispan.commons.CacheConfigurationException: ISPN000436: Cache 'myCache' has been requested, but no matching cache configuration exists
          at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
          at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
          at org.infinispan.server.QueryTest.lambda$main$3(QueryTest.java:121)
          at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.infinispan.commons.CacheException: org.infinispan.commons.CacheConfigurationException: ISPN000436: Cache 'myCache' has been requested, but no matching cache configuration exists
          at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.lambda$static$0(DistributedExecutorMassIndexer.java:49)
          at org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$6(AllClusterExecutor.java:192)
          at org.infinispan.manager.impl.AbstractClusterExecutor.consumeResponse(AbstractClusterExecutor.java:65)
          at org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$7(AllClusterExecutor.java:191)
      

      It is not happening when running it once.

      Attachments

        1. QueryTest.java
          5 kB
          Diego Lovison
        2. Screen-Shot-2021-11-04-at-15.09.03.png
          50 kB
          Diego Lovison

        Activity

          People

            dlovison@redhat.com Diego Lovison
            dlovison@redhat.com Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: