Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3807

Failed to parse FishEye response: An invalid XML character (Unicode: 0x1a) was found in the element content of the document.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 2.7.4
    • Integrations
    • None

    Description

      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:

      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.
      

      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:

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: