Skip to main content
Skip table of contents

Version Pages Appearing in the Page Tree

Problem

If there is no home page defined in a space where Scroll Versions is activated, users might see change pages (dot-pages) in the page tree, in addition to Scroll Versions toolbar not being visible and an exception appearing in the logs:

CODE
java.lang.NullPointerException
	at com.k15t.scroll.platform.ui.theme.ScrollPageBreadcrumb.resolveHomePage(ScrollPageBreadcrumb.java:89)
	at com.k15t.scroll.platform.ui.theme.ScrollPageBreadcrumb.getScrollSpaceBreadcrumb(ScrollPageBreadcrumb.java:79)
	at com.k15t.scroll.platform.ui.theme.ScrollPageBreadcrumb.getParent(ScrollPageBreadcrumb.java:53)
	at com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb.getBreadcrumbsTrail(AbstractBreadcrumb.java:73)
	at com.k15t.scroll.platform.ui.theme.ScrollPageBreadcrumb.getBreadcrumbsTrail(ScrollPageBreadcrumb.java:62)
	at com.k15t.scroll.platform.services.context.impl.DefaultScrollVersionsContextProvider.getBreadcrumbs(DefaultScrollVersionsContextProvider.java:198)
	at com.k15t.scroll.platform.services.context.impl.DefaultScrollVersionsContextProvider.getScrollVersionsContextForPage(DefaultScrollVersionsContextProvider.java:139)
	at com.k15t.scroll.platform.services.context.impl.DefaultScrollVersionsContextProvider.getScrollVersionsContext(DefaultScrollVersionsContextProvider.java:108)
	at com.k15t.scroll.platform.ui.page.context.ScrollPageContextRenderer.getHtml(ScrollPageContextRenderer.java:71)

Environment

  • Scroll Versions
  • All versions

Resolution

  1. Run Health Check in Space ToolsScroll Add-ons → Health Check

or

  1. Go to the space and choose Space tools > Overview from the bottom of the sidebar.
  2. Choose Edit Space Details.
  3. Enter the page you want use in the Home page field then choose Save.

Cause

Due to the absence of a home page certain features such as page hiding change pages in the tree and the app's toolbar may not work as expected.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.