Custom emojis lead to an error with Confluence 8.4.0

Description

During the testing for compatibility with Confluence 8.4.0 we encountered a bug where displaying the new custom emoji feature from Confluence is not possible. As soon as a custom emoji is added, the Viewport throws an error once you navigate to the page that contains the emoji.

Steps to reproduce:

  1. Create a custom emoji.

  2. Use it on a page

  3. Click on the icon to display the Viewport for that page

  4. There is an error message:

Error in Help Center Theme

Failed to render template '/page.vm'.
Invocation of method 'getContent' in class com.k15t.scroll.viewport.api.placeholder.ScrollPagePlaceholder threw exception java.lang.NullPointerException at /templates/macros/pageContent.vm[line 11, column 16]

Error in WebHelp Theme

    Failed to render template '/page.vm'.
    Invocation of method 'template' in class com.k15t.scroll.viewport.api.placeholder.IncludePlaceholder threw exception com.k15t.scroll.runtime.confluence.content.transform.render.RenderingException: Failed to render template '/include/include-content.vm'. at /page.vm[line 25, column 14]
    Failed to render template '/include/include-content.vm'.
    Invocation of method 'getContent' in class com.k15t.scroll.viewport.api.placeholder.ScrollPagePlaceholder threw exception java.lang.NullPointerException at /include/include-content.vm[line 16, column 19]

Expected result:
The custom emoji is shown on the Viewport.

Actual result:
The custom emoji causes a system error.

Environment

None

Attachments

1
  • 13 Jul 2023, 02:25 PM

Activity

Show:
Unresolved

Details

Assignee

Reporter

Fix versions

Backbone Issue Sync

Created July 13, 2023 at 2:24 PM
Updated July 14, 2023 at 6:39 AM