Patrik Varga commented on Bug OGM-254

Hi Sanne,

thanks for confirming. Yes, this is the config I am using. I am not trying to do any "table" operation, as you can see I am only trying to access Infinispan yet but cannot even connect as the EMF is not created.

If I change PersistentTableBulkIdStrategy to include the null checks, then SessionFactoryImpl.<init> proceeds succesfully to the SessionFactoryObserverChain calls and even to Infinispan calls.
If I remove the explicit hibernate-core 4.1.8.Final dependency, it can proceed with the EMF creation.

I've tried with different hibernate-core dependencies from 4.1.5.Final to 4.1.7.Final and it works with any of them. The bug causing the NPE seems to be introduced in 4.1.8., relevant to new code of lines 488-494 of SessionFactoryImpl containing the settings.getMultiTableBulkIdStrategy().prepare(...) call. Shouldn't this be prevented when using OGM?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira