Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26206

(8.0.z) GUI installer throws NPE on Windows when trying to enter path on non-existing drive for settings.xml

XMLWordPrintable

    • False
    • None
    • False
    • +
    • Known Issue

      On Windows when on Maven repository setup screen, if path with non-existent drive is entered to "Specify an alternative path to the Maven settings.xml file"

      eg. "X:\test\settings.xml"

      then no validation dialog is shown and instead NPE is printed into terminal:

       java.lang.NullPointerException
              at org.jboss.installer.validators.MavenSettingsPathValidator.getExistingParent(MavenSettingsPathValidator.java:69)
              at org.jboss.installer.validators.MavenSettingsPathValidator.validate(MavenSettingsPathValidator.java:113)
              at org.jboss.installer.validators.MavenSettingsPathValidator.validate(MavenSettingsPathValidator.java:83)
              at org.jboss.installer.screens.QuickstartsMavenRepositorySetupScreen.lambda$validate(QuickstartsMavenRepositorySetupScreen.java:164)
              at org.jboss.installer.screens.QuickstartsMavenRepositorySetupScreen.validate(QuickstartsMavenRepositorySetupScreen.java:168)
              at org.jboss.installer.core.Navigator.moveToNext(Navigator.java:59)
              at org.jboss.installer.panels.frame.NavigationPanel.lambda$initPanel(NavigationPanel.java:62)
      

            chaowan@redhat.com Chao Wang
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: