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

(8.0.z) GUI installer throws NPE on Windows when trying to enter invalid path to settings.xml

XMLWordPrintable

      (Proceed until "Configure Runtime", then select "advanced configuration" and check "Install quickstarts" ⇒ Next ⇒ Next)

      On Windows when on Maven repository setup screen, if invalid path is entered to "Specify an alternative path to the Maven settings.xml file"

      eg. "http://www.redhat.com"

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

       java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://www.redhat.com
              at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
              at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
              at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
              at java.base/java.nio.file.Path.of(Path.java:147)
              at org.jboss.installer.validators.MavenSettingsPathValidator.validate(MavenSettingsPathValidator.java:81)
              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)
      
      

            mpetrov@redhat.com Michal Petrov
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: