[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1362) BuddyFqnTransformer.getActualFqn() fails if the passed FQN is the buddy backup tree root
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Jun 10 15:53:16 EDT 2008
BuddyFqnTransformer.getActualFqn() fails if the passed FQN is the buddy backup tree root
----------------------------------------------------------------------------------------
Key: JBCACHE-1362
URL: http://jira.jboss.com/jira/browse/JBCACHE-1362
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Buddy Replication
Affects Versions: 2.2.0.CR3
Reporter: Brian Stansberry
Assigned To: Manik Surtani
This:
Node buddyRoot = getCache().getRoot().getChild(BuddyManager.BUDDY_BACKUP_SUBTREE_FQN)
fails with this:
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.jboss.cache.Fqn.get(Fqn.java:409)
at org.jboss.cache.buddyreplication.BuddyFqnTransformer.isDeadBackupFqn(BuddyFqnTransformer.java:296)
at org.jboss.cache.buddyreplication.BuddyFqnTransformer.getActualFqn(BuddyFqnTransformer.java:283)
at org.jboss.cache.interceptors.BuddyRegionAwareEvictionInterceptor.getRegion(BuddyRegionAwareEvictionInterceptor.java:25)
at org.jboss.cache.interceptors.EvictionInterceptor.handleGetNodeOrDataCommands(EvictionInterceptor.java:168)
at org.jboss.cache.interceptors.EvictionInterceptor.visitGetNodeCommand(EvictionInterceptor.java:153)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.DataGravitatorInterceptor.handleGetMethod(DataGravitatorInterceptor.java:195)
at org.jboss.cache.interceptors.DataGravitatorInterceptor.visitGetNodeCommand(DataGravitatorInterceptor.java:115)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.visitGetNodeCommand(CacheLoaderInterceptor.java:149)
at org.jboss.cache.interceptors.ActivationInterceptor.visitGetNodeCommand(ActivationInterceptor.java:109)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.PessimisticLockInterceptor.handleGetNodeCommand(PessimisticLockInterceptor.java:317)
at org.jboss.cache.interceptors.base.PostProcessingCommandInterceptor.visitGetNodeCommand(PostProcessingCommandInterceptor.java:246)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:266)
at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:253)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:158)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:108)
at org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:85)
at org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:215)
at org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:409)
at org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:329)
at org.jboss.test.cluster.web.CacheHelper.getBuddyBackupRoots(CacheHelper.java:286)
at org.jboss.test.cluster.web.CacheHelper.getSessionIds(CacheHelper.java:151)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
... 41 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list