Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Re indexing is failing due to Error creating bean with name 'com.iamhuy.jira.plugin.customfields.Use

Shivaprasad Hattaraki
Contributor
October 5, 2021

I have upgraded Jira software from 8.5.8 to 8.13.11 but I am not able to see any issues and not able to reindex the site, getting following error.

I have updated all Plugins already.

Here is the log:

 

/secure/admin/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: io.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.iamhuy.jira.plugin.customfields.UserPickerProjectRole': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.iamhuy.jira.plugin.customfields.UserPickerProjectRole]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.issue.customfields.impl.UserCFType.<init>(Lcom/atlassian/jira/issue/customfields/persistence/CustomFieldValuePersister;Lcom/atlassian/jira/issue/customfields/converters/UserConverter;Lcom/atlassian/jira/issue/customfields/manager/GenericConfigManager;Lcom/atlassian/jira/config/properties/ApplicationProperties;Lcom/atlassian/jira/security/JiraAuthenticationContext;Lcom/atlassian/jira/issue/fields/config/manager/FieldConfigSchemeManager;Lcom/atlassian/jira/project/ProjectManager;Lcom/atlassian/jira/template/soy/SoyTemplateRendererProvider;Lcom/atlassian/jira/security/groups/GroupManager;Lcom/atlassian/jira/security/roles/ProjectRoleManager;Lcom/atlassian/jira/bc/user/search/UserSearchService;Lcom/atlassian/jira/issue/fields/rest/json/beans/JiraBaseUrls;Lcom/atlassian/jira/user/UserHistoryManager;Lcom/atlassian/jira/user/UserFilterManager;Lcom/atlassian/jira/util/I18nHelper;Lcom/atlassian/jira/issue/fields/rest/json/UserBeanFactory;)V

 

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2021

@Shivaprasad Hattaraki 

Sounds like you have an app that is not compatible or needs to be upgraded.  https://confluence.atlassian.com/jirakb/reindexing-fails-after-jira-has-been-upgraded-due-to-nosuchmethoderror-in-accumulatingresultbuilder-672530825.html  I would recommend trying to run in safe mode to see if that fixes this issue.  If not you will need to identify which app is causing the issue and manually remove it.  

Shivaprasad Hattaraki
Contributor
October 6, 2021

Hi Brant,

I have disabled each plugin and checked the issues in Jira and finally found the plugin that was messed with us.

I disabled that plugin and it works.

 

Thank you for your valuable suggestion.

 

 Regards,

Shivaprasad 

Like 2 people like this
Mohan Sundar
Contributor
December 6, 2021

Hi Shivaprasad,

 

I need your help, could you please advise which plugin is causing this error in log

"com.iamhuy.jira.plugin.customfields.UserPickerProjectRole"

I'm facing issue and unable to reindex Jira.

I can try disable each plugin but I have many plugin which are installed.

Any help would be great!

 

Thanks and Regards,

Mohana Sundar J.

shattaraki December 6, 2021

Hello Mohan,

 

First thing is need to check the which plugin package is causing the re-indexing failure.

In my case com.iamhuy.jira.plugin.customfields.UserPickerProjectRole it was associated with Issue Alternative Assignee plugin.

 

You can find the package name in App Key so that you can find easily which plugin is messing up with you.

 

Attached screenshot for your reference.

1111.PNG

 

Regards,

Shivaprasad

Like Mohan Sundar likes this
Mohan Sundar
Contributor
December 7, 2021

Thank You for the response @Shivaprasad Hattaraki and for the help!

I was able to find that. Now disabled the plugin and was able to re-index successfully.

Thank Again!! Have a wonderful week ahead :) 

Suggest an answer

Log in or Sign up to answer