Cannot make DVCS work with GitHub and JIRA - errors with installation and repos addition

My JIRA version is v4.4.1#660-r161644 . I have tried to install this plugin with 0.15.10, 0.15.9 and 0.15.8. None of them work. Below what happens for the latest version 0.15.10.

First when installing this error shows up:

012-07-19 11:34:27,818 pool-2-thread-1 INFO as 581x576x1 1d8s2u8 80.65.54.242,127.0.0.1 /rest/plugins/1.0/ [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /opt/xxx/atlassian/jira-appdata/plugins/installed-plugins/plugin.9127589413244495152.jira-dvcs-connector-plugin-0.15.10.jar (1342712067000) created

2012-07-19 11:34:27,904 pool-2-thread-1 INFO as 581x576x1 1d8s2u8 80.65.54.242,127.0.0.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.jira.plugins.jira-bitbucket-connector-plugin], 60 seconds remaining

2012-07-19 11:34:27,990 Spring executor 25 WARN as 581x576x1 1d8s2u8 80.65.54.242,127.0.0.1 /rest/plugins/1.0/ [plugin.osgi.factory.OsgiPlugin] Ignoring the Spring context that was just created for plugin com.atlassian.jira.plugins.jira-bitbucket-connector-plugin. The plugin is in an invalid state, DISABLED, that doesn't support a transition to enabled. Most likely, it was disabled due to a timeout.

But the plugin is successfully enabled in JIRA.

Then when adding any repo this error shows up:

2012-07-19 11:35:29,477 BitbucketConnectorExecutorServiceThread:thread-1 WARN as 695x2844x1 1d8s2u8 80.65.54.242,127.0.0.1 /secure/admin/AddGithubRepository!finish.jspa [jira.plugins.bitbucket.DefaultSynchronizer]

java.lang.NullPointerException

at com.atlassian.jira.plugins.bitbucket.spi.github.GithubChangesetFactory.transform(GithubChangesetFactory.java:34)

at com.atlassian.jira.plugins.bitbucket.spi.github.impl.StoppablePageIterator.next(GithubChangesetIterator.java:120)

at com.atlassian.jira.plugins.bitbucket.spi.github.impl.GithubChangesetIterator.internalNext(GithubChangesetIterator.java:61)

at com.atlassian.jira.plugins.bitbucket.spi.github.impl.GithubChangesetIterator.hasNext(GithubChangesetIterator.java:43)

at com.atlassian.jira.plugins.bitbucket.spi.DefaultSynchronisationOperation.synchronise(DefaultSynchronisationOperation.java:66)

at com.atlassian.jira.plugins.bitbucket.DefaultSynchronizer$1$1.run(DefaultSynchronizer.java:59)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

On screen synching does not work of course:
Sync Failed: java.lang.NullPointerException

What is wrong?

2 answers

we get the same exact thing here.

I get the same behavior with JIRA 4.4 and JIRA DVCS Connector plugin version 0.5.10. When trying to do a "Force Sync" from the Manage DVCS Repositories page, the following appears in the JIRA application log:

2012-07-25 17:45:01,025 BitbucketConnectorExecutorServiceThread:thread-2 WARN useridgoeshere 1029x2884x1 18k9x46 127.0.0.1 /rest/bitbucket/1.0/repository/1/sync [jira.plugins.bitbucket.DefaultSynchronizer] 
java.lang.NullPointerException
	at com.atlassian.jira.plugins.bitbucket.spi.github.GithubChangesetFactory.transform(GithubChangesetFactory.java:34)
	at com.atlassian.jira.plugins.bitbucket.spi.github.impl.StoppablePageIterator.next(GithubChangesetIterator.java:120)
	at com.atlassian.jira.plugins.bitbucket.spi.github.impl.GithubChangesetIterator.internalNext(GithubChangesetIterator.java:61)
	at com.atlassian.jira.plugins.bitbucket.spi.github.impl.GithubChangesetIterator.hasNext(GithubChangesetIterator.java:43)
	at com.atlassian.jira.plugins.bitbucket.spi.DefaultSynchronisationOperation.synchronise(DefaultSynchronisationOperation.java:66)
	at com.atlassian.jira.plugins.bitbucket.DefaultSynchronizer$1$1.run(DefaultSynchronizer.java:59)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

130 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