Apache Roller
  1. Apache Roller
  2. ROL-1930

Saving Template causes Null Pointer Exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development