Uploaded image for project: 'appNG'
  1. appNG
  2. APPNG-2241

Possible NPE in ElementHelper

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 1.17.1, 1.18.0
    • Fix Version/s: 1.19.0
    • Component/s: appng-api
    • Labels:
      None

      Description

      When securing the <navigation> with a permission that the user does not own, an NPE is thrown:

      java.lang.NullPointerException
      	at org.appng.api.support.ElementHelper.initNavigation(ElementHelper.java:199)
      	at org.appng.core.model.ApplicationProvider.process(ApplicationProvider.java:276)
      	at org.appng.core.model.AbstractRequestProcessor.processApplication(AbstractRequestProcessor.java:264)
      	at org.appng.core.model.AbstractRequestProcessor.processPlatform(AbstractRequestProcessor.java:160)
      	at org.appng.core.model.PlatformProcessor.processWithTemplate(PlatformProcessor.java:87)
      	at org.appng.core.controller.handler.GuiHandler.processGui(GuiHandler.java:148)
      	at org.appng.core.controller.handler.GuiHandler.handle(GuiHandler.java:71)
      	at org.appng.core.controller.Controller.doGet(Controller.java:276)

        Attachments

          Activity

            People

            • Assignee:
              mueller.matthias Matthias Müller
              Reporter:
              mueller.matthias Matthias Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: