DVCS sync with Bitbucket repo shows java.lang.NullPointerException


I'm trying setup a link between JIRA DVCS and Bitbucket (mercurial) code repository. The DVCS Accounts screen allows me to add my Bitbucket account (User Account: panetdd) but when it sync the repo shows the following error: Sync Failed: java.lang.NullPointerException - I'm attaching the screenshot displaying the error.

Also this is what the log shows about this error:


2013-01-07 14:08:58,421 BitbucketConnectorExecutorServiceThread:thread-1 WARN ljaimes 812x10435x1 1hop0i0 /secure/admin/AddBitbucketOrganization!finish.jspa dvcs.sync.impl.DefaultSynchronizer


at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.ChangesetFileTransformer$1.transform(ChangesetFileTransformer.java:34)

at org.apache.commons.collections.CollectionUtils.collect(CollectionUtils.java:632)

at org.apache.commons.collections.CollectionUtils.collect(CollectionUtils.java:610)

at org.apache.commons.collections.CollectionUtils.collect(CollectionUtils.java:575)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.ChangesetFileTransformer.fromBitbucketChangesetsWithDiffstat(ChangesetFileTransformer.java:25)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.transformers.DetailedChangesetTransformer.fromChangesetAndBitbucketDiffstats(DetailedChangesetTransformer.java:21)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.BitbucketCommunicator.getDetailChangeset(BitbucketCommunicator.java:168)

at com.atlassian.jira.plugins.dvcs.service.remote.ChangesetIterator.next(BranchedChangesetIterator.java:109)

at com.atlassian.jira.plugins.dvcs.service.remote.BranchedChangesetIterator.next(BranchedChangesetIterator.java:61)

at com.atlassian.jira.plugins.dvcs.service.remote.BranchedChangesetIterator.next(BranchedChangesetIterator.java:19)

at com.atlassian.jira.plugins.dvcs.sync.impl.DefaultSynchronisationOperation.synchronise(DefaultSynchronisationOperation.java:64)

at com.atlassian.jira.plugins.dvcs.sync.impl.DefaultSynchronizer$1.run(DefaultSynchronizer.java:79)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

Also attached is a Word document with all system info details.

I'm not sure if it a issue with the DVCS plugin, or with my Bitbucket account (it is a personal account, not team account) or a problem with the Bitbucket website?

Please help

Thank You

Limber Jaimes

5 answers

1 accepted

I have updated the DVCS plugin to the latest version and now it is working :)

I'm having the same problem. I hope it's fixed soon.

I'm also receiving this error after updating with the new DVCS plugin.

JIRA DVCS Connector Plugin 1.2.6

There's still no official release yet that fixes the problem. However, I've manually installed version which seems to work again.

I have updated the DVCS plugin to the latest version and now it is working :)

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

285 views 38 9
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