Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE at HazelcastTimeStamper.getNextTimeStamp #8465

Closed
Michael-S-Smith opened this issue Jun 28, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@Michael-S-Smith
Copy link

commented Jun 28, 2016

Seeing the following error in my logs in a 2 node Hazelcast cluster when I attempt to being a Hibernate session from within a threads run method. This does not occur in other areas of the application. Is there any reason the AbstractHazelcastCacheRegionFactory would have a null instance here? Something about the thread?

java.lang.NullPointerException
at com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:38)
at com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory.nextTimestamp(AbstractHazelcastCacheRegionFactory.java:81)
at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1589)
at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:999)

@emrahkocaman

This comment has been minimized.

Copy link
Contributor

commented Jul 20, 2016

Moving this issue to "hazelcast-hibernate" repository. Please follow hazelcast/hazelcast-hibernate#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.