java.lang.IllegalArgumentException: ListableBeanFactory must not be null

Stack Overflow | drobson | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spring + Wicket + Tomcat: Program fails to start because of IllegalArgumentException

    Stack Overflow | 5 years ago | drobson
    java.lang.IllegalArgumentException: ListableBeanFactory must not be null
  2. 0

    Bean object must not be null in Spring MVC

    Stack Overflow | 3 years ago | Sivanagaiah
    java.lang.IllegalArgumentException: Bean object must not be null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    @Autowired in @Before of spring-test is null

    Stack Overflow | 2 years ago | carcaret
    java.lang.IllegalArgumentException: Target object must not be null
  5. 0

    Spring Boot test class wont inject beans

    Stack Overflow | 2 years ago | rayman
    java.lang.IllegalStateException: Failed to load ApplicationContext
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

    ListableBeanFactory must not be null

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:112)
    1 frame
  3. Spring Beans
    BeanFactoryUtils.beansOfTypeIncludingAncestors
    1. org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:273)
    1 frame
  4. Wicket Spring Integration
    SpringWebApplicationFactory.createApplication
    1. org.apache.wicket.spring.SpringWebApplicationFactory.createApplication(SpringWebApplicationFactory.java:160)
    2. org.apache.wicket.spring.SpringWebApplicationFactory.createApplication(SpringWebApplicationFactory.java:143)
    2 frames
  5. Wicket Core
    WicketFilter.init
    1. org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:708)
    1 frame
  6. Glassfish Core
    StandardContext$2.call
    1. org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)
    2. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
    3. org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
    4. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
    5. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4584)
    6. org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5262)
    7. org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5257)
    7 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:662)
    5 frames