org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'bulletins.bl.Service' defined in ServletContext resource [/WEB-INF/deplo y-context.xml]: Invocation of init method failed; nested exception is java.lang. IllegalArgumentException: [Assertion failed] - this collection must not be empty : it must contain at least 1 element

Google Groups | Unknown author | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The name must not contain whitespace

    Google Groups | 4 years ago | Unknown author
    org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'bulletins.bl.Service' defined in ServletContext resource [/WEB-INF/deplo y-context.xml]: Invocation of init method failed; nested exception is java.lang. IllegalArgumentException: [Assertion failed] - this collection must not be empty : it must contain at least 1 element
  2. 0

    Exception in RPC call from GWT

    Stack Overflow | 3 years ago | user35690
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.company.cm.ui.client.model.group.GroupData com.company.cm.ui.client.GroupService.getGroup(java.lang.Integer) throws com.company.cm.ui.client.exception.ServiceException' threw an unexpected exception: java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  3. 0

    java.lang.IllegalArgumentException

    Google Groups | 3 years ago | MOHAK R
    java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException

    Google Groups | 3 years ago | MOHAK R
    java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  6. 0

    Failed to process import candidates for configuration class

    Stack Overflow | 5 months ago | bachr
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [el.dorado.App]; nested exception is java.lang.IllegalArgumentException: No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure that file is correct.

  1. Hronom 4 times, last 4 weeks ago
  2. batwalrus76 7 times, last 2 months ago
16 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

    [Assertion failed] - this collect ion must not be empty: it must contain at least 1 element

    at org.springframework.util.Assert.notEmpty()
  2. Spring Core
    Assert.notEmpty
    1. org.springframework.util.Assert.notEmpty(Assert.java:268)
    2. org.springframework.util.Assert.notEmpty(Assert.java:280)
    2 frames
  3. cn.backend.bulletins
    BulletinJobDaoImpl$$FastClassByCGLIB$$763aa05f.invoke
    1. cn.backend.bulletins.dl.dao.BulletinJobDaoImpl.getLatestExecutionRecordForJob(BulletinJobDaoImpl.java:83)
    2. cn.backend.bulletins.dl.dao.BulletinJobDaoImpl$$FastClassByCGLIB$$763aa05f.invoke(<generated>)
    2 frames
  4. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    1 frame
  5. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    2 frames
  6. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  7. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    4. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)
    4 frames
  8. cn.backend.bulletins
    BulletinsService.initialiseBulletins
    1. cn.backend.bulletins.dl.dao.BulletinJobDaoImpl$$EnhancerByCGLIB$$28b49af.getLatestExecutionRecordForJob(<generated>)
    2. cn.backend.bulletins.bl.BulletinsService.rescheduleJob(BulletinsService.java:182)
    3. cn.backend.bulletins.bl.BulletinsService.initialiseBulletins(BulletinsService.java:101)
    3 frames
  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. Spring Beans
    AbstractAutowireCapableBeanFactory.initializeBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
    3 frames