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

javapackager Issues in Windows 134 build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: deploy
    • Environment:

      C:\Users\rbgangad.ORADEV\Desktop\rough\temp>java -version
      java version "9-ea"
      Java(TM) SE Runtime Environment (fastdebug build 9-ea+134)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-ea+134, mixed mode)

    • Subcomponent:
    • Introduced In Build:
      b134
    • Introduced In Version:
      9
    • OS:
      windows

      Description

      Windows Build:
      ===================================
      C:\Users\rbgangad.ORADEV\Desktop\rough\temp>java -version
      java version "9-ea"
      Java(TM) SE Runtime Environment (fastdebug build 9-ea+134)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-ea+134, mixed mode)

      All below test cases are executed on CLI.
      Windows Issues:

      1. Simple Normal Jar + exe

      javapackager -deploy -verbose -outdir outdir -outfile test -native exe -srcdir jars -srcfiles swing.jar -BmainJar=swing.jar -Bclasspath=swing.jar -appclass java8.SwingHello
      Exception in thread "main" java.lang.StackOverflowError
              at java.util.HashMap.hash(java.base@9-ea/HashMap.java:338)
              at java.util.HashMap.get(java.base@9-ea/HashMap.java:556)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:115)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)


      2. Simple Normal Jar + MSI
      javapackager -deploy -verbose -outdir outdir -outfile test -native msi -srcdir jars -srcfiles swing.jar -BmainJar=swing.jar -Bclasspath=swing.jar -appclass java8.SwingHello

      javapackager -deploy -verbose -outdir outdir -outfile test -native msi -srcdir jars -srcfiles swing.jar -BmainJar=swing.jar -Bclasspath=swing.jar -appclass java8.SwingHello
      Exception in thread "main" java.lang.StackOverflowError
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:115)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
       
      3. Simple Normal Jar + IMAGE

      javapackager -deploy -verbose -outdir outdir -outfile test -native image -srcdir jars -srcfiles swing.jar -BmainJar=swing.jar -Bclasspath=swing.jar -appclass java8.SwingHello
      Bundler Linux Application Image skipped because the bundler does not support bundling on this platform.
      Exception in thread "main" java.lang.StackOverflowError
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:115)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at jdk.packager.internal.JLinkBundlerHelper.setupDefaultModulePathIfNecessary(jdk.packager@9-ea/JLinkBundlerHelper.java:388)
              at jdk.packager.internal.JLinkBundlerHelper.lambda$static$0(jdk.packager@9-ea/JLinkBundlerHelper.java:93)


      4. Modular Jar + native
       
      javapackager -deploy -verbose --module-path modjars -m com.greetings/com.greetings.App1 -outdir outdir -outfile test -native -name SimpleTest
      Bundler Linux Application Image skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:97)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:322)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:92)
              ... 3 more

      Bundler Windows Application Image skipped because of a configuration problem: java.lang.NullPointerException
      Bundler Mac Application Image skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              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/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinMsiBundler.validate(jdk.packager@9-ea/WinMsiBundler.java:285)
              ... 3 more

      Bundler MSI Installer skipped because of a configuration problem: java.lang.NullPointerException
      Bundler DMG Installer skipped because the bundler does not support bundling on this platform.
      Bundler Mac App Store Ready Bundler skipped because the bundler does not support bundling on this platform.
      Bundler PKG Installer skipped because the bundler does not support bundling on this platform.
      Bundler DEB Installer skipped because the bundler does not support bundling on this platform.
      Bundler RPM Bundle skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:97)
              at com.oracle.tools.packager.windows.WinExeBundler.validate(jdk.packager@9-ea/WinExeBundler.java:224)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:92)
              ... 4 more

      Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException

      5. Modular Jar + IMAGE

      javapackager -deploy -verbose --module-path modjars -m com.greetings/com.greetings.App1 -outdir outdir -outfile test -native image -name SimpleTest
      Bundler Linux Application Image skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:97)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:322)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:92)
              ... 3 more

      Bundler Windows Application Image skipped because of a configuration problem: java.lang.NullPointerException
      Bundler Mac Application Image skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              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/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinMsiBundler.validate(jdk.packager@9-ea/WinMsiBundler.java:285)
              ... 3 more

      Bundler MSI Installer skipped because of a configuration problem: java.lang.NullPointerException
      Bundler DMG Installer skipped because the bundler does not support bundling on this platform.
      Bundler Mac App Store Ready Bundler skipped because the bundler does not support bundling on this platform.
      Bundler PKG Installer skipped because the bundler does not support bundling on this platform.
      Bundler DEB Installer skipped because the bundler does not support bundling on this platform.
      Bundler RPM Bundle skipped because the bundler does not support bundling on this platform.
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:97)
              at com.oracle.tools.packager.windows.WinExeBundler.validate(jdk.packager@9-ea/WinExeBundler.java:224)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:92)
              ... 4 more

      Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException

      6. Modular jar + EXE
      javapackager -deploy -verbose --module-path modjars -m com.greetings/com.greetings.App1 -outdir outdir -outfile test -native exe -name SimpleTest
      com.oracle.tools.packager.ConfigException: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:97)
              at com.oracle.tools.packager.windows.WinExeBundler.validate(jdk.packager@9-ea/WinExeBundler.java:224)
              at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(jdk.packager@9-ea/PackagerLib.java:370)
              at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(jdk.packager@9-ea/PackagerLib.java:329)
              at com.sun.javafx.tools.packager.Main.main(jdk.packager@9-ea/Main.java:483)
      Caused by: java.lang.NullPointerException
              at com.oracle.tools.packager.windows.WinAppBundler.extractFlagsFromRuntime(jdk.packager@9-ea/WinAppBundler.java:202)
              at com.oracle.tools.packager.windows.WindowsBundlerParam.lambda$static$8(jdk.packager@9-ea/WindowsBundlerParam.java:111)
              at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.java:133)
              at com.oracle.tools.packager.windows.WinAppBundler.testRuntimeBitArchitecture(jdk.packager@9-ea/WinAppBundler.java:129)
              at com.oracle.tools.packager.windows.WinAppBundler.doValidate(jdk.packager@9-ea/WinAppBundler.java:118)
              at com.oracle.tools.packager.windows.WinAppBundler.validate(jdk.packager@9-ea/WinAppBundler.java:92)
              ... 4 more

      Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException

        Attachments

          Activity

            People

            Assignee:
            cbensen Chris Bensen (Inactive)
            Reporter:
            rgangadhar Ramesh Gangadhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: