java.lang.IllegalArgumentException: PortableFactory[-1] is already registered! com.hazelcast.spi.impl.SpiPortableHook$1@62029d43 -> com.hazelcast.spi.impl.SpiPortableHook$1@9a7cc10

GitHub | ejain | 2 months ago
  1. 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
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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!
  6. 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

    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[-1] is already registered! com.hazelcast.spi.impl.SpiPortableHook$1@62029d43 -> com.hazelcast.spi.impl.SpiPortableHook$1@9a7cc10

      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)[hazelcast-3.7.1.jar!/:3.7.1]
      2. com.hazelcast.internal.serialization.impl.PortableHookLoader.load(PortableHookLoader.java:54)[hazelcast-3.7.1.jar!/:3.7.1]
      3. com.hazelcast.internal.serialization.impl.PortableHookLoader.<init>(PortableHookLoader.java:44)[hazelcast-3.7.1.jar!/:3.7.1]
      4. com.hazelcast.internal.serialization.impl.SerializationServiceV1.<init>(SerializationServiceV1.java:88)[hazelcast-3.7.1.jar!/:3.7.1]
      5. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.createSerializationService(DefaultSerializationServiceBuilder.java:264)[hazelcast-3.7.1.jar!/:3.7.1]
      6. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:218)[hazelcast-3.7.1.jar!/:3.7.1]
      7. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:46)[hazelcast-3.7.1.jar!/:3.7.1]
      7 frames
    3. Hazelcast
      HazelcastInstanceFactory.newHazelcastInstance
      1. com.hazelcast.instance.DefaultNodeExtension.createSerializationService(DefaultNodeExtension.java:126)[hazelcast-3.7.1.jar!/:3.7.1]
      2. com.hazelcast.instance.Node.<init>(Node.java:181)[hazelcast-3.7.1.jar!/:3.7.1]
      3. com.hazelcast.instance.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:155)[hazelcast-3.7.1.jar!/:3.7.1]
      4. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:126)[hazelcast-3.7.1.jar!/:3.7.1]
      5. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)[hazelcast-3.7.1.jar!/:3.7.1]
      6. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)[hazelcast-3.7.1.jar!/:3.7.1]
      7. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)[hazelcast-3.7.1.jar!/:3.7.1]
      7 frames
    4. hazelcast
      Hazelcast.newHazelcastInstance
      1. com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)[hazelcast-3.7.1.jar!/:3.7.1]
      1 frame
    5. org.springframework.boot
      HazelcastAutoConfiguration$HazelcastConfigConfiguration$$EnhancerBySpringCGLIB$$a5d829fe$$FastClassBySpringCGLIB$$7c2bd309.invoke
      1. org.springframework.boot.autoconfigure.hazelcast.HazelcastInstanceFactory.getHazelcastInstance(HazelcastInstanceFactory.java:82)[spring-boot-autoconfigure-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
      2. org.springframework.boot.autoconfigure.hazelcast.HazelcastAutoConfiguration$HazelcastConfigConfiguration.hazelcastInstance(HazelcastAutoConfiguration.java:78)[spring-boot-autoconfigure-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
      3. org.springframework.boot.autoconfigure.hazelcast.HazelcastAutoConfiguration$HazelcastConfigConfiguration$$EnhancerBySpringCGLIB$$a5d829fe.CGLIB$hazelcastInstance$0(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
      4. org.springframework.boot.autoconfigure.hazelcast.HazelcastAutoConfiguration$HazelcastConfigConfiguration$$EnhancerBySpringCGLIB$$a5d829fe$$FastClassBySpringCGLIB$$7c2bd309.invoke(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
      4 frames
    6. Spring Core
      MethodProxy.invokeSuper
      1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    7. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    8. org.springframework.boot
      HazelcastAutoConfiguration$HazelcastConfigConfiguration$$EnhancerBySpringCGLIB$$a5d829fe.hazelcastInstance
      1. org.springframework.boot.autoconfigure.hazelcast.HazelcastAutoConfiguration$HazelcastConfigConfiguration$$EnhancerBySpringCGLIB$$a5d829fe.hazelcastInstance(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
      4 frames
    10. Spring Beans
      SimpleInstantiationStrategy.instantiate
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame