Details
Description
steps to reproduce:
1. enter following command at CLI
javapackager -deploy -verbose
-outdir C:\Users\rbgangad.ORADEV\Desktop\rough\temp\ramesh -outfile test -native exe --module-path C
:\Users\rbgangad.ORADEV\Desktop\rough\temp\jars --module com.greetings/com.greetings.App1 -name Simp
leTest --strip-native-commands true
<LOG>
D:\appbundler_repo\functional\appBundlerTestsJDK9\appBundlerTestsJDK9>javapackager -deploy -verbose
-outdir C:\Users\rbgangad.ORADEV\Desktop\rough\temp\ramesh -outfile test -native exe --module-path C
:\Users\rbgangad.ORADEV\Desktop\rough\temp\jars --module com.greetings/com.greetings.App1 -name Simp
leTest --strip-native-commands true
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/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: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/W
indowsBundlerParam.java:111)
at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.j
ava: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/WinAppBundle
r.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
D:\appbundler_repo\functional\appBundlerTestsJDK9\appBundlerTestsJDK9>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)
</LOG>
please find the log as file in attachment.
1. enter following command at CLI
javapackager -deploy -verbose
-outdir C:\Users\rbgangad.ORADEV\Desktop\rough\temp\ramesh -outfile test -native exe --module-path C
:\Users\rbgangad.ORADEV\Desktop\rough\temp\jars --module com.greetings/com.greetings.App1 -name Simp
leTest --strip-native-commands true
<LOG>
D:\appbundler_repo\functional\appBundlerTestsJDK9\appBundlerTestsJDK9>javapackager -deploy -verbose
-outdir C:\Users\rbgangad.ORADEV\Desktop\rough\temp\ramesh -outfile test -native exe --module-path C
:\Users\rbgangad.ORADEV\Desktop\rough\temp\jars --module com.greetings/com.greetings.App1 -name Simp
leTest --strip-native-commands true
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/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: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/W
indowsBundlerParam.java:111)
at com.oracle.tools.packager.BundlerParamInfo.fetchFrom(jdk.packager@9-ea/BundlerParamInfo.j
ava: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/WinAppBundle
r.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
D:\appbundler_repo\functional\appBundlerTestsJDK9\appBundlerTestsJDK9>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)
</LOG>
please find the log as file in attachment.
Attachments
Issue Links
- duplicates
-
JDK-8166960 javapackager throws NullPointerException when bundling ModularJar for Exe Extension
-
- Closed
-