post upgrade to 8.13.5 and error pops up in task creation + assigning via kanboard

Eddie Sutton May 18, 2021

Upgraded to 8.13.5 and all seems to be working well except that when in a kanboard view and creating a new task and then clicking the dropdown to assign, an error window pops up:

"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation."

 

Then the details of the error show:

An error occurredHide…

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details
Exception: Uncaught TypeError: Cannot read property 'value' of undefined
Resource: https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US
Line: 3527
Column: 1131
Environment
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36
Stack trace
TypeError: Cannot read property 'value' of undefined
at Object. (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:1131)
at Array.filter ()
at Function.b.filter.b.select (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:699:40)
at Object.removeDuplicates (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:1018)
at r.formatSuggestions (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:2581)

at Object.removeDuplicates (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:1018)
at r.formatSuggestions (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:2581)
at r.formatSuggestions (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:798:611)
at r.formatSuggestions (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:2855)
at r.formatSuggestions (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:798:611)
at r. (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:3527:2035)
at c (https://pm.strandbooks.com/jira/s/411af47506af88ef4e7a778c3dd57129-CDN/-f8dtor/813005/6411e0087192541a09d88223fb51a6a0/ed8e6f219ee8ef78aed25eeb3be83007/_/download/contextbatch/js/_super/batch.js?locale=en-US:54:22895)

 

- then watching the atlassian-jira.log file at the time of the error:

 

==> /strand/jira/jira-data/log/atlassian-jira.log <==
2021-05-18 10:22:39,669-0400 http-nio-8080-exec-7 url: /jira/rest/api/latest/user/assignable/multiProjectSearch; user: pcd ERROR pcd 622x2569x1 8kb7tv 64.223.253.220,199.233.125.73 /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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker.lambda$_dispatch$0(DispatchProviderHelper.java:181)
... 4 filtered
at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55)
... 1 filtered
at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39)
... 15 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:160)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:70)
... 36 filtered
at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 43 filtered
at com.atlassian.plugins.slack.analytics.SlackAnalyticsFilter.doFilter(SlackAnalyticsFilter.java:35)
... 3 filtered
at com.atlassian.ratelimiting.internal.filter.RateLimitFilter.doFilter(RateLimitFilter.java:73)
... 3 filtered
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)
... 17 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:38)
... 19 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 10 filtered
at com.atlassian.ratelimiting.internal.filter.RateLimitPreAuthFilter.doFilter(RateLimitPreAuthFilter.java:71)
... 3 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 filtered
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)
... 3 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
... 26 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 25 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Searcher not available at this moment
at com.atlassian.jira.bc.user.search.DirectoryUserIndexer.lambda$internalSearch$6(DirectoryUserIndexer.java:243)
at java.util.Optional.orElseThrow(Optional.java:290)
at com.atlassian.jira.bc.user.search.DirectoryUserIndexer.internalSearch(DirectoryUserIndexer.java:243)
at com.atlassian.jira.bc.user.search.DirectoryUserIndexer.search(DirectoryUserIndexer.java:228)
at com.atlassian.jira.crowd.embedded.ofbiz.IndexedUserDao.lambda$null$11(IndexedUserDao.java:438)
at com.atlassian.jira.crowd.embedded.ofbiz.IndexedUserDao.lambda$trySearching$12(IndexedUserDao.java:444)
at java.util.Optional.flatMap(Optional.java:241)
at com.atlassian.jira.crowd.embedded.ofbiz.IndexedUserDao.trySearching(IndexedUserDao.java:436)
at com.atlassian.jira.crowd.embedded.ofbiz.IndexedUserDao.search(IndexedUserDao.java:427)
at com.atlassian.jira.crowd.embedded.ofbiz.DelegatingUserDao.search(DelegatingUserDao.java:124)
at com.atlassian.jira.crowd.embedded.ofbiz.SwitchingUserDao.search(SwitchingUserDao.java:30)
at com.atlassian.crowd.directory.AbstractInternalDirectory.searchUsers(AbstractInternalDirectory.java:702)
at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchUsers(DirectoryManagerGeneric.java:327)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.searchCrowdLimitedResults(DefaultUserPickerSearchService.java:513)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.access$200(DefaultUserPickerSearchService.java:74)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService$CrowdSearchSource.search(DefaultUserPickerSearchService.java:250)
at com.atlassian.jira.bc.user.search.IteratedSearcher.iteratedSearch(IteratedSearcher.java:43)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.attemptFindUsersWithCrowd(DefaultUserPickerSearchService.java:222)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsersGeneric(DefaultUserPickerSearchService.java:280)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:256)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:139)
at com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService.findUsers(DefaultUserPickerSearchService.java:130)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy507.findUsers(Unknown Source)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
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:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
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:186)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy4479.findUsers(Unknown Source)
at com.atlassian.jira.rest.v2.issue.users.UserPickerResourceHelperImpl.findUsers(UserPickerResourceHelperImpl.java:177)
at com.atlassian.jira.rest.v2.issue.UserResource.findBulkAssignableUsers(UserResource.java:970)
... 265 more

 

 

 

 

 

3 answers

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2021

Hi @Eddie Sutton

while I found a similar mention parts of the stacktrace in knowledgebase I thought it would be of a coincidence if just this App would be installed in your instance and same time being the source of the issue:
https://confluence.atlassian.com/jirakb/basic-rest-call-gets-internal-server-error-827101974.html

Instead I am wondering if you have already tested to deactivate all (probably installed) Apps and test again if the issue can be reproduced?

You can enter "safe mode" through UPM for a quick check like described here:
https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html#Disablingandenablingapps-Disablingorenablingallapps(usingSafeMode)

Just please keep in mind that it can disrupt user operations as literally all Apps will be deactivated temporarily. Therefore this test is best to be conducted during non-office hours.

Please let us know if the error message differs after having Apps temporarily disabled.

Regards,
Daniel

Eddie Sutton May 24, 2021

I did try leveraging safe mode as well as removing all plugins.  Clearly there is some form of race condition caused by data somewhere within our environment.  Choosing users for assignment or entering search  within the text field on a fresh install works as it should.  As soon as I restore the data (jira restore of XML, not postgresql) and log back in, everything breaks.   Doing the restore via postgresql showed the same results.  I tried several times using 8.13.6 LTS both on centos as well as ubuntu, no dice.

In an effort to get the data available to the company, I abandoned all hopes of an on premise service and migrated to the cloud offering even though we we're ready to house this data off premise.  Too many vague errors and symptoms had me waste too much time on this going down one rabbit hole after another.  Since the migration to the cloud offering worked, I wonder if I had gone with the newest non-LTS version as a test I would have seen something different.  Definitely going to call this problem not resolved.

Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2021

Sorry to hear it is not working. The migration to Cloud is one option - presumably one that some customers cannot take without in-depth planning, so if this is some kind of "workaround" that works for you I can understand your frustration.

In case you should have still a valid license for Jira on-prem this kind of issue should be covered by support - however, I can understand if you would not want to raise a request now because you are already in progress of migration to Cloud.

I just wanted to add this option.

Eddie Sutton May 24, 2021

We have a 10 user license of jira from Atlassian and they've ended direct support hence posting on this forum.

Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 25, 2021

Oh, I see - totally understand. I believe the migration to Cloud was some elegant way then, supposedly debugging an error like this would be something which is very hard via Community - you should never say never, but cases like this are rarely to fix when not directly sitting in front of the troubling system (or some log file back and forth reviewing).

So, I understood the case is closed for you - by migrating to Cloud?
If anything else should be left open please check back here for an exchange with Community.

0 votes
Mark McKeefry May 20, 2021

Issue 2 outlined above is happening after an upgrade over the weekend.   Making simple queries using a field with a search action associated with it is impossible, severely limiting the effectiveness of search.

0 votes
Eddie Sutton May 19, 2021

I've tried the following and clearly have some hidden corruption somewhere.  The failure described above also is manifesting itself within our production system running 7.13.5 which this was aimed at being the test upgrade for:

 

-index rebuild, both live and fully locked

-integrity check, only one permissions issue and the "fix" button seemed to work

-restore from postgresql (pgdump)

-restore from jira xml backup

-fresh install of brand new jira and then restoring both from postgresql and xml

 

All attempts still result in the two symptoms (I've found so far):

 

1. when clicking on the "assign" dropdown or "assign" button for a task (new or exisisting), the  error window pops up and the logs spew failure java output

 

2.  entering some text in the search field, anything, and while autocomplete shows some options which you can click on, if you hit enter on the text to perform the search, errors  flow in the logs and the web page renders white with the following text:

 

'"-->>]]ERROR OCCURRED

 

thoughts?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.5
TAGS
AUG Leaders

Atlassian Community Events