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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u40
    • Affects Version/s: 8u40
    • Component/s: deploy
    • Environment:

      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)

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

              Created:
              Updated:
              Resolved:
              Imported: