Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166361

java.util.MissingResourceException : Can't find resource for bundle java.util.PropertyResourceBundle, key error.license-missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: deploy
    • Labels:
    • Environment:

      java version "9-ea"
      Java(TM) SE Runtime Environment (fastdebug build 9-ea+136)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-ea+136, mixed mode)

    • Subcomponent:
    • Introduced In Version:
      9
    • OS:
      windows_7

      Description

      steps to reproduce

      try this command at CLI

      javapackager -deploy -verbose
      -outdir D:\TEMP\testBundlerWorkDir2085369928304183205\bundles -outfile test -native msi --module-pat
      h D:\Downloads\jdk-9-ea+136_windows-x64_bin-debug.tar\jdk-9-ea+136_windows-x64_bin-debug\jdk-9\fastd
      ebug\jmods;D:\TEMP\testBundlerWorkDir2085369928304183205\jmods --module com.greetings/com.greetings.
      App1 -name LicenseFileTest -BlicenseFile=License.lic -srcdir D:\TEMP\testBundlerWorkDir2085369928304
      183205\jmods

      please find the attachment for jmods zip file.

      <CLI_LOG>
      Running [D:\Downloads\jdk-9-ea+136_windows-x64_bin-debug.tar\jdk-9-ea+136_windows-x64_bin-debug\jdk-
      9\fastdebug\bin\java, -version]
      Running [C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe, /?]
      Detected [C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe] version [3.8]
      Running [C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe, /?]
      Detected [C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe] version [3.8]
      WiX 3.6 detected. Enabling advanced cleanup action.
      com.oracle.tools.packager.ConfigException: java.util.MissingResourceException: Can't find resource f
      or bundle java.util.PropertyResourceBundle, key error.license-missing
              at com.oracle.tools.packager.windows.WinMsiBundler.validate(jdk.packager@9-ea/WinMsiBundler.
      java:363)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/Package
      rLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/Pa
      ckagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:484)
      Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyReso
      urceBundle, key error.license-missing
              at java.util.ResourceBundle.getObject(java.base@9-ea/ResourceBundle.java:536)
              at java.util.ResourceBundle.getString(java.base@9-ea/ResourceBundle.java:493)
              at com.oracle.tools.packager.windows.WinMsiBundler.validate(jdk.packager@9-ea/WinMsiBundler.
      java:351)
              ... 3 more

      Bundler MSI Installer skipped because of a configuration problem: java.util.MissingResourceException
      : Can't find resource for bundle java.util.PropertyResourceBundle, key error.license-missing

      D:\appbundler_repo\functional\appBundlerTestsJDK9\appBundlerTestsJDK9>


      </CLI_LOG>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rgangadhar Ramesh Gangadhar
              Reporter:
              rgangadhar Ramesh Gangadhar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: