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

Saving Template causes Null Pointer Exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.1
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: