Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-65958

Error finding assignable user matching some substring

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      1. Go to https://ecosystem.atlassian.net/browse/AC-1551
      2. Click Assign
      3. Type "and" or "fe" in the Assignee field

      Results
      See screenshot. An alert is displayed: "The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation."

      Stack Trace

      ajp-nio-127.0.0.104-8009-exec-263 ERROR epehrson 940x1826247x2 s92uvb 202.68.74.170,165.254.226.241 /rest/api/latest/user/assignable/multiProjectSearch [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor9274.invoke(Unknown Source) [?:?]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45]
      	at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
      	at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) [atlassian-rest-module-3.0.0-m012_1436921556000.jar:?]
      	at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) [atlassian-rest-module-3.0.0-m012_1436921556000.jar:?]
      	... 3 filtered
      	at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:59) [jira-rest-plugin-7.0.0-OD-01-156.jar:?]
      	... 1 filtered
      	at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:43) [jira-rest-plugin-7.0.0-OD-01-156.jar:?]
      	... 15 filtered
      	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) [atlassian-rest-module-3.0.0-m012_1436921556000.jar:?]
      	... 1 filtered
      	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) [atlassian-rest-module-3.0.0-m012_1436921556000.jar:?]
      	... 41 filtered
      	at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) [atlassian-whitelist-api-plugin-1.13_1436921555000.jar:?]
      	... 73 filtered
      	at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) [atlassian-rest-module-3.0.0-m012_1436921556000.jar:?]
      	... 93 filtered
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.20]
      	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
      Caused by: java.lang.IllegalArgumentException: fromIndex(100) > toIndex(51)
      	at java.util.ArrayList.subListRangeCheck(ArrayList.java:1006) [?:1.8.0_45]
      	at java.util.ArrayList.subList(ArrayList.java:996) [?:1.8.0_45]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.searchCrowdLimitedResults(DefaultUserPickerSearchService.java:593) [DefaultUserPickerSearchService.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.access$200(DefaultUserPickerSearchService.java:66) [DefaultUserPickerSearchService.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService$CrowdSearchSource.search(DefaultUserPickerSearchService.java:275) [DefaultUserPickerSearchService$CrowdSearchSource.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.attemptFindUsersWithCrowd(DefaultUserPickerSearchService.java:234) [DefaultUserPickerSearchService.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:294) [DefaultUserPickerSearchService.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:140) [DefaultUserPickerSearchService.class:?]
      	at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:133) [DefaultUserPickerSearchService.class:?]
      	... 2 filtered
      	at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
      	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) [atlassian-plugins-core-4.0.0.jar:?]
      	at com.sun.proxy.$Proxy186.findUsers(Unknown Source) [?:?]
      	... 2 filtered
      	at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) [?:?]
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) [?:?]
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) [?:?]
      	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) [?:?]
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) [gemini-blueprint-core-2.0.0.BUILD-atlassian-m002.jar:2.0.0.BUILD-atlassian-m002]
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) [org.apache.servicemix.bundles.spring-aop-4.1.6.RELEASE_1.jar:?]
      	at com.sun.proxy.$Proxy2391.findUsers(Unknown Source) [?:?]
      	at com.atlassian.jira.rest.v2.issue.users.UserPickerResourceHelperImpl.findUsers(UserPickerResourceHelperImpl.java:172) [jira-rest-plugin-7.0.0-OD-01-156.jar:?]
      	at com.atlassian.jira.rest.v2.issue.UserResource.findBulkAssignableUsers(UserResource.java:1189) [jira-rest-plugin-7.0.0-OD-01-156.jar:?]
      	... 242 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              epehrson Einar Pehrson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: