[jboss-jira] [JBoss JIRA] (AS7-5699) Exception in thread "KeyAffinityService Thread Pool -- 1" java.lang.ArrayIndexOutOfBoundsException: 1

Scott Marlow (JIRA) jira-events at lists.jboss.org
Mon Oct 8 09:51:03 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724687#comment-12724687 ] 

Scott Marlow commented on AS7-5699:
-----------------------------------

I'm currently in the state of waiting for org.jboss.as.test.clustering.cluster.web.DistributionWebFailoverTestCase to show some progress but has been running for a long time.  I suspect that I will soon see the ArrayIndexOutOfBoundsException and will attach server logs to this jira in case they have more.  

Other details about my machine environment:
Using Oracle JDK version (64bit) 1.6.0_31-b04 on Fedora 17
firewall is disabled

host file contents:
{quote}
127.0.0.1   smarlow smarlow.localdomain localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
{quote}

ifconfig output:
{quote}
ifconfig 
em1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether f0:de:f1:bb:9c:64  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf2500000-f2520000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 f101::2  prefixlen 128  scopeid 0x0<global>
        inet6 fccc::1  prefixlen 128  scopeid 0x0<global>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1882804  bytes 1110183035 (1.0 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1882804  bytes 1110183035 (1.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1412
        inet 10.11.9.217  netmask 255.255.252.0  destination 10.11.9.217
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 95840  bytes 103195516 (98.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 59642  bytes 4126361 (3.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.139  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2677:3ff:fe43:54a4  prefixlen 64  scopeid 0x20<link>
        ether 24:77:03:43:54:a4  txqueuelen 1000  (Ethernet)
        RX packets 3211082  bytes 3666746534 (3.4 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2076818  bytes 368433307 (351.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
{quote}

I'll attach thread dumps from before the exception occurs but after we have been waiting for several minutes for the test to continue.
                
> Exception in thread "KeyAffinityService Thread Pool -- 1" java.lang.ArrayIndexOutOfBoundsException: 1
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AS7-5699
>                 URL: https://issues.jboss.org/browse/AS7-5699
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>         Environment: affects: snapshot
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>             Fix For: 7.2.0.Alpha1
>
>
> After ISPN upgrade.
> {noformat}
> 23:20:16,415 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "distributable.war"
> 23:20:16,424 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory /home/smarlow/work/as7/testsuite/integration/clust/target/jbossas-clustering-SYNC-tcp-0/standalone/deployments
> 23:20:16,767 WARN  [org.jgroups.stack.Configurator] (ServerService Thread Pool -- 63) [JGRP00013] TP.discard_incompatible_packets has been deprecated: incompatible packets are discarded anyway
> 23:20:16,957 INFO  [stdout] (ServerService Thread Pool -- 63) 
> 23:20:16,957 INFO  [stdout] (ServerService Thread Pool -- 63) -------------------------------------------------------------------
> 23:20:16,957 INFO  [stdout] (ServerService Thread Pool -- 63) GMS: address=node-0/web, cluster=web, physical address=fccc:0:0:0:0:0:0:1%1:7600
> 23:20:16,957 INFO  [stdout] (ServerService Thread Pool -- 63) -------------------------------------------------------------------
> 23:20:17,104 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-5) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,105 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,106 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-5) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,106 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,107 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-4) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,108 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-4) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
> 23:20:17,136 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 63) ISPN000078: Starting JGroups Channel
> 23:20:17,140 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 63) ISPN000094: Received new cluster view: [node-1/web|3] [node-1/web, node-0/web]
> 23:20:17,140 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 63) ISPN000079: Cache local address is node-0/web, physical addresses are [fccc:0:0:0:0:0:0:1%1:7600]
> 23:20:17,141 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 63) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.0.Beta1
> 23:20:17,164 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 56) ISPN000161: Using a batchMode transaction manager
> 23:20:17,164 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 63) ISPN000161: Using a batchMode transaction manager
> 23:20:17,274 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 56) ISPN000031: MBeans were successfully registered to the platform MBean server.
> 23:20:17,274 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 63) ISPN000031: MBeans were successfully registered to the platform MBean server.
> 23:20:17,394 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) JBAS010281: Started default-host/distributable cache from web container
> 23:20:17,396 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) JBAS010281: Started repl cache from web container
> 23:20:17,405 INFO  [org.jboss.as.clustering] (MSC service thread 1-5) JBAS010238: Number of cluster members: 2
> 23:20:17,414 INFO  [org.jboss.web] (MSC service thread 1-7) JBAS018210: Register web context: /distributable
> 23:20:17,533 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "distributable.war"
> 23:20:17,688 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://fccc::1:9990/management
> 23:20:17,689 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://fccc::1:9990
> 23:20:17,689 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" started in 3445ms - Started 171 of 324 services (152 services are passive or on-demand)
> 23:54:12,922 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) Exception in thread "KeyAffinityService Thread Pool -- 1" java.lang.ArrayIndexOutOfBoundsException: 1
> 23:54:12,923 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.distribution.ch.DefaultConsistentHash.locatePrimaryOwnerForSegment(DefaultConsistentHash.java:137)
> 23:54:12,923 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.distribution.ch.DefaultConsistentHash.locatePrimaryOwner(DefaultConsistentHash.java:152)
> 23:54:12,923 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.affinity.KeyAffinityServiceImpl.getAddressForKey(KeyAffinityServiceImpl.java:347)
> 23:54:12,924 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.affinity.KeyAffinityServiceImpl.access$700(KeyAffinityServiceImpl.java:59)
> 23:54:12,924 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.affinity.KeyAffinityServiceImpl$KeyGeneratorWorker.generateKeys(KeyAffinityServiceImpl.java:270)
> 23:54:12,924 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.infinispan.affinity.KeyAffinityServiceImpl$KeyGeneratorWorker.run(KeyAffinityServiceImpl.java:242)
> 23:54:12,925 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 23:54:12,925 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 23:54:12,925 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at java.lang.Thread.run(Thread.java:662)
> 23:54:12,925 ERROR [stderr] (KeyAffinityService Thread Pool -- 1) 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list