Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-1744

ClassNotFoundException: hz.ADD_NEW_ENTRY error was detected on the nodes during to reindex process for 4.3.0 (b1704).

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: Benchmarking, Clustering
    • Labels:
      None
    • Environment:
      BM Lab. Clusters are: 1.4, Servers: 3, Alfresco v4.3.0 (build-1704)

      Description

      Next error was detected in the logs on the nodes after two days since reindex was started:

      2014-05-18 01:06:25,528  FATAL [hazelcast.cluster.ClusterService] [hz._hzInstance_1_MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951.cached.thread-18] [172.31.52.51]:5701 [MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951] While merging...
       java.util.concurrent.ExecutionException: com.hazelcast.core.HazelcastException: java.lang.ClassNotFoundException: hz.ADD_NEW_ENTRY
      	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
      	at com.hazelcast.cluster.ClusterServiceImpl$6.run(ClusterServiceImpl.java:597)
      	at com.hazelcast.instance.LifecycleServiceImpl.runUnderLifecycleLock(LifecycleServiceImpl.java:94)
      	at com.hazelcast.cluster.ClusterServiceImpl.merge(ClusterServiceImpl.java:571)
      	at com.hazelcast.cluster.MergeClustersOperation.run(MergeClustersOperation.java:53)
      	at com.hazelcast.spi.impl.OperationServiceImpl.doRunOperation(OperationServiceImpl.java:274)
      	at com.hazelcast.spi.impl.OperationServiceImpl.runOperation(OperationServiceImpl.java:184)
      	at com.hazelcast.cluster.AbstractJoiner.startClusterMerge(AbstractJoiner.java:244)
      	at com.hazelcast.cluster.TcpIpJoiner.searchForOtherClusters(TcpIpJoiner.java:444)
      	at com.hazelcast.cluster.SplitBrainHandler.searchForOtherClusters(SplitBrainHandler.java:46)
      	at com.hazelcast.cluster.SplitBrainHandler.run(SplitBrainHandler.java:36)
      	at com.hazelcast.util.executor.ManagedExecutorService$Worker.run(ManagedExecutorService.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      	at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)
      Caused by: com.hazelcast.core.HazelcastException: java.lang.ClassNotFoundException: hz.ADD_NEW_ENTRY
      	at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:45)
      	at com.hazelcast.map.MapService.getMergePolicy(MapService.java:252)
      	at com.hazelcast.map.MapService$Merger.run(MapService.java:273)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	... 5 more
      Caused by: java.lang.ClassNotFoundException: hz.ADD_NEW_ENTRY
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
      	at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:83)
      	at com.hazelcast.nio.ClassLoaderUtil.newInstance(ClassLoaderUtil.java:50)
      	at com.hazelcast.map.MapService.getMergePolicy(MapService.java:248)
      	... 9 more
      Exception in thread "hz._hzInstance_1_MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951.cached.thread-53" java.lang.IllegalStateException: Replica target cannot be this node -> partitionId: 193, replicaIndex: 1, partition-info: Partition [193]{
      	0:Address[172.31.52.51]:5701
      	1:Address[172.31.52.52]:5701
      }
      	at com.hazelcast.partition.PartitionServiceImpl.syncPartitionReplica(PartitionServiceImpl.java:628)
      	at com.hazelcast.partition.PartitionServiceImpl$ReplicaSyncEntryProcessor.process(PartitionServiceImpl.java:159)
      	at com.hazelcast.util.scheduler.SecondsBasedEntryTaskScheduler$EntryProcessorExecutor.run(SecondsBasedEntryTaskScheduler.java:246)
      	at com.hazelcast.util.executor.ManagedExecutorService$Worker.run(ManagedExecutorService.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      	at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)
      2014-05-18 04:18:45,915  FATAL [hazelcast.spi.OperationService] [hz._hzInstance_1_MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951.response] [172.31.52.51]:5701 [MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951] java.io.StreamCorruptedException: invalid type code: 01
       com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.StreamCorruptedException: invalid type code: 01
      	at com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:295)
      	at com.hazelcast.nio.serialization.SerializationServiceImpl.readObject(SerializationServiceImpl.java:282)
      	at com.hazelcast.nio.serialization.ByteArrayObjectDataInput.readObject(ByteArrayObjectDataInput.java:431)
      	at com.hazelcast.spi.impl.ResponseOperation.readInternal(ResponseOperation.java:91)
      	at com.hazelcast.spi.Operation.readData(Operation.java:295)
      	at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:105)
      	at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36)
      	at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59)
      	at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:218)
      	at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:156)
      	at com.hazelcast.spi.impl.OperationServiceImpl$RemoteOperationProcessor.run(OperationServiceImpl.java:724)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      	at com.hazelcast.util.executor.SingleExecutorThreadFactory$ManagedThread.run(SingleExecutorThreadFactory.java:45)
      Caused by: java.io.StreamCorruptedException: invalid type code: 01
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1375)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
      	at com.hazelcast.nio.serialization.DefaultSerializers$ObjectSerializer.read(DefaultSerializers.java:185)
      	at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:40)
      	at com.hazelcast.nio.serialization.SerializationServiceImpl.readObject(SerializationServiceImpl.java:276)
      	... 13 more
      

      Please, for more information see attachments with logs.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  alfrescoqa Alfresco QA Team
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel