To reproduce put BundlerTestApp.jar to the /tmp folder and run the app.
Expected: ConfigException
Result: validation passes and exception occurs inside the execute method
java.io.IOException: Exec failed with code 1 command [[rpmbuild, -bb, /tmp/fxbundler5588550561547249379/images/linux-rpm.image/BundlerTestApp.spec, --define, %_sourcedir /tmp/fxbundler5588550561547249379/images/linux-rpm.image, --define, %_rpmdir /home/zinch/tmp, --define, %_topdir /tmp/fxbundler5588550561547249379/rmpbuildroot] in /tmp/fxbundler5588550561547249379/images/linux-rpm.image
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:165)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:138)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:132)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.buildRPM(LinuxRPMBundler.java:366)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.bundle(LinuxRPMBundler.java:171)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.execute(LinuxRPMBundler.java:441)
at BundlerTestApp.lambda$1(BundlerTestApp.java:45)
at BundlerTestApp$$Lambda$170/5455460.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at BundlerTestApp.main(BundlerTestApp.java:34)
Expected: ConfigException
Result: validation passes and exception occurs inside the execute method
java.io.IOException: Exec failed with code 1 command [[rpmbuild, -bb, /tmp/fxbundler5588550561547249379/images/linux-rpm.image/BundlerTestApp.spec, --define, %_sourcedir /tmp/fxbundler5588550561547249379/images/linux-rpm.image, --define, %_rpmdir /home/zinch/tmp, --define, %_topdir /tmp/fxbundler5588550561547249379/rmpbuildroot] in /tmp/fxbundler5588550561547249379/images/linux-rpm.image
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:165)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:138)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:132)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.buildRPM(LinuxRPMBundler.java:366)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.bundle(LinuxRPMBundler.java:171)
at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.execute(LinuxRPMBundler.java:441)
at BundlerTestApp.lambda$1(BundlerTestApp.java:45)
at BundlerTestApp$$Lambda$170/5455460.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at BundlerTestApp.main(BundlerTestApp.java:34)