com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518)

Atlassian JIRA | Nicolas Wildner [Atlassian] | 5 years ago
  1. 0

    Unlike GHC-28, this exception occurs on the following way: * The user have a Git Repo configured, and associated to a Jira Project; * When accessing a Jira Issue, and selecting the GitHub tab, the following message is shown: "Information can't be retrieved from GitHub. Please contact your administrator". ** New commits are just synchronized when clicking of "Force Sync", on the GitHub admin page. ** And, taking a look at the Jira logs you get the following StackTraces right after Acessing the GitHub tab(not after Syncing): {noformat} @400000004ea0643e10278d2c java.io.FileNotFoundException: https://github.com/api/v2/json/commits/show/sjwoodr/KeyInfo/eb17f8e0ddbe812e51037cd39569a09e2d5edb44?branch=master @400000004ea0643e102794fc at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434) @400000004ea0643e102798e4 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) @400000004ea0643e10279ccc at com.atlassian.jira.plugins.github.webwork.GitHubCommits.getCommitDetails(GitHubCommits.java:135) @400000004ea0643e1027c7c4 at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.getActions(GitHubCommitsTabPanel.java:106) @400000004ea0643e1027cbac at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) @400000004ea0643e1027cf94 at sun.reflect.GeneratedMethodAccessor990.invoke(Unknown Source) @400000004ea0643e1027e31c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000004ea0643e1027e704 at java.lang.reflect.Method.invoke(Method.java:597) {noformat} {noformat} @400000004ea0643e11632a0c 2011-10-20 14:10:59,574 ajp-j2ee.instance.jirastudio.com-jira%2F127.0.0.104-8009-22 ERROR sysadmin 850x35738x3 1v7hx6z 201.22.212.136 /browse/KEYINFO-1 [plugins.github.issuetabpanels.GitHubCommitsTabPanel] A JSONObject text must begin with '{' at character 0 of @400000004ea0643e1163417c com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518) @400000004ea0643e1163688c at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194) @400000004ea0643e1163688c at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:365) @400000004ea0643e11636c74 at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.formatCommitDetails(GitHubCommitsTabPanel.java:228) @400000004ea0643e1163705c at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.getActions(GitHubCommitsTabPanel.java:108) @400000004ea0643e11639f3c at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) @400000004ea0643e1163a324 at sun.reflect.GeneratedMethodAccessor990.invoke(Unknown Source) {noformat} * After clicking the "Force Sync", the GitHub Plugins syncs successfully, but the message Remains the same on the GitHub issue tab. No error is displayed on logs after the Force Sync operation. All the Best, NĂ­colas

    Atlassian JIRA | 5 years ago | Nicolas Wildner [Atlassian]
    com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518)
  2. 0

    Unlike GHC-28, this exception occurs on the following way: * The user have a Git Repo configured, and associated to a Jira Project; * When accessing a Jira Issue, and selecting the GitHub tab, the following message is shown: "Information can't be retrieved from GitHub. Please contact your administrator". ** New commits are just synchronized when clicking of "Force Sync", on the GitHub admin page. ** And, taking a look at the Jira logs you get the following StackTraces right after Acessing the GitHub tab(not after Syncing): {noformat} @400000004ea0643e10278d2c java.io.FileNotFoundException: https://github.com/api/v2/json/commits/show/sjwoodr/KeyInfo/eb17f8e0ddbe812e51037cd39569a09e2d5edb44?branch=master @400000004ea0643e102794fc at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434) @400000004ea0643e102798e4 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) @400000004ea0643e10279ccc at com.atlassian.jira.plugins.github.webwork.GitHubCommits.getCommitDetails(GitHubCommits.java:135) @400000004ea0643e1027c7c4 at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.getActions(GitHubCommitsTabPanel.java:106) @400000004ea0643e1027cbac at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) @400000004ea0643e1027cf94 at sun.reflect.GeneratedMethodAccessor990.invoke(Unknown Source) @400000004ea0643e1027e31c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000004ea0643e1027e704 at java.lang.reflect.Method.invoke(Method.java:597) {noformat} {noformat} @400000004ea0643e11632a0c 2011-10-20 14:10:59,574 ajp-j2ee.instance.jirastudio.com-jira%2F127.0.0.104-8009-22 ERROR sysadmin 850x35738x3 1v7hx6z 201.22.212.136 /browse/KEYINFO-1 [plugins.github.issuetabpanels.GitHubCommitsTabPanel] A JSONObject text must begin with '{' at character 0 of @400000004ea0643e1163417c com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518) @400000004ea0643e1163688c at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194) @400000004ea0643e1163688c at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:365) @400000004ea0643e11636c74 at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.formatCommitDetails(GitHubCommitsTabPanel.java:228) @400000004ea0643e1163705c at com.atlassian.jira.plugins.github.issuetabpanels.GitHubCommitsTabPanel.getActions(GitHubCommitsTabPanel.java:108) @400000004ea0643e11639f3c at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) @400000004ea0643e1163a324 at sun.reflect.GeneratedMethodAccessor990.invoke(Unknown Source) {noformat} * After clicking the "Force Sync", the GitHub Plugins syncs successfully, but the message Remains the same on the GitHub issue tab. No error is displayed on logs after the Force Sync operation. All the Best, NĂ­colas

    Atlassian JIRA | 5 years ago | Nicolas Wildner [Atlassian]
    com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518)
  3. 0

    Steps to reproduce: # On JAC try to link an issue to ecosystem.atlassian.net # You need to check the "create reciprocal link" box # you get this error http://cl.ly/image/1j2Q1r1H2o1n {code} java.lang.RuntimeException: Failed to parse remote JIRA response at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:290) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:279) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:252) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:224) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl.createRemoteIssueLink(RemoteJiraRestServiceImpl.java:75) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.createReciprocalLinks(LinkJiraIssue.java:309) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.doExecute(LinkJiraIssue.java:241) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:221) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:150) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:39) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.executeRequest(AccessLogFilter.java:103) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.doFilter(AccessLogFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter.doFilter(XsrfTokenAdditionRequestFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at com.atlassian.jira.web.filters.SitemeshPageFilter.doFilter(SitemeshPageFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:60) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:234) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:169) at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:55) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.bonfire.web.filters.BonfireP3PFilter.doFilter(BonfireP3PFilter.java:57) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:19) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.util.http.bigpipe.RequestIdSettingFilter.doFilter(RequestIdSettingFilter.java:22) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.lasso.plugin.LassoFilter.doFilter(LassoFilter.java:160) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.sysbliss.jira.plugins.workflow.servlet.JWDSendRedirectFilter.doFilter(JWDSendRedirectFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.jira.web.filters.PathMatchingEncodingFilter.doFilter(PathMatchingEncodingFilter.java:49) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.startup.JiraStartupChecklistFilter.doFilter(JiraStartupChecklistFilter.java:74) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.multitenant.servlet.MultiTenantServletFilter.doFilter(MultiTenantServletFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518) at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:286) ... 173 more {code}

    Atlassian JIRA | 4 years ago | Sherif Mansour
    java.lang.RuntimeException: Failed to parse remote JIRA response
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    System Error A system error has occurred. If this problem persists, please contact your JIRA administrators. Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below Cause: java.lang.RuntimeException: Failed to parse remote JIRA response Stack Trace: [hide] java.lang.RuntimeException: Failed to parse remote JIRA response at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:290) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:279) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:252) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:224) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl.createRemoteIssueLink(RemoteJiraRestServiceImpl.java:75) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.createReciprocalLinks(LinkJiraIssue.java:299) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.doExecute(LinkJiraIssue.java:232) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:221) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:150) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:39) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.executeRequest(AccessLogFilter.java:103) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.doFilter(AccessLogFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter.doFilter(XsrfTokenAdditionRequestFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at com.atlassian.jira.web.filters.SitemeshPageFilter.doFilter(SitemeshPageFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:60) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:234) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:157) at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.bonfire.web.filters.BonfireP3PFilter.doFilter(BonfireP3PFilter.java:57) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:19) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.util.http.bigpipe.RequestIdSettingFilter.doFilter(RequestIdSettingFilter.java:22) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.sysbliss.jira.plugins.workflow.servlet.JWDSendRedirectFilter.doFilter(JWDSendRedirectFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.jira.web.filters.PathMatchingEncodingFilter.doFilter(PathMatchingEncodingFilter.java:49) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.monitor.ActiveRequestsFilter$PassToChainFilterFunc.doFilter(ActiveRequestsFilter.java:346) at com.atlassian.jira.web.monitor.ActiveRequestsFilter$DebugLogFilterFunc.doFilter(ActiveRequestsFilter.java:463) at com.atlassian.jira.web.monitor.ActiveRequestsFilter.doFilter(ActiveRequestsFilter.java:173) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.startup.JiraStartupChecklistFilter.doFilter(JiraStartupChecklistFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.multitenant.servlet.MultiTenantServletFilter.doFilter(MultiTenantServletFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518) at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:286) ... 164 more Referer URL: https://jira.atlassian.com/browse/STASH-2705 Build Information: Uptime : N/A Version : 5.1.4 Build Number : 783 Build Date : Tue Aug 28 00:00:00 CDT 2012 Build Revision : a7d8d2c5c246cbbb4ffca1b8350df93f9d8a2b57 Atlassian Partner : null Installation Type : EAR/WAR Server ID : Contact your Administrator to discover this property value. Last Upgrade : 30/Aug/12 12:10 AM (v5.1.3#782) Server Information: Application Server: Apache Tomcat/5.5.26 Servlet Version: 2.4 File Paths: Contact your System Administrator to discover file path information. Memory Information: Total Memory: 1981 MB Free Memory: 685 MB Used Memory: 1296 MB Total PermGen Memory: 256 MB Free PermGen Memory: 81 MB Used PermGen Memory: 174 MB System Information: System Date : Tuesday, 11 Sep 2012 System Time : 14:35:56 -0500 Current Working Directory : Contact your System Administrator to discover this property value. Java Version : 1.6.0_27 Java Vendor : Sun Microsystems Inc. JVM Version : 1.0 JVM Vendor : Sun Microsystems Inc. JVM Implementation Version : 20.2-b06 Java Runtime : Java(TM) SE Runtime Environment Java VM : Java HotSpot(TM) Server VM User Name : j2ee_jira.atlassian.com User Timezone : US/Central User Locale : English (United States) System Encoding : UTF-8 Operating System : Linux 2.6.18-194.el5 OS Architecture : i386 Application Server Container : Database type : postgres72 Database JNDI address : postgres72 java:comp/env/jdbc/JiraDS Database URL : Hidden Database version : 8.4.4 Database driver : PostgreSQL Native Driver PostgreSQL 8.4 JDBC4 (build 701) External user management : OFF JVM Input Arguments : Contact your System Administrator to discover this property value. Language Info: Installed languages: English (UK) English (United States) French (France) German (Germany) Japanese (Japan) Spanish (Spain) Default language: English (UK) Request Information: - Request URL: https://jira.atlassian.com/500page.jsp - Scheme: https - Server: jira.atlassian.com - Port: 443 - URI: /500page.jsp - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: Request Attributes - javax.servlet.forward.request_uri : /secure/LinkJiraIssue.jspa - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /secure/LinkJiraIssue.jspa - javax.servlet.forward.path_info : /500page.jsp - jira.request.time.micros : 0 - com.newrelic.agent.TRANSACTION_NAME : /*.jspa - atlassian.core.seraph.original.url : /secure/LinkJiraIssue.jspa - javax.servlet.error.servlet_name : action - com.atlassian.jira.web.filters.JiraFirstFilter_alreadyfiltered : true - com.atlassian.gzipfilter.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - jira.webwork.generic.dispatcher : webwork.dispatcher.GenericDispatcher@1932821 - com.atlassian.jira.web.filters.JiraLastFilter_alreadyfiltered : true - com.atlassian.jira.web.filters.accesslog.AccessLogFilter_already_filtered : true - jira.request.username : bwoskow - javax.servlet.error.request_uri : /secure/LinkJiraIssue.jspa - com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter_already_filtered : true - jira.webwork.cleanup : false - com.atlassian.labs.botkiller.BotKillerFilter : true - jira.request.start.millis : 1347392156656 - com.atlassian.bonfire.web.filters.BonfireP3PFilter_alreadyfiltered : true - com.atlassian.jira.web.filters.accesslog.AccessLogRequestInfoexit.called : true - jira.request.assession.id : p4c5m7 - os_securityfilter_already_filtered : true - com.atlassian.jira.web.filters.JiraPostEncodingFilter_alreadyfiltered : true - jira.session.max.inactive.interval : 18000 - javax.servlet.error.message : - jira.session.last.accessed.time : 1347392151220 - webwork.result : Value stack =========== =========== - com.atlassian.seraph.auth.LoginReason : OK - jira.request.id : 875x11716204x3 - javax.servlet.error.status_code : 500 - com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered : true - javax.servlet.error.exception : javax.servlet.ServletException: Failed to parse remote JIRA response Request Logging 0 log statements generated by this request: Listeners - Issue Assignment Listener (com.atlassian.jira.event.listeners.history.IssueAssignHistoryListener) - Issue Index Listener (com.atlassian.jira.event.listeners.search.IssueIndexListener) - Mail Listener (com.atlassian.jira.event.listeners.mail.MailListener) Services - Create/Comment on DAC (com.atlassian.jira.service.services.mail.MailFetcherService) - Delay: 1 minutes - Mail Queue Service (com.atlassian.jira.service.services.mail.MailQueueService) - Delay: 1 minutes - NotificationCacheUpdateJob-job (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 1440 minutes - PluginLicenseExpiryJob-job (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 1440 minutes - Sales Issue POP Service (com.atlassian.jira.service.services.mail.MailFetcherService) - Delay: 10 minutes - Service Provider Session Remover (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 480 minutes - Service Provider Token Remover (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 480 minutes - VCS Update Service (com.atlassian.jira.service.services.vcs.VcsService) - Delay: 86400 minutes - Website Issues POP Service (com.atlassian.jira.service.services.mail.MailFetcherService) - Delay: 30 minutes - com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 1 minutes - com.atlassian.jira.plugins.dvcs.scheduler.DvcsScheduler:job (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 60 minutes - com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 5 minutes - upmPluginUpgradeCheckJob (com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService) - Delay: 1440 minutes Plugins - ActiveObjects Plugin - OSGi Bundle 0.19.7 - Plugin by Atlassian - Enabled - Admin Menu Sections 1.0 - Plugin by Atlassian - Enabled - Analytics Client Plugin 2.11 - Plugin by Atlassian - Enabled - Apache HttpClient OSGi bundle 4.0 - Plugin by Apache Software Foundation - Enabled - Apache HttpCore OSGi bundle 4.0 - Plugin by Apache Software Foundation - Enabled - Applinks Product Plugin 3.7.3 - Plugin by Atlassian - Enabled - build: 10 - Atlassian - Administration - Quick Search - JIRA 1.0 - Plugin by Atlassian - Enabled - Atlassian Bonfire - JIRA Plugin 2.5.0 - Plugin by Atlassian - Enabled - post.install.url: /secure/BonfireGettingStarted.jspa - configure.url: /secure/BonfireSettings.jspa?decorator=admin - post.update.url: /secure/BonfireGettingStarted.jspa - plugin-icon: includes/images/bonfire_marketplace_icon_16.png - plugin-logo: includes/images/bonfire_marketplace_icon_48.png - atlassian-licensing-enabled: true - Atlassian Bot Session Killer 1.7.1 - Plugin by Atlassian - Enabled - Atlassian Developer Toolbox 1.1.2 - Plugin by Atlassian - Enabled - Atlassian Embedded Crowd - Administration Plugin 1.4.3 - Plugin by Atlassian - Enabled - Atlassian Gadgets OAuth Service Provider Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - Atlassian GreenHopper 6.0.3-rc3 - Plugin by Atlassian - Enabled - post.install.url: /secure/RapidStart.jspa - configure.url: /secure/GHGeneralConfiguration.jspa?decorator=admin - post.update.url: /plugins/servlet/greenhopper/whats-new - plugin-icon: includes/images/upm/plugin-icon.png - plugin-logo: includes/images/upm/plugin-logo.png - atlassian-licensing-enabled: true - Atlassian JIRA - Plugins - Admin Summary Component 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Application Properties 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Closure Template Renderer 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Common AppLinks Based Issue Link Plugin 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA - Plugins - Confluence Link 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA - Plugins - Gadgets Plugin 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Header Plugin 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Invite User 1.5 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Issue Navigation 1.0.55 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Issue Web Link 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Mail Plugin 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA - Plugins - My JIRA Home 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - OAuth Consumer SPI 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - OAuth Service Provider SPI 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Project Config Plugin 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Quick Edit Plugin 1.0.52 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - REST Plugin 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - Remote JIRA Link 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA - Plugins - SAL Plugin 5.1.4 - Plugin by Atlassian Software Systems - Enabled - Atlassian JIRA - Plugins - Share Content Component 5.1.4 - Plugin by Atlassian - Enabled - Atlassian JIRA - Plugins - View Issue Panels 5.1.4 - Plugin by ${project.organization.name} - Enabled - Atlassian JIRA Markdown Plugin 1.1 - Plugin by Atlassian - Enabled - Atlassian OAuth Admin Plugin 1.4.1 - Plugin by Atlassian - Enabled - Atlassian OAuth Consumer Plugin 1.4.1 - Plugin by Atlassian - Enabled - Atlassian OAuth Consumer SPI 1.4.1 - Plugin by Atlassian - Enabled - Atlassian OAuth Service Provider Plugin 1.4.1 - Plugin by Atlassian - Enabled - Atlassian OAuth Service Provider SPI 1.4.1 - Plugin by Atlassian - Enabled - Atlassian REST - Module Types 2.6.5.1 - Plugin by Atlassian - Enabled - Atlassian Remote Apps - Plugin 0.4.518 - Plugin by Atlassian - Enabled - Atlassian Soy Templates - Plugin 1.1.3 - Plugin by Atlassian - Enabled - Atlassian Template Renderer API 1.4.2 - Plugin by Atlassian - Enabled - Atlassian Template Renderer Velocity 1.6 Plugin 1.4.2 - Plugin by Atlassian - Enabled - Atlassian UI Plugin 3.7-m6 - Plugin by Atlassian - Enabled - Atlassian Universal Plugin Manager Plugin 2.1.5 - Plugin by Atlassian Pty Ltd - Enabled - Balsamiq Mockups Next.816 (for JIRA 4.0 and later) - Plugin by Balsamiq Studios, LLC - Enabled - Content Link Resolvers Plugin 1.0 - Plugin by Atlassian - Enabled - Crowd REST API 1.0 - Plugin by Atlassian Software Systems - Enabled - Crowd REST API 1.0 - Plugin by Atlassian Software Systems - Enabled - Crowd System Password Encoders 1.0 - Plugin by Atlassian Software Systems - Enabled - Custom Field Types & Searchers 1.0 - Plugin by Atlassian - Enabled - Embedded Gadgets Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - English (United Kingdom) Language Pack 5.1.4 - Plugin by Atlassian - Enabled - English (United States) Language Pack 5.1.4 - Plugin by Atlassian - Enabled - FishEye Plugin 5.0.7 - Plugin by Atlassian Software Systems - Enabled - Gadget Dashboard Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - Gadget Directory Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - Gadget Spec Publisher Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - HipChat 1.1.7 - Plugin by Atlassian - Enabled - ICU4J 3.8.0.1 - Plugin by Atlassian Pty Ltd - Enabled - Issue Driven Deployment - Build Trigger 0.9 - Plugin by Atlassian - Disabled - Issue Operations Plugin 1.0 - Plugin by Atlassian - Enabled - Issue Tab Panels Plugin 1.0 - Plugin by Atlassian - Enabled - Issue Views Plugin 1.0 - Plugin by Atlassian - Enabled - JDOM DOM Processor 1.0.0 - Plugin by SpringSource - Enabled - JIRA Active Objects SPI implementation 0.19.7 - Plugin by Atlassian Software Systems - Enabled - JIRA Activity Stream Plugin 5.1.4 - Plugin by Atlassian - Enabled - JIRA Bamboo Plugin 5.1 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - configure.url: /secure/admin/jira/ViewBambooApplicationLinks.jspa - JIRA Calendar Plugin 1.19-m1 - Plugin by Atlassian Pty Ltd - Enabled - JIRA Charting Plugin 1.8-m1 - Plugin by Atlassian - Disabled - JIRA DVCS Connector Plugin 1.0.3 - Plugin by Atlassian - Enabled - JIRA Footer 1.0 - Plugin by Atlassian - Enabled - JIRA French (France) Language Pack 5.1.3-v2r2037-2012-08-24 - Plugin by Atlassian Community - Enabled - JIRA German (Germany) Language Pack 5.1.3-v2r5332-2012-08-23 - Plugin by Atlassian Community - Enabled - JIRA Importers Plugin (JIM) 4.4 - Plugin by Atlassian - Enabled - JIRA Issue Collector Plugin 1.2.5 - Plugin by Atlassian - Enabled - JIRA JSON-RPC Plugin 1.0.4 - Plugin by Atlassian Software - Enabled - JIRA Japanese (Japan) Language Pack 5.1.3-v2r13121-2012-08-27 - Plugin by Atlassian Community - Enabled - JIRA Monitoring Plugin 05.5 - Plugin by Atlassian - Enabled - JIRA Spanish (Spain) Language Pack 5.1.3-v2r11498-2012-08-23 - Plugin by Atlassian Community - Enabled - JIRA Streams Inline Actions Plugin 5.1.4 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - JIRA Suite Utilities 1.2.1 - Plugin by beecom AG - Enabled - JIRA Time Zone Detection plugin 1.5 - Plugin by Atlassian - Enabled - JIRA Toolkit Plugin 0.25 - Plugin by Atlassian - Enabled - JIRA Usage Hints 1.0 - Plugin by Atlassian - Enabled - JIRA Welcome Plugin 1.1.10 - Plugin by Atlassian - Enabled - JIRA iCalendar Plugin 1.0.9 - Plugin by Atlassian - Enabled - JQL Functions 1.0 - Plugin by Atlassian - Enabled - JSON Library 20070829.0.0.1 - Plugin by Atlassian Pty Ltd - Enabled - Keyboard Shortcuts Plugin 1.0 - Plugin by Atlassian - Enabled - Neko HTML 1.9.12.1 - Plugin by Atlassian Pty Ltd - Enabled - Opensocial Plugin 3.2.0-m2 - Plugin by Atlassian - Enabled - Preset Filters Sections 1.0 - Plugin by Atlassian - Enabled - Project Panels Plugin 1.0 - Plugin by Atlassian - Enabled - Project Role Actors Plugin 1.0 - Plugin by Atlassian - Enabled - ROME, RSS and atOM utilitiEs for Java 1.0 - Plugin by Sun Microsystems - Enabled - ROME: RSS/Atom syndication and publishing tools 0.9.0 - Plugin by SpringSource - Enabled - RPC JIRA Plugin 5.0.5 - Plugin by Atlassian - Enabled - Remote copying of issues (cpji-jira-plugin) 2.1-SNAPSHOT - Plugin by Atlassian - Enabled - Renderer Component Factories Plugin 1.0 - Plugin by Atlassian - Enabled - Renderer Plugin 1.0 - Plugin by Atlassian - Enabled - Reports Plugin 1.0 - Plugin by Atlassian - Enabled - Speakeasy Plugin 1.3.1 - Plugin by Atlassian - Enabled - configure.url: /plugins/servlet/speakeasy/admin - Streams API 5.1.4 - Plugin by Atlassian - Enabled - Streams Core Plugin 5.1.4 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Streams Inline Actions Plugin 5.1.4 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Streams Plugin 5.1.4 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Streams SPI 5.1.4 - Plugin by Atlassian - Enabled - Streams Third Party Provider Plugin 5.1.4 - Plugin by Atlassian - Enabled - Support Tools Plugin 3.0.9 - Plugin by Atlassian Support - Enabled - Top Navigation Bar 1.0 - Plugin by Atlassian - Enabled - User Format 1.0 - Plugin by Atlassian - Enabled - User Navigation Bar Sections 1.0 - Plugin by Atlassian - Enabled - User Profile Links 1.0 - Plugin by Atlassian - Enabled - User Profile Panels 1.0 - Plugin by Atlassian - Enabled - View Project Operations Sections 1.0 - Plugin by Atlassian - Enabled - Wallboard Plugin 1.7.0-SNAPSHOT - Plugin by Atlassian - Enabled - Web Resources Plugin 1.0 - Plugin by Atlassian - Enabled - Webwork Plugin 1.0 - Plugin by Atlassian - Enabled - Wiki Renderer Macros Plugin 1.0 - Plugin by Atlassian - Enabled - Workflow Designer Plugin 2.6.13 - Plugin by Atlassian - Enabled - Workflow Plugin 1.0 - Plugin by Atlassian - Enabled - heat 1 - Plugin by (unknown) - Enabled - issuelinkgraph 1 - Plugin by (unknown) - Enabled - jira-help-tips 0.22 - Plugin by Atlassian - Enabled - jira-image-paste 1 - Plugin by (unknown) - Enabled - viewissue-cleanup 1 - Plugin by (unknown) - Enabled

    Atlassian JIRA | 4 years ago | Ben Woskow [Atlassian]
    java.lang.RuntimeException: Failed to parse remote JIRA response
  6. 0

    Steps to reproduce: # On JAC try to link an issue to ecosystem.atlassian.net # You need to check the "create reciprocal link" box # you get this error http://cl.ly/image/1j2Q1r1H2o1n {code} java.lang.RuntimeException: Failed to parse remote JIRA response at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:290) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:279) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:252) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$RestResponseHandler.handle(RemoteJiraRestServiceImpl.java:224) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl.createRemoteIssueLink(RemoteJiraRestServiceImpl.java:75) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.createReciprocalLinks(LinkJiraIssue.java:309) at com.atlassian.jira.plugin.link.remotejira.LinkJiraIssue.doExecute(LinkJiraIssue.java:241) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:221) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:150) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:39) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.executeRequest(AccessLogFilter.java:103) at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.doFilter(AccessLogFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter.doFilter(XsrfTokenAdditionRequestFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at com.atlassian.jira.web.filters.SitemeshPageFilter.doFilter(SitemeshPageFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:60) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:234) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:169) at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:55) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.bonfire.web.filters.BonfireP3PFilter.doFilter(BonfireP3PFilter.java:57) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:19) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.util.http.bigpipe.RequestIdSettingFilter.doFilter(RequestIdSettingFilter.java:22) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.lasso.plugin.LassoFilter.doFilter(LassoFilter.java:160) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.sysbliss.jira.plugins.workflow.servlet.JWDSendRedirectFilter.doFilter(JWDSendRedirectFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.jira.web.filters.PathMatchingEncodingFilter.doFilter(PathMatchingEncodingFilter.java:49) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.startup.JiraStartupChecklistFilter.doFilter(JiraStartupChecklistFilter.java:74) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.multitenant.servlet.MultiTenantServletFilter.doFilter(MultiTenantServletFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.jira.util.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518) at com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194) at com.atlassian.jira.plugin.link.remotejira.RemoteJiraRestServiceImpl$ResponseToJsonConverter.convert(RemoteJiraRestServiceImpl.java:286) ... 173 more {code}

    Atlassian JIRA | 4 years ago | Mark Lassau [Atlassian]
    java.lang.RuntimeException: Failed to parse remote JIRA response

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.jira.util.json.JSONException

      A JSONObject text must begin with '{' at character 0 of @400000004ea0643e11634564 at com.atlassian.jira.util.json.JSONTokener.syntaxError(JSONTokener.java:518)

      at com.atlassian.jira.util.json.JSONObject.<init>()
    2. com.atlassian.jira
      JSONObject.<init>
      1. com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:194)
      2. com.atlassian.jira.util.json.JSONObject.<init>(JSONObject.java:365)
      2 frames