[jbosscache-dev] o.j.c.statetransfer.VersionedTestBase
Brian Stansberry
brian.stansberry at jboss.com
Mon Sep 11 14:05:50 EDT 2006
At line 297, it should be
cache2.getRegion(A).activate(); not just cache2.getRegion(A);
Sorry, looks like I broke that when changing to the 2.0 API. I can
check in the fix, or if you've got other changes to the file, you go
ahead.
- Brian
jbosscache-dev-bounces at lists.jboss.org wrote:
> All,
>
> Any idea why VersionedTestBase.testPartialStateTferWithClassLoader()
> is implemented the way it is?
>
> Line 293 has:
>
> assertNull("/a/b not transferred to loader", loader.get(A_B));
>
> and soon after that (no more mods to the caches except some
> assertions) on line 302:
>
> assertEquals("Correct state from loader for /a/b",
> ben.toString(), loader.get(A_B).get("person").toString());
>
> This basically throws an NPE on loader.get(A_B).get("person")
> but this NPE is *expected*, based on the assertion before...
> ? Am I missing something here?
>
> Cheers,
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
More information about the jbosscache-dev
mailing list