java.lang.NullPointerException: null > at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333) > ~[na:1.7.0_25] > at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988) > ~[na:1.7.0_25] > at > org.hibernate.impl.SessionFactoryObjectFactory.getNamedInstance(SessionFactoryObjectFactory.java:159) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at > org.hibernate.impl.SessionFactoryImpl.readResolve(SessionFactoryImpl.java:753) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.7.0_25] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > ~[na:1.7.0_25] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.7.0_25] > at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] > at > java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1104) > ~[na:1.7.0_25] > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1805) > ~[na:1.7.0_25] > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)

Google Groups | Unknown author | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hazelcast as Hibernate 2nd level cache error: Problem when serializing type 1 due to null pointer

    Google Groups | 4 years ago | Unknown author
    java.lang.NullPointerException: null > at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333) > ~[na:1.7.0_25] > at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988) > ~[na:1.7.0_25] > at > org.hibernate.impl.SessionFactoryObjectFactory.getNamedInstance(SessionFactoryObjectFactory.java:159) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at > org.hibernate.impl.SessionFactoryImpl.readResolve(SessionFactoryImpl.java:753) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.7.0_25] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > ~[na:1.7.0_25] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.7.0_25] > at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] > at > java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1104) > ~[na:1.7.0_25] > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1805) > ~[na:1.7.0_25] > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)

    Root Cause Analysis

    1. java.lang.NullPointerException

      null > at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333) > ~[na:1.7.0_25] > at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988) > ~[na:1.7.0_25] > at > org.hibernate.impl.SessionFactoryObjectFactory.getNamedInstance(SessionFactoryObjectFactory.java:159) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at > org.hibernate.impl.SessionFactoryImpl.readResolve(SessionFactoryImpl.java:753) > ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.7.0_25] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > ~[na:1.7.0_25] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.7.0_25] > at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] > at > java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1104) > ~[na:1.7.0_25] > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1805) > ~[na:1.7.0_25] > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)

      at java.io.ObjectInputStream.readSerialData()
    2. Java RT
      ObjectInputStream.readSerialData
      1. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
      1 frame