Fixed. Thanks!
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik(a)jboss.org
Telephone: +44 7786 702 706
MSN: manik(a)surtani.org
Yahoo/AIM/Skype: maniksurtani
On 11 Sep 2006, at 19:05, Brian Stansberry wrote:
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(a)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