Issue indexing gitlab repositories.

Hi 

 

I have recently upgraded JIRA from 6.1 to 6.4.12 version. After the upgrade am seeing issues with gitlab repositories. Few repositories are working fine but for few i see the error. Tried to delete and reclone all the repositories but still see this issue. 

 

2016-05-23 16:48:30,871 xiplink-gitplugin-RevisionIndexerImpl:thread - 0 ERROR ServiceRunner     [jira.git.revisions.RevisionIndexerImpl] Unable to index repository 'uk_cert'

com.atlassian.jira.util.dbc.Assertions$NullArgumentException: key should not be null!

 at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29)

 at com.atlassian.jira.user.DelegatingApplicationUser.<init>(DelegatingApplicationUser.java:20)

 at com.atlassian.jira.user.util.DefaultUserManager.getAllApplicationUsers(DefaultUserManager.java:105)

 at sun.reflect.GeneratedMethodAccessor2208.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:497)

 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134)

 at com.sun.proxy.$Proxy275.getAllApplicationUsers(Unknown Source)  <+2> (DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:497)

 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)

 at com.sun.proxy.$Proxy275.getAllApplicationUsers(Unknown Source)

 at com.xiplink.jira.git.GitPluginPermissionManagerImpl.getSystemAdmin(GitPluginPermissionManagerImpl.java:230)

 at com.xiplink.jira.git.issue.UpdateIssueService.processLogEntry(UpdateIssueService.java:71)

 at com.xiplink.jira.git.revisions.RevisionsIndexManagerImpl.updateBranchIndex(RevisionsIndexManagerImpl.java:627)

 at com.xiplink.jira.git.revisions.GitPluginIndexManagerImpl.updateIndexByRepo(GitPluginIndexManagerImpl.java:314)

 at com.xiplink.jira.git.revisions.RevisionIndexerImpl$1.run(RevisionIndexerImpl.java:217)

 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

 at java.lang.Thread.run(Thread.java:745)

2016-05-23 16:48:31,955 xiplink-gitplugin-RevisionIndexerImpl:thread - 0 ERROR ServiceRunner     [jira.git.revisions.RevisionIndexerImpl] Unable to index repository 'bbl-legacy-ecommerce'

com.atlassian.jira.util.dbc.Assertions$NullArgumentException: key should not be null!

 at com.atlassian.jira.util.dbc.Assertions.notNull(Assertions.java:29)

 at com.atlassian.jira.user.DelegatingApplicationUser.<init>(DelegatingApplicationUser.java:20)

 at com.atlassian.jira.user.util.DefaultUserManager.getAllApplicationUsers(DefaultUserManager.java:105)

 at sun.reflect.GeneratedMethodAccessor2208.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:497)

 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134)

 at com.sun.proxy.$Proxy275.getAllApplicationUsers(Unknown Source)  <+2> (DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:497)

1 answer

Hi,

Something strange is with your System Admin. Its ID is null.

The fast workaround is:

Please contact us at support@bigbrassband.com for any questions in the future.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,932 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot