<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">Hi,</div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> </div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">I am trying to perform a silent installation of the IdP, and I experience a problem with the plugins tool.</div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> </div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">If I run the command with "noPrompt" option or try to pipe the "yes" command to validate key import without any user interaction, here is what I get :</div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> </div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">yes | /opt/shibboleth-idp/bin/plugin.sh -I net.shibboleth.idp.plugin.metadatagen</div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> </div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.io.Console.printf(String, Object[])" because the return value of "java.lang.System.console()" is null<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI$InstallerQuery.test(PluginInstallerCLI.java:606)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI$InstallerQuery.test(PluginInstallerCLI.java:590)<br />at net.shibboleth.idp.installer.plugin.impl.TrustStore.importKeyFromStream(TrustStore.java:235)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.checkSignature(PluginInstaller.java:878)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.installPlugin(PluginInstaller.java:279)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.installPlugin(PluginInstaller.java:253)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.autoPluginFromId(PluginInstallerCLI.java:475)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.doRun(PluginInstallerCLI.java:160)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.doRun(PluginInstallerCLI.java:66)<br />at net.shibboleth.ext.spring.cli.AbstractCommandLine.run(AbstractCommandLine.java:202)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.runMain(PluginInstallerCLI.java:578)<br />at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.main(PluginInstallerCLI.java:586)<br /><br /></div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">Is there any other way to do that ?</div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> </div>
<div style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">Regards</div>
                    <br/><hr>FreeMail powered by <a href="https://mail.fr" target="_blank">mail.fr</a>