Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-19142

Can't add pages while using Left Nav theme in Confluence 3.2

    XMLWordPrintable

Details

    Description

      Attempting to add pages using Left Nav theme will throw this error:

      Error occurred during template rendering: Invocation of method 'renderNavigation' in class com.atlassian.confluence.extra.leftnavigation.LeftNavVelocityHelper threw exception java.lang.NumberFormatException: For input string: "$page.id" at templates/leftnavigation/main.vmd[line 49, column 34]. Contact your administrator for assistance.
      

      A more detailed, but similar error is reported in the atlassian-confluence.log:

      2010-03-26 10:36:34,019 ERROR [http-8080-5] [confluence.util.profiling.ConfluenceSitemeshDecorator] renderToResponse Error occurred rendering template: templates/leftnavigation/main.vmd
       -- url: /pages/createpage.action | userName: admin | referer: http://localhost:8080/display/support/navigation
      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'renderNavigation' in  class com.atlassian.confluence.extra.leftnavigation.LeftNavVelocityHelper threw exception java.lang.NumberFormatException: For input string: "$page.id" at templates/leftnavigation/main.vmd[line 49, column 34]
      

      This is caused by extending the Left Nav theme by using a "Navigation" page as detailed here: http://confluence.atlassian.com/display/DOC/Customising+the+Left+Navigation+Theme

      Removing or renaming the "Navigation" page will allow pages to be added again.

      Attachments

        Activity

          People

            dkjellin Daniel
            mseager Michael S
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: