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 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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

152 views 1 17
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