An unknown error occurred while trying to perform a search

I accidentally wanna change my account name to a better name and afterwards all my jira issues and bitbucket work are gone in the issue dashboard. Then I changed back to my original username. It showed "An unknown error occurred while trying to perform a search".

Can you call me to assist me to solve this problem? I am the administrator of the company jira.

1 answer

1 vote

Hi Gauss,

Can you let me know what version of Jira and Bitbucket that you are running?

Can you confirm how you performed the change on both platforms, and that you didn't create a new user or modify your existing permissions?



JIRA Software 7.5.2 and Bitbucket 5.5.

I did not do anything in the bitbucket. These two have been connected since I setup up both of them first time. The only thing I did is that I accidentally changed my username(admin) to another prettier name, finding out all my jira issues are gone. Then I changed it back. The issues never came back. Maybe I can call you and you can guide me step by step how I can check the problem. 


So can you please confirm with me the extent of the problem? Are your Jira issues only missing from Bitbucket, or are they also removed from Jira? 

I won't be able to walk you through it over the phone, but I can troubleshoot the issue on my end and let you know how to fix it on Community. Posting the result publicly lets other users see how to fix it and help in the future.



Hi, Shannon,

The extent of the problem is pretty severe. The jira issues are missing from Jira. I tried the reindexing solution this afternoon but it did not recover completely. Now I can see the previous issues. However, if I click "show more". Suddenly all the issues gone, showing the same error I got before. 


I think reindexing might help but not solved completely.

Hi Gauss,

I spoke with a few of the members from the Jira Server team, and they let me know that actually this could occur if you changed the name of a user to a username that used to exist for a former user.

Did you change the username itself, or the display name?

You can check the app_users table in Jira for associations of former usernames that could cause this conflict.

To verify, the issues aren't missing for other users, right? My assumption is after the change only your user is not able to view the issues?

Lastly, if you tail the Jira Server Logs when you try to perform the action from the above screenshot, can you let us know what errors are showing there?



Hi, Shannon,

Thanks for your answer.  The issue is not happening for another user. 

The errors in the jira server log is as below:

018-01-22 11:59:40,683 StreamsCompletionService::thread-3 ERROR gausslee 719x1677x3 1mlh1in /plugins/servlet/streams [c.a.streams.internal.LocalActivityProvider] Exception building feed
com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.jira.util.RuntimeIOException: read past EOF
at com.atlassian.jira.issue.index.SearcherCache.retrieveEntitySearcher(
at com.atlassian.jira.issue.index.DefaultIssueSearcherFactory.getEntitySearcher(
at com.atlassian.jira.issue.index.DefaultIndexManager.getEntitySearcher(
at com.atlassian.jira.issue.index.DefaultIndexManager.getIssueSearcher(
at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
... 1 filtered
at java.lang.reflect.Method.invoke(
at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(
at com.sun.proxy.$Proxy12.getIssueSearcher(Unknown Source)

Thank you, Gauss!

Can you please review the article below and the workarounds suggested? 

Do you have any updates on my previous suggestions? 



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,054 views 15 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you