[infinispan-issues] [JBoss JIRA] (ISPN-6459) NPE on cache.getCacheTopologyInfo

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Mar 31 14:51:00 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-6459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-6459:
------------------------------------
    Steps to Reproduce: 
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:
{noformat}
taskset -c 0 mvn clean install -Dtest=FailoverHandlingTest#testReadFromInfinispanSaveToHDFS_StopPreferedServer 
{noformat}

  was:
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
{noformat}
taskset -c 0 mvn clean install -Dtest=FailoverHandlingTest#testReadFromInfinispanSaveToHDFS_StopPreferedServer 
{noformat}



> NPE on cache.getCacheTopologyInfo
> ---------------------------------
>
>                 Key: ISPN-6459
>                 URL: https://issues.jboss.org/browse/ISPN-6459
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> Sometimes {{cache.getTopologyInfo}} fails with:
> {noformat}
> java.lang.NullPointerException: null
> 	at org.infinispan.client.hotrod.impl.CacheTopologyInfoImpl.getNumSegments(CacheTopologyInfoImpl.java:26)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list