JIRAException in Attlassian Connector

When i install the latest version from Attlassian Connector (doesn't matter if from SVN or the stable version)

and add my user account, clicking on "test connection" works fine.

But when i try to do something in PyCharm (IntelliJ IDE) the following exception pops up:

com.atlassian.connector.commons.jira.rss.JIRAException: Internal server error
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithJiraException(JiraRestSessionImpl.java:657)
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.getIssues(JiraRestSessionImpl.java:481)
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.getIssues(JiraRestSessionImpl.java:470)
	at com.atlassian.connector.commons.jira.JiraRESTFacade2Impl.getIssues(JiraRESTFacade2Impl.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl$1.invoke(JIRAServerFacade2Impl.java:91)
	at sun.proxy.$Proxy34.getIssues(Unknown Source)
	at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getIssues(JIRAServerFacade2Impl.java:132)
	at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getIssues(IntelliJJiraServerFacade.java:91)
	at com.atlassian.theplugin.jira.model.JIRAIssueListModelBuilderImpl.addIssuesToModel(JIRAIssueListModelBuilderImpl.java:120)
	at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$RetrieveIssues.run(IssueListToolWindowPanel.java:1722)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:501)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:191)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:232)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:181)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:406)
	at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:462)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)
Caused by: com.atlassian.jira.rest.client.RestClientException: Internal server error
	at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:68)
	at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.getAndParse(AbstractJerseyRestClient.java:80)
	at com.atlassian.jira.rest.client.internal.jersey.JerseySearchRestClient.searchJqlImpl(JerseySearchRestClient.java:107)
	at com.atlassian.jira.rest.client.internal.jersey.JerseySearchRestClient.searchJqlWithFullIssues(JerseySearchRestClient.java:79)
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl$20.call(JiraRestSessionImpl.java:489)
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl$20.call(JiraRestSessionImpl.java:481)
	at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithJiraException(JiraRestSessionImpl.java:655)
	... 26 more
Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 500
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:607)
	at com.sun.jersey.api.client.WebResource.get(WebResource.java:187)
	at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient$1.call(AbstractJerseyRestClient.java:84)
	at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:54)
	... 32 more

I can't list issues but i can create them using the create issue button, which even lists projects and such.

After click "create and open" the exception pops up. In Jira the issue is created, though..

1 answer

Hi Seb,

Let's summarize.

  • What is your JIRA version?
  • What is your Connector version?
  • It happens when you try to list issues or open issue, right?

Cheers,
Jacek

Hi Jacek,

meanwhile this was resolved and it seems to have been an inconsistent database (the jira admin said some greenhopper tables were wrong, fixed it and it now seems to work).

So indeed an error on the server side..

Cheers

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 Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

78 views 0 11
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