java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10629

  • via GitHub by ejain
    , 9 months ago
    PortableFactory[-1] is already registered! com.hazelcast.spi.impl.SpiPortableHook$1@62029d43 -> com.hazelcast.spi.impl.SpiPortableHook$1@9a7cc10
  • PortableFactory[-23] is already registered! com.hazelcast.mapreduce.impl.MapReducePortableHook$1@47463f67 -> com.hazelcast.mapreduce.impl.MapReducePortableHook$1@70dccc57
  • via GitHub by bmudda
    , 7 months ago
    PortableFactory[-22] is already registered! com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@1a8a8f7c -> com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@2353b3e6
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago