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@7e2d773b -> com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@2173f6d9

GitHub | bitsofinfo | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 9353#264248811

    GitHub | 3 months ago | bitsofinfo
    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@7e2d773b -> com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@2173f6d9
  2. 0

    GitHub comment 2395#264231044

    GitHub | 3 months 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

    Executing the WAR file without an application server wont work with hazelcast

    GitHub | 2 years ago | seghers
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring AOP and AspectJ Integration with EJB3 - Spring Forum

    spring.io | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [file:/C:/Users/Damodar/Documents/Damodar/Fedex_Credit_Card_Services/CSS_Prototype_Code/ccs_ejb/build/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'creditCardAdvice' defined in class path resource [aopContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.fedex.ccs.advice.CCSCreditCardInfoAdvice

    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[-22] is already registered! com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@7e2d773b -> com.hazelcast.replicatedmap.impl.client.ReplicatedMapPortableHook$1@2173f6d9

      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)[classes!/:na]
      2. com.hazelcast.internal.serialization.impl.PortableHookLoader.load(PortableHookLoader.java:54)[classes!/:na]
      3. com.hazelcast.internal.serialization.impl.PortableHookLoader.<init>(PortableHookLoader.java:44)[classes!/:na]
      4. com.hazelcast.internal.serialization.impl.SerializationServiceV1.<init>(SerializationServiceV1.java:88)[classes!/:na]
      5. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.createSerializationService(DefaultSerializationServiceBuilder.java:264)[classes!/:na]
      6. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:218)[classes!/:na]
      7. com.hazelcast.internal.serialization.impl.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:46)[classes!/:na]
      7 frames
    3. Hazelcast
      HazelcastInstanceFactory.newHazelcastInstance
      1. com.hazelcast.instance.DefaultNodeExtension.createSerializationService(DefaultNodeExtension.java:126)[classes!/:na]
      2. com.hazelcast.instance.Node.<init>(Node.java:181)[classes!/:na]
      3. com.hazelcast.instance.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:155)[classes!/:na]
      4. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:126)[classes!/:na]
      5. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)[classes!/:na]
      6. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)[classes!/:na]
      7. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)[classes!/:na]
      7 frames
    4. hazelcast
      Hazelcast.newHazelcastInstance
      1. com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)[classes!/:na]
      1 frame
    5. com.bmudda.hazelcast
      HazelcastRunner.<init>
      1. com.bmudda.hazelcast.docker.test.HazelcastRunner.<init>(HazelcastRunner.java:39)[classes!/:na]
      1 frame
    6. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_45]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_45]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_45]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)[na:1.8.0_45]
      4 frames
    7. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)[classes!/:na]
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)[classes!/:na]
      3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)[classes!/:na]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)[classes!/:na]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)[classes!/:na]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)[classes!/:na]
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[classes!/:na]
      8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[classes!/:na]
      9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[classes!/:na]
      10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[classes!/:na]
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[classes!/:na]
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754)[classes!/:na]
      12 frames
    8. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)[classes!/:na]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)[classes!/:na]
      2 frames
    9. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[classes!/:na]
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[classes!/:na]
      3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[classes!/:na]
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[classes!/:na]
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[classes!/:na]
      5 frames
    10. com.bmudda.util
      Application.main
      1. com.bmudda.util.boot.Application.main(Application.java:21)[classes!/:na]
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_45]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_45]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_45]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_45]
      4 frames
    12. Spring Boot Loader
      JarLauncher.main
      1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[hazelcast-docker-spring-test-1.0-RC1.jar:na]
      2. org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[hazelcast-docker-spring-test-1.0-RC1.jar:na]
      3. org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[hazelcast-docker-spring-test-1.0-RC1.jar:na]
      4. org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)[hazelcast-docker-spring-test-1.0-RC1.jar:na]
      4 frames