java.lang.ExceptionInInitializerError

Google Groups | Abhishek Gedam | 5 months ago
  1. 0

    Unable to call method annotated with @Before hook in Cucumber JVM

    Stack Overflow | 5 months ago | srshawk
    Cucumber.runtime.CucumberException: Error creating bean with name 'com.steps.TestSteps': Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
  2. 0

    Spring Batch - "job" scoped beans can not be injected into "job" or "step" scoped beans

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.beanA' defined in class path resource [trial-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.sun.proxy.$Proxy1 implementing com.trial.BeanB,org.springframework.beans.factory.InitializingBean,org.springframework.aop.scope.ScopedObject,java.io.Serializable,org.springframework.aop.framework.AopInfrastructureBean,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised' to required type 'com.trial.BeanB' for property 'beanB'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.sun.proxy.$Proxy1 implementing com.trial.BeanB,org.springframework.beans.factory.InitializingBean,org.springframework.aop.scope.ScopedObject,java.io.Serializable,org.springframework.aop.framework.AopInfrastructureBean,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.trial.BeanB] for property 'beanB': no matching editors or conversion strategy found
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception : Error creating bean with name 'richBean'

    Stack Overflow | 3 years ago | user3398225
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'richBean': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: javax.enterprise.event.Event org.barApp.web.jsf.RichBean.pushEvent; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.enterprise.event.Event] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject(), @org.richfaces.cdi.push.Push(subtopic=, topic=pushCdi)}
  5. 0

    ActiveMQ: Access secured broker from webconsole

    Stack Overflow | 3 years ago | rethab
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queueBrowser' defined in ServletContext resource [/WEB-INF/webconsole-query.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.activemq.web.QueueBrowseQuery]: Constructor threw exception; nested exception is javax.jms.JMSSecurityException: Unable to authenticate transport without SSL certificate.

  1. andyglick 12 times, last 9 months ago
  2. marcbouvierdav 4 times, last 3 months ago
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. org.springframework.beans.factory.BeanCreationException

    Error creating bean with name 'com.steps.TestSteps': Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean()
  2. Spring Beans
    AbstractBeanFactory$2.getObject
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1101)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:342)
    5 frames
  3. cucumber.runtime.java
    GlueCodeScope.get
    1. cucumber.runtime.java.spring.GlueCodeScope.get(GlueCodeScope.java:15)
    1 frame
  4. Spring Beans
    DefaultListableBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)
    2. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:217)
    3. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:350)
    4. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:331)
    4 frames
  5. cucumber.runtime.java
    SpringFactory.getInstance
    1. cucumber.runtime.java.spring.SpringFactory.getInstance(SpringFactory.java:180)
    1 frame
  6. Cucumber-JVM: Java
    JavaHookDefinition.execute
    1. cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
    1 frame
  7. Cucumber-JVM: Core
    Main.main
    1. cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223)
    2. cucumber.runtime.Runtime.runHooks(Runtime.java:211)
    3. cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201)
    4. cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
    5. cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:165)
    6. cucumber.runtime.Runtime.run(Runtime.java:121)
    7. cucumber.api.cli.Main.run(Main.java:36)
    8. cucumber.api.cli.Main.main(Main.java:18)
    8 frames