-
Bug
-
Resolution: Done
-
Blocker
-
8.0.0.GA-CR1
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
Although this is kind of a edge case, it's possible that the installer throws NPE when used for example like this:
java -jar jboss-eap-8.0.0.GA-redhat-SNAPSHOT-installer.jar /tmp/auto.xml | tee /tmp/log.txt
The reason seems to be usage of console in here: https://github.com/jbossas/eap-installer/blob/main/src/main/java/org/jboss/installer/auto/InstallationDataSerializer.java#L332
I'm not saying that we need to change the console to stdin or stdout but maybe we should add a custom error message to inform the user that the installer can't be used like that