ClassUtils.forName() 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.ClassUtils.forName

Matching stack traces (4)

See Also

Parent

632 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>()
  • 41 web pages  - Assert.notNull() has thrown an IllegalArgumentException
    java.lang.IllegalArgumentException
        at org.springframework.util.Assert.notNull()
        at org.springframework.util.Assert.notNull()
  • 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()

Typical exception messages

  1. 4 crashes - Name must not be null