Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-65865

Roadmap Planner throws a java exception in view mode

    XMLWordPrintable

Details

    Description

      Roadmap Planner macro containing an image in the title of the linked page or emoji in the name of the bar throws a java exception in view mode.

      Environment

      Confluence cloud

      Steps to Reproduce

      1. Create a page with title having images (for example 📊💡)
      2. On another page, insert a Roadmap Planner macro and in Link Page option link the page created in the first step.
      3. Now publish the macro and in the view mode, it shows Error rendering macro 'roadmap' : java.io.IOException: Invalid character.
      4. Now remove the above linked page and add an emoji in the name of the macro bar. Publishing the page shows java exception error message.

      Expected Results

      Macro content should be displayed when images, emojis are used in the content of the macro

      Actual Results

      Macro content is not displayed in the view mode and throws an exception.

      Workaround

      The workaround is to delete images, emojis added in the macro.

      Note: Splunk logs

      Error rendering macro: roadmap
      java.lang.RuntimeException: java.io.IOException: Invalid character
      com.atlassian.plugins.roadmap.RoadmapMacro.execute(RoadmapMacro.java:104)
      com.atlassian.confluence.macro.Macro.execute(Macro.java:33)
      sun.reflect.GeneratedMethodAccessor1674.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:498)
      

      Attachments

        1. error.png
          error.png
          15 kB
        2. raodmap planner.png
          raodmap planner.png
          100 kB

        Activity

          People

            agentleman Aaron (Inactive)
            nvykunta Nagarjuna (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: