[infinispan-dev] GetKeyValueCommand NPE with CR1 in Hibernate 2LC - ISPN-7029

Galder Zamarreño galder at redhat.com
Wed Feb 15 05:34:34 EST 2017


Umbrella JIRA: https://issues.jboss.org/browse/ISPN-7475
For this specific issue: https://issues.jboss.org/browse/ISPN-7476

Cheers,
--
Galder Zamarreño
Infinispan, Red Hat

> On 15 Feb 2017, at 11:28, Galder Zamarreño <galder at redhat.com> wrote:
> 
> Hey Radim,
> 
> Your changes in ISPN-7029 are causing issues with Hibernate 2LC.
> 
> In particular [2]. Name.equals() always returns false, so it'll never be found in the context. So entry is null.
> 
> Moreover, if EntryLookup.lookupEntry javadoc (and some implementations) can and do return null. Are you expecting that somehow that method will never return null?
> 
> I'll create a JIRA to track all issues arising from Hibernate 2LC in a minute, but wanted to get your thoughts firts.
> 
> Cheers,
> 
> [1] https://issues.jboss.org/browse/ISPN-7029
> [2] https://github.com/hibernate/hibernate-orm/blob/master/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/CacheKeysFactoryTest.java#L58
> --
> Galder Zamarreño
> Infinispan, Red Hat
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list