TaskThread$WrappingRunnable.run() has thrown a NullPointerException

java.lang.NullPointerException
Javadoc
Thrown when an application attempts to use {@code null} in a case where an object is required. These include:
  • Calling the instance method of a {@code null} object.
  • Accessing or modifying the field of a {@code null} object.
  • Taking the length of {@code null} as if it were an array.
  • Accessing or modifying the slots of {@code null} as if it were an array.
  • Throwing {@code null} as if it were a {@code Throwable} value.

Applications should throw instances of this class to indicate other illegal uses of the {@code null} object. {@code NullPointerException} objects may be constructed by the virtual machine as if {@linkplain Throwable#Throwable(String, Throwable, boolean, boolean) suppression were disabled and/or the stack trace was not writable}. @author unascribed @since JDK1.0

at org.apache.commons.lang3.Validate.notNull
(source)
at org.apache.commons.lang3.Validate.notNull
(source)
at com.atlassian.crowd.manager.application.AliasManagerImpl.findUsernameByAlias
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction
(source)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
at com.sun.proxy.$Proxy.findUsernameByAlias
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
at com.sun.proxy.$Proxy.findUsernameByAlias
at com.atlassian.crowd.manager.application.TranslatingApplicationService.replaceAliasesWithUsernames
at com.atlassian.crowd.manager.application.TranslatingApplicationService.searchUsersInternal
at com.atlassian.crowd.manager.application.TranslatingApplicationService.searchUsers
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction
(source)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
at com.sun.proxy.$Proxy.searchUsers
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
at com.sun.proxy.$Proxy.searchUsers
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
at com.sun.proxy.$Proxy.searchUsers
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed
(source)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed
(source)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
at com.sun.proxy.$Proxy.searchUsers
at com.atlassian.crowd.plugin.rest.service.controller.SearchController.searchUsers
at com.atlassian.crowd.plugin.rest.service.controller.SearchController.searchUsers
at com.atlassian.crowd.plugin.rest.service.resource.SearchResource.search
at sun.reflect.NativeMethodAccessorImpl.invoke0
(source)
at sun.reflect.NativeMethodAccessorImpl.invoke
(source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept
at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke
at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept
at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch
(source)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept
(source)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept
(source)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept
(source)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept
(source)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest
(source)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest
(source)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest
(source)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest
(source)
at com.sun.jersey.spi.container.servlet.WebComponent.service
(source)
at com.sun.jersey.spi.container.servlet.ServletContainer.service
(source)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter
at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter
(source)
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilterInternal
at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.springframework.security.web.FilterChainProxy.doFilterInternal
(source)
at org.springframework.security.web.FilterChainProxy.doFilter
(source)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate
(source)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter
(source)
at com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.crowd.plugin.rest.filter.SeraphDisablerFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal
(source)
at com.atlassian.crowd.console.filter.CrowdOpenSessionInViewFilter.doFilterInternal
at org.springframework.web.filter.OncePerRequestFilter.doFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at com.atlassian.crowd.plugin.web.filter.RequestCacheThreadLocalFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter
at com.atlassian.crowd.plugin.rest.filter.RestServiceVersionFilter.doFilter
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal
(source)
at org.springframework.web.filter.OncePerRequestFilter.doFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at com.atlassian.crowd.plugin.web.filter.HttpContextFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.apache.catalina.core.StandardWrapperValve.invoke
(source)
at org.apache.catalina.core.StandardContextValve.invoke
(source)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(source)
at org.apache.catalina.core.StandardHostValve.invoke
(source)
at org.apache.catalina.valves.ErrorReportValve.invoke
(source)
at org.apache.catalina.core.StandardEngineValve.invoke
(source)
at org.apache.catalina.connector.CoyoteAdapter.service
(source)
at org.apache.coyote.http11.AbstractHttp11Processor.process
(source)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process
(source)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run
(source)
at java.util.concurrent.ThreadPoolExecutor.runWorker
(source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run
(source)
191 frames hidden

Typical Exception Messages

  1. The validated object is null

Origin

$Proxy.findUsernameByAlias() has thrown a NullPointerException

java.lang.NullPointerException
24 frames hidden
com.sun.proxy.$Proxy.findUsernameByAlias
2Web pages

External results for this pattern (2)

  1. Daniel Rohan [Atlassian]via Atlassian JIRA5 months ago
  2. Daniel Rohan [Atlassian]via Atlassian JIRA5 months ago