Assert.notNull() 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.notNull
IllegalArgumentException if the object is @code null
at org.springframework.util.Assert.notNull
IllegalArgumentException if the object is @code null

Matching stack traces (41)

  1. Jenkinsvia Google Groups3 months ago
    [Assertion failed] - this argument is required; it must not be null
  2. user7916020via Stack Overflow11 months ago
    Error creating bean with name 'kafkaOutboundChannelAdapter': Cannot resolve reference to bean 'org.springframework.integration.kafka.outbound.KafkaProducerMessageHandler#0' while setting bean property 'handler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.kafka.outbound.KafkaProducerMessageHandler#0': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
  3. Unknown authorvia hatenablog.com1 year ago
    [Assertion failed] - this argument is required; it must not be null
  4. Unknown authorvia oschina.net1 year ago
    [Assertion failed] - this argument is required; it must not be null
  5. Emanuel Teixeiravia Pentaho BI Platform Tracking1 year ago
  6. bicstervia Stack Overflow1 year ago
    Error creating bean with name 'reader' defined in class path resource [com/chrisbeech/batch/JobConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
  7. Tom Personsvia Spring JIRA1 year ago
    Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]]
  8. Mauro Ransolinvia Spring JIRA1 year ago
    [Assertion failed] - this argument is required; it cannot be null

See Also

Parent

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

Siblings

  • 54 web pages  - DefaultServletHandlerConfigurer.<init>() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer.<init>()
  • 17 web pages  - ProxyAsyncConfiguration.asyncAdvisor() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()
  • 13 web pages  - AbstractSecurityInterceptor.afterPropertiesSet() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.security.access.intercept.AbstractSecurityInterceptor.afterPropertiesSet()
  • 13 web pages  - PersistentEntityResourceAssembler.wrap() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.data.rest.webmvc.PersistentEntityResource$Builder.<init>()
        at org.springframework.data.rest.webmvc.PersistentEntityResource$Builder.<init>()
        at org.springframework.data.rest.webmvc.PersistentEntityResource.build()
        at org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler.wrap()
  • 8 web pages  - AbstractApplicationContext.refresh() has thrown a BeanCreationException
    org.springframework.beans.factory.BeanCreationException
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject()
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton()
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean()
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons()
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization()
        at org.springframework.context.support.AbstractApplicationContext.refresh()
    Caused by: java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration.checkTemplateLocationExists()
        at sun.reflect.NativeMethodAccessorImpl.invoke0()
        at sun.reflect.NativeMethodAccessorImpl.invoke()
        at sun.reflect.DelegatingMethodAccessorImpl.invoke()
        at java.lang.reflect.Method.invoke()
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke()
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods()
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization()
  • 8 web pages  - CacheAwareContextLoaderDelegate.loadContext() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal()
        at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext()
  • 7 web pages  - AbstractDelegatedExecutionApplicationContext.normalRefresh() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh()
  • 7 web pages  - AbstractBeanFactory.transformedBeanName() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.beans.factory.BeanFactoryUtils.transformedBeanName()
        at org.springframework.beans.factory.support.AbstractBeanFactory.transformedBeanName()
  • 7 web pages  - MockMvcBuilders.webAppContextSetup() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.test.web.servlet.setup.DefaultMockMvcBuilder.<init>()
        at org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppContextSetup()

Children

  • 6 web pages  - MappingSolrConverter$SolrPropertyValueProvider.readValue() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
        at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readValue()
        at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readCollection()
        at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readValue()
  • 3 web pages  - StandardHost.addChild() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
        at lab.s2jh.core.context.SpringContextHolder.getBean()
        at lab.s2jh.auth.security.AuthLogonHistRefreshListener.contextDestroyed()
        at org.apache.catalina.core.StandardContext.listenerStop()
        at org.apache.catalina.core.StandardContext.stopInternal()
        at org.apache.catalina.util.LifecycleBase.stop()
        at org.apache.catalina.util.LifecycleBase.start()
        at org.apache.catalina.core.ContainerBase.addChildInternal()
        at org.apache.catalina.core.ContainerBase.addChild()
        at org.apache.catalina.core.StandardHost.addChild()
  • 3 web pages  - ParameterBinder.bind() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
        at org.springframework.data.jpa.repository.query.ParameterMetadataProvider$ParameterMetadata.prepare()
        at org.springframework.data.jpa.repository.query.CriteriaQueryParameterBinder.bind()
        at org.springframework.data.jpa.repository.query.ParameterBinder.bind()
  • 2 web pages  - AbstractBeanFactory.getBean() has thrown a BeanCreationException
    org.springframework.beans.factory.BeanCreationException
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean()
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance()
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean()
    Caused by: java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
        at org.springframework.data.jpa.repository.support.SimpleJpaRepository.<init>()
        at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository()
        at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository()
        at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository()
        at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject()
        at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject()
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean()
  • 1 web pages  - AbstractMongoQuery.execute() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
        at org.springframework.data.convert.EntityInstantiators.getInstantiatorFor()
        at org.springframework.data.mongodb.repository.query.DtoInstantiatingConverter.<init>()
        at org.springframework.data.mongodb.repository.query.MongoQueryExecution$ResultProcessingConverter.convert()
        at org.springframework.data.mongodb.repository.query.MongoQueryExecution$ResultProcessingExecution.execute()
        at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute()

Typical exception messages

  1. 46 crashes - [Assertion failed] - this argument is required; it must not be null
  2. 4 crashes - [Assertion failed] - this argument is required; it cannot be null
  3. 1 crashes - [Assertion failed] - this argument is required; it must not be null
  4. 1 crashes - [Assertion failed] - this argument is required; it must not be null