The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRAException in Attlassian Connector

Seb Seb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2013

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
jjaroczynski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 18, 2013

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

Seb Seb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 23, 2013

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

TAGS
AUG Leaders

Atlassian Community Events