Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1930

Saving Template causes Null Pointer Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.1.0
    • 5.1.0
    • None

    Description

      Steps to reproduce:
      1) Upgrade from Roller 5.0 to Roller 5.1 via normal upgrade process
      2) Login and edit one of your templates
      3) Save your template and you'll get an error, if you look in the logs you will see that it is a Null Pointer Exception

      This is caused because the Template does not have a "Template Code" object associated with it yet.

      One possible way to fix this is: if a template code object is not found, then create a new one.

      Attachments

        Activity

          People

            djohnson David Johnson
            djohnson David Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: