com.esotericsoftware.kryo.SerializationException

tip

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Memcached Session for liferay portal
    via by wolfateh,
    • com.esotericsoftware.kryo.SerializationException: Unable to deserialize object of type: java.util.concurrent.ConcurrentHashMap at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:593) at com.esotericsoftware.kryo.ObjectBuffer.readObject(ObjectBuffer.java:213) at de.javakaffee.web.msm.serializer.kryo.KryoTranscoder.deserializeAttributes(KryoTranscoder.java:256) at de.javakaffee.web.msm.TranscoderService.deserializeAttributes(TranscoderService.java:171) at de.javakaffee.web.msm.TranscoderService.deserialize(TranscoderService.java:128) at de.javakaffee.web.msm.MemcachedSessionService.loadFromMemcached(MemcachedSessionService.java:1100) at de.javakaffee.web.msm.MemcachedSessionService.findSession(MemcachedSessionService.java:585) at de.javakaffee.web.msm.MemcachedBackupSessionManager.findSession(MemcachedBackupSessionManager.java:216) at org.apache.catalina.connector.Request.doGetSession(Request.java:2850) at org.apache.catalina.connector.Request.getSessionInternal(Request.java:2507) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:427) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:124) at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:156) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: com.esotericsoftware.kryo.SerializationException: Unable to find class: com.demoapp.commons.domain.user.AccessToken at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:449) at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:561) at com.esotericsoftware.kryo.serialize.MapSerializer.readObjectData(MapSerializer.java:129) at com.esotericsoftware.kryo.Serializer.readObject(Serializer.java:61) at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:589) ... 26 more Caused by: java.lang.ClassNotFoundException: com.demoapp.commons.domain.user.AccessToken at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:447) ... 30 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    treefolktreefolk
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    444 more bugmates