Uploaded image for project: 'Advanced Roadmaps'
  1. Advanced Roadmaps
  2. JPOSERVER-105

com.atlassian.jira.util.dbc.Assertions$NullArgumentException :key should not be null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Obsolete
    • 1.6.1, 1.6.2, 1.12.2, 2.1.3
    • None
    • None

    Description

      Symptoms

      The following error is seen in JIRA Portfolio:

      Exception timestamp: 1408015110666
      
      com.atlassian.jira.util.dbc.Assertions$NullArgumentException :key should not be null!
      
        at com.atlassian.jira.util.dbc.Assertions.notNull:29
        at com.atlassian.jira.user.DelegatingApplicationUser.<init>:20
        at com.atlassian.jira.user.util.DefaultUserManager.getAllApplicationUsers:99
        at sun.reflect.NativeMethodAccessorImpl.invoke0:-2
        at sun.reflect.NativeMethodAccessorImpl.invoke:-1
        at sun.reflect.DelegatingMethodAccessorImpl.invoke:-1
        at java.lang.reflect.Method.invoke:-1
        at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke:129
        at com.sun.proxy.$Proxy92.getAllApplicationUsers:-1
        at sun.reflect.NativeMethodAccessorImpl.invoke0:-2
        at sun.reflect.NativeMethodAccessorImpl.invoke:-1
        at sun.reflect.DelegatingMethodAccessorImpl.invoke:-1
        at java.lang.reflect.Method.invoke:-1
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection:307
        at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke:58
        at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke:62
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:171
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed:131
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke:119
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:171
        at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged:56
        at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke:39
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:171
        at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke:59
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:171
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed:131
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke:119
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:171
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke:204
        at com.sun.proxy.$Proxy4134.getAllApplicationUsers:-1
        at com.radiantminds.roadmap.jira.common.components.extension.JiraUserManagement.listUsers:50
        at com.radiantminds.roadmap.common.rest.services.plans.PlanUserService.listAllUsersWithPost:48
        at sun.reflect.NativeMethodAccessorImpl.invoke0:-2
        at sun.reflect.NativeMethodAccessorImpl.invoke:-1
        at sun.reflect.DelegatingMethodAccessorImpl.invoke:-1
        at java.lang.reflect.Method.invoke:-1
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke:234
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept:100
        at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke:61
        at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept:38
        at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke:61
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors:132
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch:230
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch:75
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept:288
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept:108
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept:147
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept:84
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest:1469
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest:1400
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest:1349
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest:1339
        at com.sun.jersey.spi.container.servlet.WebComponent.service:416
        at com.sun.jersey.spi.container.servlet.ServletContainer.service:537
        at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter:178
        at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter:795
        at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter:73
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:77
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:63
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilterInternal:26
        at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilter:40
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter:25
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter:37
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.plugins.cors.CorsFilter.doFilter:65
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter:60
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter:92
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter:56
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.labs.botkiller.BotKillerFilter.doFilter:36
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:77
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:63
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.executeRequest:103
        at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.doFilter:87
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter.doFilter:54
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter:87
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:46
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter:61
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:77
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:63
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.seraph.filter.SecurityFilter.doFilter:234
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter:100
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.seraph.filter.BaseLoginFilter.doFilter:169
        at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter:70
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:46
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter:55
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter:40
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter:61
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:77
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:63
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter:71
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite:176
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules:145
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest:92
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter:394
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.gzipfilter.GzipFilter.doFilterInternal:80
        at com.atlassian.gzipfilter.GzipFilter.doFilter:51
        at com.atlassian.jira.web.filters.gzip.JiraGzipFilter.doFilter:55
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:46
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter:61
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter:66
        at com.sysbliss.jira.plugins.workflow.servlet.JWDSendRedirectFilter.doFilter:25
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter:74
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter:42
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:77
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter:63
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter:87
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter:33
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter:31
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter:41
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter:31
        at com.atlassian.jira.web.filters.PathMatchingEncodingFilter.doFilter:45
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter:31
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.startup.JiraStartupChecklistFilter.doFilter:78
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter:87
        at com.atlassian.jira.web.filters.JiraFirstFilter.doFilter:57
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter:243
        at org.apache.catalina.core.ApplicationFilterChain.doFilter:210
        at org.apache.catalina.core.StandardWrapperValve.invoke:225
        at org.apache.catalina.core.StandardContextValve.invoke:123
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke:472
        at org.apache.catalina.core.StandardHostValve.invoke:168
        at org.apache.catalina.valves.ErrorReportValve.invoke:98
        at org.apache.catalina.core.StandardEngineValve.invoke:118
        at org.apache.catalina.valves.AccessLogValve.invoke:927
        at org.apache.catalina.connector.CoyoteAdapter.service:407
        at org.apache.coyote.http11.AbstractHttp11Processor.process:1001
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process:585
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run:312
        at java.util.concurrent.ThreadPoolExecutor.runWorker:-1
        at java.util.concurrent.ThreadPoolExecutor$Worker.run:-1
        at java.lang.Thread.run:-1
      
      ===================
      === Client Info ===
      ===================
      User agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
      Local time: Thu Sep 25 2014 19:56:08 GMT+0200
      ===============
      === Request ===
      ===============
      URL: /rest/roadmap/1.0/plans/1/users.json?planVersion=8
      Type: POST
      Status: 500
      Data: "
      {\"title\":\"\"}
      

      Diagnosis

      This can happen when there are missing entries in JIRA for users in the app_user table for crowd users.

      Workaround

      Use the instructions from the knowledge base article Jira throws "user exists but has no unique key mapping" on login, or throws "The JIRA server was contacted but has returned an error response" on searching for users in user picker field.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bjaison BejoyA
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: