[jbosscache-issues] [JBoss JIRA] Resolved: (JBCACHE-1441) DataContainerImpl.toString() can throw UnsupportedOperationException

Elias Ross (JIRA) jira-events at lists.jboss.org
Fri Nov 7 15:16:47 EST 2008


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

Elias Ross resolved JBCACHE-1441.
---------------------------------

    Resolution: Cannot Reproduce Bug


It came up for me at some point during setting up tests for the Cache.setData() command and I can't reproduce it anymore. Probably not a bug but I still wonder how I got this to happen.

> DataContainerImpl.toString() can throw UnsupportedOperationException
> --------------------------------------------------------------------
>
>                 Key: JBCACHE-1441
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1441
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0.CR3
>            Reporter: Elias Ross
>            Assignee: Manik Surtani
>             Fix For: 3.0.0.GA
>
>
> When doing some testing with EasyMock, saw this:
> Caused by: java.lang.UnsupportedOperationException: Not supported in UnversionedNode
> 	at org.jboss.cache.AbstractNode.getChildrenDirect(AbstractNode.java:277)
> 	at org.jboss.cache.mvcc.NodeReference.getChildrenDirect(NodeReference.java:267)
> 	at org.jboss.cache.invocation.NodeInvocationDelegate.getChildrenDirect(NodeInvocationDelegate.java:163)
> 	at org.jboss.cache.DataContainerImpl.numNodes(DataContainerImpl.java:450)
> 	at org.jboss.cache.DataContainerImpl.getNumberOfNodes(DataContainerImpl.java:427)
> 	at org.jboss.cache.DataContainerImpl.toString(DataContainerImpl.java:386)
> 	at org.jboss.cache.DataContainerImpl.toString(DataContainerImpl.java:364)
> 	at org.jboss.cache.invocation.CacheInvocationDelegate.toString(CacheInvocationDelegate.java:154)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list