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

[Packager] NPE when FA_ICON is used for MSI bundler via Java API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u40
    • deploy
    • Windows 7, MSI, Java API

      The following code is used to provide an image with extension ".ico"

      params.put(FA_ICON.getID(), CONFIG_INSTANCE.getResourceFilePath("icon2." + iconExtension()).toFile());

      During the execution the following stacktrace is printed:

      java.lang.NullPointerException
      at com.oracle.tools.packager.windows.WinMsiBundler.prepareProto(WinMsiBundler.java:394)
      at com.oracle.tools.packager.windows.WinMsiBundler.bundle(WinMsiBundler.java:437)
      at com.oracle.tools.packager.windows.WinMsiBundler.execute(WinMsiBundler.java:228)
      at com.oracle.appbundlers.utils.JavaApiBundlingManager.execute(JavaApiBundlingManager.java:31)
      at com.oracle.appbundlers.utils.BundlingManager.execute(BundlingManager.java:41)
      at com.oracle.appbundlers.tests.functionality.TestBase.runTest(TestBase.java:217)

            shemnon Danno Ferrin (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: