Details
Description
ADDITIONAL SYSTEM INFORMATION :
Windows 10
java --version
openjdk 14-jpackage 2020-03-17
OpenJDK Runtime Environment (build 14-jpackage+1-35)
OpenJDK 64-Bit Server VM (build 14-jpackage+1-35, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
jpackage fails with Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jpackage --package-type exe -o bundles -n DrumScoreEditor --app-image bundles/DrumScoreEditor --app-version 2.9 --win-menu --win-shortcut --file-associations autobuild/filetypes.txt --verbose
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Self-extracting installer bundles/DrumScoreEditor-2.9.exe should be created
ACTUAL -
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
WiX 3.6 detected. Enabling advanced cleanup action.
jdk.jpackage.internal.ConfigException: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:357)
at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.validate(WinExeBundler.java:94)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:619)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:513)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:97)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:51)
Caused by: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:342)
... 5 more
jdk.jpackage.internal.PackagerException: Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException.
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:636)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:513)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:97)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:51)
Caused by: jdk.jpackage.internal.ConfigException: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:357)
at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.validate(WinExeBundler.java:94)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:619)
... 3 more
Caused by: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:342)
... 5 more
---------- BEGIN SOURCE ----------
Any windows java app image
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None, remove --file-associations to create installer, but has no file-associations
FREQUENCY : always
Windows 10
java --version
openjdk 14-jpackage 2020-03-17
OpenJDK Runtime Environment (build 14-jpackage+1-35)
OpenJDK 64-Bit Server VM (build 14-jpackage+1-35, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
jpackage fails with Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jpackage --package-type exe -o bundles -n DrumScoreEditor --app-image bundles/DrumScoreEditor --app-version 2.9 --win-menu --win-shortcut --file-associations autobuild/filetypes.txt --verbose
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Self-extracting installer bundles/DrumScoreEditor-2.9.exe should be created
ACTUAL -
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
Running [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, /?]
Detected [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe] version [3.11].
WiX 3.6 detected. Enabling advanced cleanup action.
jdk.jpackage.internal.ConfigException: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:357)
at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.validate(WinExeBundler.java:94)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:619)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:513)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:97)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:51)
Caused by: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:342)
... 5 more
jdk.jpackage.internal.PackagerException: Bundler EXE Installer skipped because of a configuration problem: java.lang.NullPointerException.
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:636)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:513)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:97)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:51)
Caused by: jdk.jpackage.internal.ConfigException: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:357)
at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.validate(WinExeBundler.java:94)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:619)
... 3 more
Caused by: java.lang.NullPointerException
at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.validate(WinMsiBundler.java:342)
... 5 more
---------- BEGIN SOURCE ----------
Any windows java app image
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None, remove --file-associations to create installer, but has no file-associations
FREQUENCY : always