java.lang.IllegalArgumentException: DataSerializableFactory[-2] is already registered! com.hazelcast.partition.PartitionDataSerializerHook$1@1a18644 -> com.hazelcast.internal.partition.impl.PartitionDataSerializerHook$1@5acf93bb

GitHub | ohadbehore | 3 months ago
  1. 0

    DataSerializableFactory[-2] is already registered! com.hazelcast.partition.PartitionDataSerializerHook

    GitHub | 3 months ago | ohadbehore
    java.lang.IllegalArgumentException: DataSerializableFactory[-2] is already registered! com.hazelcast.partition.PartitionDataSerializerHook$1@1a18644 -> com.hazelcast.internal.partition.impl.PartitionDataSerializerHook$1@5acf93bb
  2. 0

    failure to deploy an application on Payara that includes its own Hazelcast version

    GitHub | 5 months ago | dbbtwom
    java.lang.IllegalArgumentException: PortableFactory[-16] is already registered! com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@250d8a93 -> com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@285b6081
  3. 0

    Hazelcast Instance failing on startup due to Serializer overwrite

    Stack Overflow | 5 months ago | James McShane
    java.lang.IllegalArgumentException: [class java.util.LinkedList] serializer cannot be overridden!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2395#250577842

    GitHub | 2 months ago | ejain
    java.lang.IllegalArgumentException: PortableFactory[-1] is already registered! com.hazelcast.spi.impl.SpiPortableHook$1@62029d43 -> com.hazelcast.spi.impl.SpiPortableHook$1@9a7cc10
  6. 0

    GitHub comment 2395#264231044

    GitHub | 2 days ago | bmudda
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hazelcastRunner' defined in class path resource [springConfigs/hazelcast/hazelcastRunner.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.bmudda.hazelcast.docker.test.HazelcastRunner]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: PortableFactory[-22] is already registered! com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@1a8a8f7c -> com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@2353b3e6

    1 unregistered visitors
    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.lang.IllegalArgumentException

      DataSerializableFactory[-2] is already registered! com.hazelcast.partition.PartitionDataSerializerHook$1@1a18644 -> com.hazelcast.internal.partition.impl.PartitionDataSerializerHook$1@5acf93bb

      at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.register()
    2. com.hazelcast.internal
      DefaultSerializationServiceBuilder.build
      1. com.hazelcast.internal.serialization.impl.DataSerializableSerializer.register(DataSerializableSerializer.java:87)
      2. com.hazelcast.internal.serialization.impl.DataSerializableSerializer.<init>(DataSerializableSerializer.java:66)
      3. com.hazelcast.internal.serialization.impl.SerializationServiceV1.<init>(SerializationServiceV1.java:94)
      4. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.createSerializationService(DefaultSerializationServiceBuilder.java:264)
      5. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:218)
      6. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:46)
      6 frames
    3. Hazelcast
      HazelcastInstanceFactory.newHazelcastInstance
      1. com.hazelcast.instance.DefaultNodeExtension.createSerializationService(DefaultNodeExtension.java:126)
      2. com.hazelcast.instance.Node.<init>(Node.java:181)
      3. com.hazelcast.instance.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:155)
      4. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:126)
      5. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
      6. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
      7. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
      7 frames
    4. hazelcast
      Hazelcast.newHazelcastInstance
      1. com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:87)
      1 frame
    5. com.unisfair.hazelcastinstance
      HazelcastInstanceServerMain.main
      1. com.unisfair.hazelcastinstance.HazelcastInstanceServerMain.main(HazelcastInstanceServerMain.java:26)
      1 frame