Uploaded image for project: 'UY'
  1. UY
  2. UY-972

Authentication screen crashes when unresolveable file is used as logo

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v3.1.3
    • Labels:
      None

      Description

      To reproduce: set a theme based local file as authN screen logo. Use a non-existing file name (or remove the file after the fact).

      2019-12-09T15:22:56,024 [qtp1651205022-50] ERROR unity.server.web.UnityUIBase: UI code got an unchecked and not handled properly exception: org.apache.logging.log4j.core.config.ConfigurationException: Can not load configured image file:./Login-Logo.png
      org.apache.logging.log4j.core.config.ConfigurationException: Can not load configured image file:./Login-Logo.png
      	at pl.edu.icm.unity.webui.common.file.ImageUtils.getConfiguredImageResourceFromUri(ImageUtils.java:75) ~[classes/:?]
      	at pl.edu.icm.unity.webui.authn.column.ColumnInstantAuthenticationScreen.getAuthenticationComponent(ColumnInstantAuthenticationScreen.java:183) ~[classes/:?]
      	at pl.edu.icm.unity.webui.authn.column.ColumnInstantAuthenticationScreen.init(ColumnInstantAuthenticationScreen.java:161) ~[classes/:?]
      	at pl.edu.icm.unity.webui.authn.column.ColumnInstantAuthenticationScreen.<init>(ColumnInstantAuthenticationScreen.java:123) ~[classes/:?]
      	at pl.edu.icm.unity.webui.authn.AuthenticationUI.appInit(AuthenticationUI.java:134) ~[classes/:?]
      	at pl.edu.icm.unity.webui.UnityUIBase.init(UnityUIBase.java:80) ~[classes/:?]
      	at com.vaadin.ui.UI.doInit(UI.java:771) ~[vaadin-server-8.9.2.jar:8.9.2]
      

        Attachments

          Activity

            People

            • Assignee:
              golbi Krzysztof Benedyczak
              Reporter:
              golbi Krzysztof Benedyczak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: