java.lang.IllegalArgumentException: PortableFactory[-16] is already registered! com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@250d8a93 -> com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@285b6081

GitHub | dbbtwom | 5 months ago
  1. 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
  2. 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!
  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

      PortableFactory[-16] is already registered! com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@250d8a93 -> com.hazelcast.concurrent.semaphore.client.SemaphorePortableHook$1@285b6081

      at com.hazelcast.internal.serialization.impl.PortableHookLoader.register()
    2. com.hazelcast.internal
      DefaultSerializationServiceBuilder.build
      1. com.hazelcast.internal.serialization.impl.PortableHookLoader.register(PortableHookLoader.java:87)
      2. com.hazelcast.internal.serialization.impl.PortableHookLoader.load(PortableHookLoader.java:54)
      3. com.hazelcast.internal.serialization.impl.PortableHookLoader.<init>(PortableHookLoader.java:44)
      4. com.hazelcast.internal.serialization.impl.SerializationServiceV1.<init>(SerializationServiceV1.java:88)
      5. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.createSerializationService(DefaultSerializationServiceBuilder.java:264)
      6. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:218)
      6 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:58)
      1 frame
    5. io.vertx.spi
      HazelcastClusterManager.lambda$join$3
      1. io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.lambda$join$3(HazelcastClusterManager.java:117)
      1 frame
    6. Vert.x Core
      OrderedExecutorFactory$OrderedExecutor.lambda$new$265
      1. io.vertx.core.impl.ContextImpl.lambda$executeBlocking$17(ContextImpl.java:296)
      2. io.vertx.core.impl.OrderedExecutorFactory$OrderedExecutor.lambda$new$265(OrderedExecutorFactory.java:91)
      2 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames