java.lang.IllegalArgumentException: [class java.util.LinkedList] serializer cannot be overridden!

Stack Overflow | James McShane | 5 months ago
  1. 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!
  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

    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
  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 | 5 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

      [class java.util.LinkedList] serializer cannot be overridden!

      at com.hazelcast.internal.serialization.impl.AbstractSerializationService.safeRegister()
    2. com.hazelcast.internal
      DefaultSerializationServiceBuilder.build
      1. com.hazelcast.internal.serialization.impl.AbstractSerializationService.safeRegister(AbstractSerializationService.java:331)
      2. com.hazelcast.internal.serialization.impl.AbstractSerializationService.safeRegister(AbstractSerializationService.java:326)
      3. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.registerSerializerHooks(DefaultSerializationServiceBuilder.java:294)
      4. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:220)
      4 frames
    3. Hazelcast
      HazelcastInstanceFactory.newHazelcastInstance
      1. com.hazelcast.instance.DefaultNodeExtension.createSerializationService(DefaultNodeExtension.java:125)
      2. com.hazelcast.instance.Node.<init>(Node.java:174)
      3. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:125)
      4. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160)
      5. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:143)
      6. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:111)
      6 frames
    4. hazelcast
      Hazelcast.newHazelcastInstance
      1. com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:87)
      1 frame