Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,965
Community Members
 
Community Events
176
Community Groups

Upgrade to Jira 9.0 Exception Thrown

We successfully upgraded Jira Core Server from 8.22.2 to 9.0, but when Jira re-indexed after the upgrade, we are taken to the "Jira had problems starting up page" with the following message:

There was an exception thrown when trying to complete the upgrades

Below are the logs from jiracore-stdout.log:

 Upgrade Succeeded! JIRA has been upgraded to build number 900001
*******************************************************************

2022-07-21 10:15:27,782-0500 JIRA-Bootstrap INFO [c.a.jira.upgrade.UpgradeIndexManager] Requesting immediate reindex
2022-07-21 10:15:49,048-0500 JIRA-Bootstrap ERROR [c.a.jira.upgrade.LicenseCheckingUpgradeService] An exception occurred when running to call a callable method, this shouldn't happen.
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at com.atlassian.jira.index.request.DefaultReindexRequestManager.reindex(DefaultReindexRequestManager.java:244)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:215)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:205)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.processPendingRequests(DefaultReindexRequestManager.java:181)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeImmediateReindex(UpgradeIndexManager.java:148)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeReindex(UpgradeIndexManager.java:139)
at com.atlassian.jira.upgrade.UpgradeIndexManager.runReindexIfNeededAndAllowed(UpgradeIndexManager.java:70)
at com.atlassian.jira.upgrade.LicenseCheckingUpgradeService.executeUpgrades(LicenseCheckingUpgradeService.java:147)
at com.atlassian.jira.upgrade.LicenseCheckingUpgradeService.runUpgrades(LicenseCheckingUpgradeService.java:97)
at com.atlassian.jira.upgrade.ClusterLockingUpgradeService.runUpgrades(ClusterLockingUpgradeService.java:35)
at com.atlassian.jira.upgrade.LoggingUpgradeService.lambda$runUpgradesWithLogging$0(LoggingUpgradeService.java:28)
at com.atlassian.jira.upgrade.LoggingUpgradeService.runWithTaskLogging(LoggingUpgradeService.java:43)
at com.atlassian.jira.upgrade.LoggingUpgradeService.runUpgradesWithLogging(LoggingUpgradeService.java:28)
at com.atlassian.jira.upgrade.IndexingUpgradeService.runUpgrades(IndexingUpgradeService.java:19)
at com.atlassian.jira.upgrade.DefaultUpgradeService.runUpgrades(DefaultUpgradeService.java:61)
at com.atlassian.jira.upgrade.UpgradeLauncher.upgradeIfNeeded(UpgradeLauncher.java:109)
at com.atlassian.jira.upgrade.UpgradeLauncher.start(UpgradeLauncher.java:86)
at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:50)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDBActivated(DefaultJiraLauncher.java:170)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:144)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:307)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:202)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:135)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:102)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:100)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at com.atlassian.jira.task.TaskManagerImpl.waitUntilTaskCompletes(TaskManagerImpl.java:344)
at com.atlassian.jira.index.request.TaskDescriptorHelper.waitForTaskCompletion(TaskDescriptorHelper.java:37)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.reindex(DefaultReindexRequestManager.java:242)
Caused by: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:88)
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:51)
at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.doReindex(ReIndexAsyncIndexerCommand.java:27)
at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:63)
at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.call(ReIndexAsyncIndexerCommand.java:18)
at com.atlassian.jira.index.request.DefaultReindexRequestManager$RunReindexAndUpdateRequestTask.call(DefaultReindexRequestManager.java:547)
at com.atlassian.jira.index.request.DefaultReindexRequestManager$RunReindexAndUpdateRequestTask.call(DefaultReindexRequestManager.java:532)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:528)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:486)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
... 1 more

 Any help would be appreciated. Thank you.

3 answers

1 accepted

1 vote
Answer accepted

Upgrading to 9.1.0 fixed the issue.

I have the same problem with the upgrade to the Jira version 8.20.11.

0 votes
Phill Fox Community Leader Jul 21, 2022

Worth checking out the details in https://community.atlassian.com/t5/Jira-Software-questions/Failed-to-reindex-from-upgrading-from-7-1-2-to-8-4-2/qaq-p/1198796

But I have also seen similar when upgrading and the JVM settings are either the default or have been reverted to the defaults. So worth checking that you have sufficient memory allocated in the JVM. 

 

Phill

I went and tried those suggestions, and they did not help. The memory settings were not changed, but I bumped the min to 512m and max to 4096m. Still didn't help. When I try to re-index, it fails and I see this in the error logs:

atlassian-jira.log

2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 WARN mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] Indexing failed for Entity - '10000'
2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 WARN mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.greenhopper.customfield.epicstatus.SelectSearcherWrapper': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.greenhopper.customfield.epicstatus.SelectSearcherWrapper]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: 'java.lang.Object com.atlassian.jira.util.JiraUtils.loadComponent(java.lang.Class)'
2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 ERROR mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.j.util.index.CompositeIndexLifecycleManager] Reindexing encountered an error for one of the indexers. Reindex all continues. Error for indexer: DefaultIndexManager: paths: [C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\comments, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\issues, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\changes, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\worklogs]
com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1857 errors

2022-07-21 15:17:49,887-0500 http-nio-80-exec-13 ERROR mwebster 917x134x1 u3lh0p IP /secure/admin/jira/IndexProgress.jspa [c.a.plugin.web.DefaultWebInterfaceManager] Could not evaluate condition 'com.atlassian.plugin.web.conditions.AndCompositeCondition@5a4d7ea9' for descriptor: com.atlassian.jirafisheyeplugin:perforce-config-webfragment (null)
java.lang.NoSuchMethodError: 'boolean com.atlassian.jira.application.ApplicationAuthorizationService.rolesEnabled()'
Phill Fox Community Leader Jul 22, 2022

Sorry my suggestions did not help but glad to see trying with Jira 9.1 did.  Would be interesting to know if this was an actual fix put in place by Atlassian or something else...

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22..2
TAGS

Atlassian Community Events