Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

An error occurred method getSearchPermissionRulesForIndex in SecureFieldLucenePermissionUtils


I make script listener in Scriptrunner which try to make issue transition on workflow. It works but in atlassian-jira.log I have ERROR with long stacktrace
I suppose the problem in Secure Fields plugin but can't understand how to fix it. There are no any secure fields on this workflow

year-m-d 18:01:36,738 http-nio-12-exec-87 INFO user xxx xxx IP, IP /secure/AjaxIssueAction.jspa [onresolve.scriptrunner.runner.ScriptBindingsManager] Set assignee as assigneeUser
year-m-d 18:01:36,777 http-nio-12-exec-87 ERROR user xxx xxx IP, IP /secure/AjaxIssueAction.jspa [utils.lucene.permission.SecureFieldLucenePermissionUtils] An error occurred during invocation of method getSearchPermissionRulesForIndex in SecureFieldLucenePermissionUtils
at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.coresoftlabs.common.utils.lucene.permission.SecureFieldLucenePermissionUtils.getSearchPermissionRulesForIndex(
at com.coresoftlabs.common.utils.lucene.indexers.SecureSortableTextCustomFieldIndexer.addDocumentFields(
at com.coresoftlabs.common.utils.lucene.indexers.SecureSortableTextCustomFieldIndexer.addDocumentFieldsNotSearchable(
at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addDocumentFieldsNotSearchable(
at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(
at com.atlassian.jira.issue.index.managers.CustomFieldIndexerAdapter.addIndex(
at com.atlassian.jira.issue.index.indexers.FieldIndexerWithStats.addIndex(
at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory$Builder.add(
at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory$Builder.addAll(
at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.lambda$createDocuments$2(
at java.util.Collections$SingletonList.forEach(
at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.createDocuments(
at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.createDocument(
at com.atlassian.jira.issue.index.DefaultIssueIndexer$DefaultDocumentCreationStrategy.get(
at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssuesOperation.createDocument(
Caused by: java.lang.NullPointerException at com.coresoftlabs.secureFields.commons.config.base.permissionsSchemesForCustomFields.CustomFieldPermissionsSchemeConfigLinker.<init>( at at com.coresoftlabs.secureFields.commons.config.base.permissions.PermissionssUtils.getSearchPermissionRulesForIndex(
... 445 more

1 answer

Hi @aas

Jakub From CoresoftLabs (Developer of the App) 

please drop us a ticket on our support portal

Tell us which version of Jira, Secure Fields for Jira you are using
Please also send us a screenshot of the Scripted Listener Configuration and Secure Fields you have on your instance.

Having this information we should be able to provide some remedy.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

246 views 1 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you