Uploaded image for project: '{RETIRED} XWiki Skin Extensions'
  1. {RETIRED} XWiki Skin Extensions
  2. XSKINX-13

NullPointerException when pulling extensions outside the normal page view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: Plugin
    • Labels:
      None
    • Similar issues:

      Description

      This happens because a bad early optimization I did was that the list of pulled extensions was created only once inside beginParsing, which is called when a normal page is rendered using a velocity template. However, other kinds of views can use (directly or indirectly) this plugin, for example PDF exports.

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: