java.lang.ClassCastException: Cannot cast com.hazelcast.executor.ExecutorPortableHook to com.hazelcast.nio.serialization.PortableHook

GitHub | AjayPremarajan | 3 months ago
  1. 0

    GitHub comment 8850#245180437

    GitHub | 3 months ago | AjayPremarajan
    java.lang.ClassCastException: Cannot cast com.hazelcast.executor.ExecutorPortableHook to com.hazelcast.nio.serialization.PortableHook
  2. 0

    Hazelcast ClassCastException when deploying a mule application that uses Hazelcast in mule 3.6.2 ee

    Stack Overflow | 1 year ago | Manuel Saucedo
    java.lang.ClassCastException: Cannot cast com.hazelcast.client.txn.ClientTxnPortableHook to com.hazelcast.nio.serialization.PortableHook
  3. 0

    PowerMock throwing ClassCastException in custom loaded classes

    Stack Overflow | 2 years ago | Mr. White
    java.lang.ClassCastException: Cannot cast com.abc.services.data.tag.providers.TagServiceTestObjectProvider to com.abc.services.data.DataServicesObjectProvider
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Arquillian Shrinkwrap Resolver Maven reading dependencies from the pom.xml

    Stack Overflow | 3 years ago | Malclam
    java.lang.ClassCastException: Cannot cast org.apache.maven.repository.internal.DefaultVersionResolver to org.sonatype.aether.impl.VersionResolver
  6. 0

    java.lang.ClassCastException: Cannot cast com.sun.faces.config.FacesInitializer to javax.servlet.ServletContainerInitializer

    Stack Overflow | 3 years ago | MrPlow
    java.io.IOException: java.lang.ClassCastException: Cannot cast com.sun.faces.config.FacesInitializer to javax.servlet.ServletContainerInitializer

  1. filpgame 11 times, last 2 weeks ago
  2. kid 11 times, last 4 weeks ago
  3. iridic 3 times, last 1 month ago
  4. kid 53 times, last 2 months ago
  5. Steven 1 times, last 6 months ago
1 more registered users
18 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.ClassCastException

    Cannot cast com.hazelcast.executor.ExecutorPortableHook to com.hazelcast.nio.serialization.PortableHook

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3361)[?:1.8.0_25]
    1 frame
  3. hazelcast
    ServiceLoader$1.next
    1. com.hazelcast.util.ServiceLoader$1.next(ServiceLoader.java:97)[hazelcast-3.1.6.jar:3.1.6]
    1 frame
  4. Hazelcast
    HazelcastInstanceFactory.newHazelcastInstance
    1. com.hazelcast.nio.serialization.PortableHookLoader.load(PortableHookLoader.java:48)[hazelcast-3.1.6.jar:3.1.6]
    2. com.hazelcast.nio.serialization.PortableHookLoader.<init>(PortableHookLoader.java:41)[hazelcast-3.1.6.jar:3.1.6]
    3. com.hazelcast.nio.serialization.SerializationServiceImpl.<init>(SerializationServiceImpl.java:123)[hazelcast-3.1.6.jar:3.1.6]
    4. com.hazelcast.nio.serialization.DefaultSerializationServiceBuilder.createSerializationService(DefaultSerializationServiceBuilder.java:221)[?:?]
    5. com.hazelcast.nio.serialization.DefaultSerializationServiceBuilder.build(DefaultSerializationServiceBuilder.java:194)[?:?]
    6. com.hazelcast.instance.DefaultNodeExtension.createSerializationService(DefaultNodeExtension.java:105)[?:?]
    7. com.hazelcast.instance.Node.<init>(Node.java:158)[hazelcast-3.1.6.jar:3.1.6]
    8. com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:117)[hazelcast-3.1.6.jar:3.1.6]
    9. com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:153)[hazelcast-3.1.6.jar:3.1.6]
    10. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:136)[hazelcast-3.1.6.jar:3.1.6]
    11. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:112)[hazelcast-3.1.6.jar:3.1.6]
    11 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_25]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_25]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25]
    4. java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25]
    4 frames
  6. Spring Beans
    SimpleInstantiationStrategy.instantiate
    1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    1 frame
  7. Spring Config
    LaxInstantiationStrategyWrapper.instantiate
    1. org.mule.config.spring.util.LaxInstantiationStrategyWrapper.instantiate(LaxInstantiationStrategyWrapper.java:75)[mule-module-spring-config-3.7.3.jar:3.7.3]
    1 frame
  8. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    6. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    7. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    9 frames
  9. Spring Context
    AbstractApplicationContext.getBean
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    1 frame
  10. com.comviva.mpos
    CacheModuleParams.setApplicationContext
    1. com.comviva.mpos.cache.CacheModuleParams.setupHazelCast(CacheModuleParams.java:216)[?:?]
    2. com.comviva.mpos.cache.CacheModuleParams.setApplicationContext(CacheModuleParams.java:588)[?:?]
    2 frames
  11. Spring Context
    ApplicationContextAwareProcessor.postProcessBeforeInitialization
    1. org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:119)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:94)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2 frames
  12. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    10. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    15. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    16. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    17. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    19. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    20. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    22. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    23. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    24. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    25. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    26. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    27. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    28. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    29. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:753)[mule-module-spring-config-3.7.3.jar:4.1.6.RELEASE]
    29 frames
  13. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2 frames
  14. Spring Config
    SpringRegistry.doInitialise
    1. org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:108)[mule-module-spring-config-3.7.3.jar:3.7.3]
    1 frame
  15. Mule Core
    AbstractRegistry.initialise
    1. org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:104)[mule-core-3.7.3.jar:3.7.3]
    1 frame
  16. Spring Config
    SpringXmlConfigurationBuilder.doConfigure
    1. org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:172)[mule-module-spring-config-3.7.3.jar:3.7.3]
    2. org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:95)[mule-module-spring-config-3.7.3.jar:3.7.3]
    2 frames
  17. Mule Core
    DefaultMuleContextFactory.createMuleContext
    1. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-3.7.3.jar:3.7.3]
    2. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-3.7.3.jar:3.7.3]
    3. org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)[mule-core-3.7.3.jar:3.7.3]
    4. org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:52)[mule-core-3.7.3.jar:3.7.3]
    5. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43)[mule-core-3.7.3.jar:3.7.3]
    6. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-3.7.3.jar:3.7.3]
    7. org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89)[mule-core-3.7.3.jar:3.7.3]
    8. org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)[mule-core-3.7.3.jar:3.7.3]
    9. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81)[mule-core-3.7.3.jar:3.7.3]
    9 frames
  18. Mule 3 Launcher
    DefaultMuleApplication.init
    1. org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188)[mule-module-launcher-3.7.3.jar:3.7.3]
    1 frame