Silent installation console exception

spfma.tech at e.mail.fr spfma.tech at e.mail.fr
Wed Sep 21 08:48:15 UTC 2022


Hi,   I am trying to perform a silent installation of the IdP, and I experience a problem with the plugins tool.   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 :   yes | /opt/shibboleth-idp/bin/plugin.sh -I net.shibboleth.idp.plugin.metadatagen   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
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI$InstallerQuery.test(PluginInstallerCLI.java:606)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI$InstallerQuery.test(PluginInstallerCLI.java:590)
at net.shibboleth.idp.installer.plugin.impl.TrustStore.importKeyFromStream(TrustStore.java:235)
at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.checkSignature(PluginInstaller.java:878)
at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.installPlugin(PluginInstaller.java:279)
at net.shibboleth.idp.installer.plugin.impl.PluginInstaller.installPlugin(PluginInstaller.java:253)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.autoPluginFromId(PluginInstallerCLI.java:475)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.doRun(PluginInstallerCLI.java:160)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.doRun(PluginInstallerCLI.java:66)
at net.shibboleth.ext.spring.cli.AbstractCommandLine.run(AbstractCommandLine.java:202)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.runMain(PluginInstallerCLI.java:578)
at net.shibboleth.idp.installer.plugin.impl.PluginInstallerCLI.main(PluginInstallerCLI.java:586)

 Is there any other way to do that ?   Regards 

-------------------------------------------------------------------------------------------------
FreeMail powered by mail.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220921/7db6ec14/attachment.htm>


More information about the users mailing list