NullPointerException thrown when trying to sync repo

Timothy Chin Community Champion Jan 11, 2013

After clicking the refresh icon to Sync Repo, an error message is returned:

*Sync Failed: java.lang.NullPointerException*

2013-01-11 17:19:42,578 BitbucketConnectorExecutorServiceThread:thread-1 WARN ServiceRunner    com.atlassian.jira.plugins.dvcs.scheduler.DvcsScheduler:job [dvcs.sync.impl.DefaultSynchronizer] 
	at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.ChangesetFileTransformer$1.transform(
	at org.apache.commons.collections.CollectionUtils.collect(
	at org.apache.commons.collections.CollectionUtils.collect(
	at org.apache.commons.collections.CollectionUtils.collect(
	at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.ChangesetFileTransformer.fromBitbucketChangesetsWithDiffstat(
	at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.DetailedChangesetTransformer.fromChangesetAndBitbucketDiffstats(
	at com.atlassian.jira.plugins.dvcs.spi.bitbucket.BitbucketCommunicator.getDetailChangeset(
	at com.atlassian.jira.plugins.dvcs.sync.impl.DefaultSynchronisationOperation.synchronise(
	at com.atlassian.jira.plugins.dvcs.sync.impl.DefaultSynchronizer$
	at java.util.concurrent.Executors$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

The DVCS connector is connecting to BitBucket.

2 answers

1 accepted

0 votes
Answer accepted

Hi Timothy,

This issue has cropped up a couple of times recently. We've been resolving it by manually updating the DVCS connector plugin to version Please raise a support ticket and myself or one of my team mates should be able to get this taken care of.



Timothy Chin Community Champion Jan 17, 2013

Where do I raise this issue at? I coulnd not even find the right JIRA instance to raise this issue..

Hi Timothy,

As Turner suggested, it is best to raise an issue on support. You may register first and raise this question to

Do let us know if you need assistance on this.

Hi Tomothy,

I'm afraid that you have run into a known bug described on the following report: I could not find any workarounds for this, so my best advice is to wait for version 1.3 of the plugin.

I hope this is has been helpful.

Timothy Chin Community Champion Jan 15, 2013

Can't view the issue but does the sync actually finish?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


180 views 0 4
Read article

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