Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-647

Task map replication fails in a Data Center environment with a ClassNotFoundException

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.2.4-J7
    • Fix Version/s: 2.3.3-J7
    • Critical Points:
      0

      Description

      This problem occurs in Data Center instances. It has no practical impact on the export/import funcionality of Project Configurator, but it clutters the log files, as the following (or very similar) error appears in the log file when Project Configurator operations are running.

      Please note, even though it is quite similar to -PCDEV-624, the error is different and this occurs less frequently than --PCDEV-624- did. 

      2018-01-03 21:05:04,793 ehcache-replicator-15 ERROR ServiceRunner [c.a.j.c.cache.ehcache.BlockingParallelCacheReplicator] Exception on replication of put. RemoteException occurred in server thread; nested exception is: 
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
      java.lang.ClassNotFoundException: com.awnaba.projectconfigurator.operationsapi.impl.ConfigExportResultImpl (no security manager: RMI class loader disabled). Cache: com.atlassian.jira.task.TaskManagerImpl.taskMap Peer: com.atlassian.jira.task.TaskManagerImpl.taskMap
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
      java.lang.ClassNotFoundException: com.awnaba.projectconfigurator.operationsapi.impl.ConfigExportResultImpl (no security manager: RMI class loader disabled)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:389)
      at sun.rmi.transport.Transport$1.run(Transport.java:200)
      at sun.rmi.transport.Transport$1.run(Transport.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
      at net.sf.ehcache.distribution.RMICachePeer_Stub.put(Unknown Source)
      at com.atlassian.jira.cluster.cache.ehcache.BlockingParallelCacheReplicator.lambda$replicatePutNotification$0(BlockingParallelCacheReplicator.java:153)
      at com.atlassian.jira.cluster.cache.ehcache.BlockingParallelCacheReplicator.lambda$null$3(BlockingParallelCacheReplicator.java:203)
      at com.atlassian.jira.cluster.cache.ehcache.ClassLoaderSwitchingRunnable.run(ClassLoaderSwitchingRunnable.java:18)
      at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
      java.lang.ClassNotFoundException: com.awnaba.projectconfigurator.operationsapi.impl.ConfigExportResultImpl (no security manager: RMI class loader disabled)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:348)
      at sun.rmi.transport.Transport$1.run(Transport.java:200)
      at sun.rmi.transport.Transport$1.run(Transport.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      ... 3 more
      Caused by: java.lang.ClassNotFoundException: com.awnaba.projectconfigurator.operationsapi.impl.ConfigExportResultImpl (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:396)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:186)
      at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
      at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:219)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:558)
      at net.sf.ehcache.Element.readObject(Element.java:884)
      ... 2 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2173)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)
      at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:322)
      at sun.rmi.server.UnicastServerRef.unmarshalParametersUnchecked(UnicastServerRef.java:628)
      at sun.rmi.server.UnicastServerRef.unmarshalParameters(UnicastServerRef.java:616)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:339)
      ... 12 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pmaranon Pepe Maranon Mora
              Reporter:
              nidhi-b.sharma@ubs.com Nidhi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: