java.io.IOException: Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document.

Atlassian JIRA | Felipe Kraemer | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    If customers have JIRA and FishEye integrated, and you try to retrieve data from FishEye by clicking in the JIRA issue's Source tab, this error may happen: {noformat} 2011-10-21 16:08:18,850 http-bio-/0.0.0.0-10343-exec-2021 ERROR anonymous 968x322766x3 ao91qk 123.126.50.66 /browse/OFBIZ-2208 [jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl] Error encountered retrieving changesets from 'ofbiz' on 'https://fisheye6.atlassian.com/' java.io.IOException: Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document. at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:188) at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123) at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:117) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangeset(ChangeSetManagerImpl.java:448) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.searchForChangeSets(ChangeSetManagerImpl.java:407) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:119) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:96) at com.atlassian.jirafisheyeplugin.web.issuetabpanel.fisheye.FishEyeIssueTabPanel.getActions(FishEyeIssueTabPanel.java:93) at com.atlassian.jira.issue.tabpanels.AllTabPanel.getActions(AllTabPanel.java:45) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:352) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor$$EnhancerByCGLIB$$6bb4184b.getActions(<generated>) at com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getActions(ActivityBlockViewIssueContextProvider.java:102) at com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getContextMap(ActivityBlockViewIssueContextProvider.java:74) at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.initContextMap(CacheableContextProviderDecorator.java:70) at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.getContextMap(CacheableContextProviderDecorator.java:46) at com.atlassian.jira.plugin.webfragment.contextproviders.MultiContextProvider.getContextMap(MultiContextProvider.java:97) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModule(ModuleWebComponentImpl.java:61) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModules(ModuleWebComponentImpl.java:42) at com.atlassian.jira.web.action.issue.ViewIssue.renderPanels(ViewIssue.java:353) ... Caused by: com.atlassian.sal.api.net.ResponseException: Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document. {noformat} It appears that the JIRA issue is trying to retrieve the commit message from a changeset but it's failing due to an invalid character on the commit message. Please see this image: !Invalid_Character.jpg! It shows the invalid character in the commit message, and this character is probably causing the error. Atlassian developers have suggested that this bug should be fixed in the FishEye side.

    Atlassian JIRA | 5 years ago | Felipe Kraemer
    java.io.IOException: Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document.
  2. 0

    If customers have JIRA and FishEye integrated, and you try to retrieve data from FishEye by clicking in the JIRA issue's Source tab, this error may happen: {noformat} 2011-10-21 16:08:18,850 http-bio-/0.0.0.0-10343-exec-2021 ERROR anonymous 968x322766x3 ao91qk 123.126.50.66 /browse/OFBIZ-2208 [jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl] Error encountered retrieving changesets from 'ofbiz' on 'https://fisheye6.atlassian.com/' java.io.IOException: Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document. at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:188) at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123) at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:117) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangeset(ChangeSetManagerImpl.java:448) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.searchForChangeSets(ChangeSetManagerImpl.java:407) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:119) at com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:96) at com.atlassian.jirafisheyeplugin.web.issuetabpanel.fisheye.FishEyeIssueTabPanel.getActions(FishEyeIssueTabPanel.java:93) at com.atlassian.jira.issue.tabpanels.AllTabPanel.getActions(AllTabPanel.java:45) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94) at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:352) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor$$EnhancerByCGLIB$$6bb4184b.getActions(<generated>) at com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getActions(ActivityBlockViewIssueContextProvider.java:102) at com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getContextMap(ActivityBlockViewIssueContextProvider.java:74) at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.initContextMap(CacheableContextProviderDecorator.java:70) at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.getContextMap(CacheableContextProviderDecorator.java:46) at com.atlassian.jira.plugin.webfragment.contextproviders.MultiContextProvider.getContextMap(MultiContextProvider.java:97) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModule(ModuleWebComponentImpl.java:61) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModules(ModuleWebComponentImpl.java:42) at com.atlassian.jira.web.action.issue.ViewIssue.renderPanels(ViewIssue.java:353) ... Caused by: com.atlassian.sal.api.net.ResponseException: Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document. {noformat} It appears that the JIRA issue is trying to retrieve the commit message from a changeset but it's failing due to an invalid character on the commit message. Please see this image: !Invalid_Character.jpg! It shows the invalid character in the commit message, and this character is probably causing the error. Atlassian developers have suggested that this bug should be fixed in the FishEye side.

    Atlassian JIRA | 5 years ago | Felipe Kraemer
    java.io.IOException: Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document.

    Root Cause Analysis

    1. java.io.IOException

      Error in remote call to 'FishEye 0 (https://fisheye6.atlassian.com/)' (https://fisheye6.atlassian.com) [AbstractRestCommand{path='api/rest/changeset', params={rep=ofbiz, csid=887917}, methodType=POST}] : Failed to parse FishEye response: Error on line 15 of document : An invalid XML character (Unicode: 0x1a) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1a) was found in the element content of the document.

      at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye()
    2. com.atlassian.jirafisheyeplugin
      FishEyeIssueTabPanel.getActions
      1. com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:188)
      2. com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123)
      3. com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:117)
      4. com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangeset(ChangeSetManagerImpl.java:448)
      5. com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.searchForChangeSets(ChangeSetManagerImpl.java:407)
      6. com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:119)
      7. com.atlassian.jirafisheyeplugin.domain.fisheye.ChangeSetManagerImpl.getChangesetsForIssue(ChangeSetManagerImpl.java:96)
      8. com.atlassian.jirafisheyeplugin.web.issuetabpanel.fisheye.FishEyeIssueTabPanel.getActions(FishEyeIssueTabPanel.java:93)
      8 frames
    3. com.atlassian.jira
      IssueTabPanelModuleDescriptor.getActions
      1. com.atlassian.jira.issue.tabpanels.AllTabPanel.getActions(AllTabPanel.java:45)
      2. com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:94)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:616)
      3 frames
    5. com.atlassian.multitenant
      MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept
      1. com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:352)
      1 frame
    6. com.atlassian.jira
      MultiContextProvider.getContextMap
      1. com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor$$EnhancerByCGLIB$$6bb4184b.getActions(<generated>)
      2. com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getActions(ActivityBlockViewIssueContextProvider.java:102)
      3. com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider.getContextMap(ActivityBlockViewIssueContextProvider.java:74)
      4. com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.initContextMap(CacheableContextProviderDecorator.java:70)
      5. com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.getContextMap(CacheableContextProviderDecorator.java:46)
      6. com.atlassian.jira.plugin.webfragment.contextproviders.MultiContextProvider.getContextMap(MultiContextProvider.java:97)
      6 frames
    7. com.atlassian.plugin
      DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml
      1. com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141)
      1 frame
    8. com.atlassian.jira
      ViewIssue.renderPanels
      1. com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModule(ModuleWebComponentImpl.java:61)
      2. com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModules(ModuleWebComponentImpl.java:42)
      3. com.atlassian.jira.web.action.issue.ViewIssue.renderPanels(ViewIssue.java:353)
      3 frames