java.lang.reflect.InvocationTargetException

nabble.com | 4 months ago
  1. 0

    Mule unit test fail due to a spring error - MuleSoft

    mulesoft.com | 1 year ago
    org.mule.api.config.ConfigurationException: Error creating bean with name '_mulePropertyPlaceholderProcessor' defined in URL [jar:file:/Users/leoamigood/.m2/repository/org/mule/modules/mule-module-spring-config/3.3.0-EA/mule-module-spring-config-3.3.0-EA.jar!/mule-spring-config.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL (org.mule.api.lifecycle.InitialisationException)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error in JUnit tests after adding Spring Security to pom.xml

    Stack Overflow | 1 year ago | user2595581
    java.lang.IllegalStateException: Failed to load ApplicationContext
  4. 0

    Caused by: java.lang.NoSuchFieldError: NULL

    Stack Overflow | 4 years ago | PAcan
    java.lang.IllegalStateException: Failed to load ApplicationContext

    2 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.NoSuchFieldError

      NULL

      at org.springframework.expression.TypedValue.<clinit>()
    2. Spring Expression Language (SpEL)
      StandardEvaluationContext.<init>
      1. org.springframework.expression.TypedValue.<clinit>(TypedValue.java:32)
      2. org.springframework.expression.spel.support.StandardEvaluationContext.setRootObject(StandardEvaluationContext.java:88)
      3. org.springframework.expression.spel.support.StandardEvaluationContext.<init>(StandardEvaluationContext.java:74)
      3 frames
    3. Spring Context
      StandardBeanExpressionResolver.evaluate
      1. org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:124)
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:225)
      3. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:201)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      11 frames
    5. Spring Context
      FileSystemXmlApplicationContext.<init>
      1. org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:746)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
      3. org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
      4. org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94)
      4 frames
    6. Camel :: Spring
      Main.doStart
      1. org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:176)
      2. org.apache.camel.spring.Main.doStart(Main.java:140)
      2 frames
    7. Camel :: Core
      MainSupport.run
      1. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
      2. org.apache.camel.main.MainSupport.run(MainSupport.java:141)
      3. org.apache.camel.main.MainSupport.run(MainSupport.java:332)
      3 frames
    8. Camel :: Spring
      Main.main
      1. org.apache.camel.spring.Main.main(Main.java:73)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. org.apache.camel
      RunMojo$1.run
      1. org.apache.camel.maven.RunMojo$1.run(RunMojo.java:440)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame