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

NPE on cache.getCacheTopologyInfo

    XMLWordPrintable

Details

    • Hide

      The error happen sometimes in this PR: https://github.com/infinispan/infinispan-hadoop/pull/6 when running on Travis. It's possible to reproduce locally by pinning the execution to a single CPU, running on a loop:

      taskset -c 0 mvn clean install -Dtest=FailoverHandlingTest#testReadFromInfinispanSaveToHDFS_StopPreferedServer 
      
      Show
      The error happen sometimes in this PR: https://github.com/infinispan/infinispan-hadoop/pull/6 when running on Travis. It's possible to reproduce locally by pinning the execution to a single CPU, running on a loop: taskset -c 0 mvn clean install -Dtest=FailoverHandlingTest#testReadFromInfinispanSaveToHDFS_StopPreferedServer

    Description

      Sometimes cache.getTopologyInfo fails with:

      java.lang.NullPointerException: null
      	at org.infinispan.client.hotrod.impl.CacheTopologyInfoImpl.getNumSegments(CacheTopologyInfoImpl.java:26)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: