Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-367

Exception in installer when path to JWS contains special UTF8 characters

    XMLWordPrintable

Details

    • RC2
    • CR3
    • Workaround Exists
    • Hide

      Do not use any special UTF-8 characters with jws installation

      Show
      Do not use any special UTF-8 characters with jws installation
    • Hide

      1. Unzip JWS-3.1 into directory that contains special UTF-8 characters. For example: "küssen" or ľščťžýáíéúäôňďŕřě
      2. Run installer and use the unziped jws installation or use a path that has a folder with special UTF8 chars in path
      3. Check the console for the exception & installer stays on installation page

      Show
      1. Unzip JWS-3 .1 into directory that contains special UTF-8 characters. For example: " küssen " or ľščťžýáíéúäôňďŕřě 2. Run installer and use the unziped jws installation or use a path that has a folder with special UTF8 chars in path 3. Check the console for the exception & installer stays on installation page

    Description

      Path used is: /home/tree/big/containers/ľščťžýáíéúäôňďŕřě/tomcat8
      where ľščťžýáíéúäôňďŕřě is JWS root directory.

      This is shown in console:

      Exception in thread "Thread-9" java.util.NoSuchElementException: No value present
      	at java.util.Optional.get(Optional.java:135)
      	at com.redhat.installer.layering.validator.IsSupportedContainerValidator.extractTomcatVersion(IsSupportedContainerValidator.java:323)
      	at com.redhat.installer.layering.validator.IsSupportedContainerValidator.getInstalledTomcatVersionString(IsSupportedContainerValidator.java:264)
      	at com.redhat.installer.layering.validator.IsSupportedContainerValidator.isTomcatInstalled(IsSupportedContainerValidator.java:218)
      	at com.redhat.installer.layering.validator.IsSupportedContainerValidator.getContainerInInstallationPath(IsSupportedContainerValidator.java:99)
      	at com.redhat.installer.layering.validator.IsSupportedContainerValidator.validateData(IsSupportedContainerValidator.java:486)
      	at com.izforge.izpack.installer.IzPanel.validatePanel(IzPanel.java:1242)
      	at com.izforge.izpack.installer.IzPanel.panelValidated(IzPanel.java:430)
      	at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1730)
      	at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1715)
      	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(InstallerFrame.java:1880)
      	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$200(InstallerFrame.java:1847)
      	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(InstallerFrame.java:1864)
      	at java.lang.Thread.run(Thread.java:745)
      
      

      NOTE: Also happens when the root directory is named jws-3.1 and there is special UTF8 character in path.
      /home/küssen/jws-3.1/tomcat8

      Attachments

        Activity

          People

            thauser_jira Thomas Hauser (Inactive)
            dhanak@redhat.com Dominik Hanak
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: