Assert.notEmpty() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.notEmpty
IllegalArgumentException if the object array is @code null or contains no elements
at org.springframework.util.Assert.notEmpty
IllegalArgumentException if the object array is @code null or contains no elements

Matching stack traces (5)

  1. hyoh...@gmail.comvia Google Groups1 year ago
    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. 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. MOHAK Rvia Google Groups2 years ago
    [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  4. MOHAK Rvia Google Groups2 years ago
    [Assertion failed] - this collection must not be empty: it must contain at least 1 element

See Also

Parent

57 web pages  - Assert.notEmpty() has thrown an IllegalArgumentException
java.lang.IllegalArgumentException
    at org.springframework.util.Assert.notEmpty()

Siblings

  • 15 web pages  - AbstractAutowireCapableBeanFactory.initializeBean() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.data.jpa.mapping.JpaMetamodelMappingContext.<init>()
        at org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean.createInstance()
        at org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean.createInstance()
        at org.springframework.beans.factory.config.AbstractFactoryBean.afterPropertiesSet()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  • 6 web pages  - SpringApplication.run() has thrown a BeanDefinitionStoreException
    org.springframework.beans.factory.BeanDefinitionStoreException
        at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors()
        at org.springframework.context.annotation.ConfigurationClassParser.parse()
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions()
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry()
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors()
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors()
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors()
        at org.springframework.context.support.AbstractApplicationContext.refresh()
        at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh()
        at org.springframework.boot.SpringApplication.refresh()
        at org.springframework.boot.SpringApplication.refreshContext()
        at org.springframework.boot.SpringApplication.run()
        at org.springframework.boot.SpringApplication.run()
        at org.springframework.boot.SpringApplication.run()
    Caused by: java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getCandidateConfigurations()
        at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.selectImports()
        at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors()
  • 3 web pages  - AbstractApplicationContext.refresh() has thrown a BeanDefinitionStoreException
    org.springframework.beans.factory.BeanDefinitionStoreException
        at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors()
        at org.springframework.context.annotation.ConfigurationClassParser.parse()
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions()
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry()
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors()
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors()
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors()
        at org.springframework.context.support.AbstractApplicationContext.refresh()
    Caused by: java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.getCandidateConfigurations()
        at org.springframework.boot.autoconfigure.EnableAutoConfigurationImportSelector.selectImports()
        at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors()
  • 2 web pages  - MockHttpServletRequestBuilder.addToMultiValueMap() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder.addToMultiValueMap()
  • 2 web pages  - AbstractCacheManager.afterPropertiesSet() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.cache.support.AbstractCacheManager.afterPropertiesSet()
  • 2 web pages  - AbstractAutowireCapableBeanFactory.initializeBean() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.security.config.NamespaceAuthenticationManager.afterPropertiesSet()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  • 2 web pages  - JpaBaseConfiguration.entityManagerFactory() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.getPackagesToScan()
        at org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.entityManagerFactory()
  • 1 web pages  - SpringApplication.run() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.boot.SpringApplication.prepareContext()
        at org.springframework.boot.SpringApplication.run()
  • 1 web pages  - MessagingMethodInvokerHelper.findHandlerMethodsForTarget() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.integration.util.MessagingMethodInvokerHelper.findHandlerMethodsForTarget()

Children

  • 3 web pages  - RPC.invokeAndEncodeResponse() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notEmpty()
        at org.springframework.util.Assert.notEmpty()
        at com.integrien.alive.vm.manager.group.GroupManagerImpl.getGroup()
        at sun.reflect.GeneratedMethodAccessor.invoke()
        at sun.reflect.DelegatingMethodAccessorImpl.invoke()
        at java.lang.reflect.Method.invoke()
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace()
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke()
        at com.sun.proxy.$Proxy.getGroup()
        at com.company.cm.ui.server.GroupServiceImpl.getGroup()
        at sun.reflect.GeneratedMethodAccessor.invoke()
        at sun.reflect.DelegatingMethodAccessorImpl.invoke()
        at java.lang.reflect.Method.invoke()
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace()
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke()
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke()
        at com.sun.proxy.$Proxy.getGroup()
        at sun.reflect.GeneratedMethodAccessor.invoke()
        at sun.reflect.DelegatingMethodAccessorImpl.invoke()
        at java.lang.reflect.Method.invoke()
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse()

Typical exception messages

  1. 2 crashes - [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  2. 1 crashes - [Assertion failed] - this collection must not be empty: it must contain at least 1 element
  3. 1 crashes - [Assertion failed] - this array must not be empty: it must contain at least 1 element
  4. 1 crashes - [Assertion failed] - this collect ion must not be empty: it must contain at least 1 element