java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey

Atlassian JIRA | Anatoli Kazatchkov [Atlassian] | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When a node of a cluster starts it first fires up a cluster service and then initializes plugin subsystem. It means that for a period of time between the start up of the cluster service and initialization of plugin sysbsystem ( {{ConfluencePluginManager}} ) cluster does not have access to plugin classes. If during this interval a distributed cache was updated with class from a plugin on a different node and update was received we get {{ClassNotFoundException}} {noformat} 2008-07-18 14:20:52,358 ERROR [Logger@9247854 3.3.1/389] [Coherence] log 2008-07-18 14:20:52.332 Oracle Coherence GE 3.3.1/389 <Error> (thread=ReplicatedCache, member=3): java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585) at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:68) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2084) at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202) at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3) at com.tangosol.coherence.component.util.CacheHandler.populateCache(CacheHandler.CDB:23) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$CacheUpdate.onReceived(ReplicatedCache.CDB:5) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Thread.java:613) ClassLoader: com.atlassian.plugin.classloader.DelegationClassLoader@9ed2e4 at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2092) at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202) at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3) at com.tangosol.coherence.component.util.CacheHandler.populateCache(CacheHandler.CDB:23) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$CacheUpdate.onReceived(ReplicatedCache.CDB:5) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Thread.java:613) {noformat} Steps to reproduce: 1. start node1 2. access a page on node1 with a jira issues macro (wait until issues are loaded) 3. start node2 and observe the exception in the log file.

    Atlassian JIRA | 9 years ago | Anatoli Kazatchkov [Atlassian]
    java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey
  2. 0

    When a node of a cluster starts it first fires up a cluster service and then initializes plugin subsystem. It means that for a period of time between the start up of the cluster service and initialization of plugin sysbsystem ( {{ConfluencePluginManager}} ) cluster does not have access to plugin classes. If during this interval a distributed cache was updated with class from a plugin on a different node and update was received we get {{ClassNotFoundException}} {noformat} 2008-07-18 14:20:52,358 ERROR [Logger@9247854 3.3.1/389] [Coherence] log 2008-07-18 14:20:52.332 Oracle Coherence GE 3.3.1/389 <Error> (thread=ReplicatedCache, member=3): java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585) at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:68) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2084) at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202) at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3) at com.tangosol.coherence.component.util.CacheHandler.populateCache(CacheHandler.CDB:23) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$CacheUpdate.onReceived(ReplicatedCache.CDB:5) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Thread.java:613) ClassLoader: com.atlassian.plugin.classloader.DelegationClassLoader@9ed2e4 at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2092) at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202) at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3) at com.tangosol.coherence.component.util.CacheHandler.populateCache(CacheHandler.CDB:23) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$CacheUpdate.onReceived(ReplicatedCache.CDB:5) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Thread.java:613) {noformat} Steps to reproduce: 1. start node1 2. access a page on node1 with a jira issues macro (wait until issues are loaded) 3. start node2 and observe the exception in the log file.

    Atlassian JIRA | 9 years ago | Anatoli Kazatchkov [Atlassian]
    java.io.IOException: readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey
  3. 0

    When is synchronization required?

    Oracle Community | 1 decade ago | 3004
    java.io.IOException: Class initialization failed: java.lang.ClassNotFoundException: 14714277.rest.of.class.Name <=== corrupted!!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ADB Connection Error

    Stack Overflow | 4 years ago | Raveesh Lawrance
    java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395) at com.android.ddmlib.Device.executeShellCommand(Device.java:462) at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
  6. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 8 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:461) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    readObject failed: java.lang.ClassNotFoundException: com.atlassian.confluence.extra.jira.CacheKey

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
    2 frames
  3. Java RT
    ObjectInputStream.resolveClass
    1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    2. java.lang.Class.forName0(Native Method)
    3. java.lang.Class.forName(Class.java:242)
    4. java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
    4 frames
  4. com.tangosol.io
    ResolvingObjectInputStream.resolveClass
    1. com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:68)
    1 frame
  5. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
    2. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    5 frames
  6. com.tangosol.util
    ExternalizableHelper.readObject
    1. com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2084)
    2. com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2202)
    2 frames
  7. com.tangosol.coherence
    Daemon.run
    1. com.tangosol.coherence.component.net.Message.readObject(Message.CDB:3)
    2. com.tangosol.coherence.component.util.CacheHandler.populateCache(CacheHandler.CDB:23)
    3. com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache$CacheUpdate.onReceived(ReplicatedCache.CDB:5)
    4. com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9)
    5. com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123)
    6. com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3)
    7. com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
    7 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame