[JIRA] (IDP-1911) NullPointerException when piping output of metadatagen to somewhere else
Matthew Slowe (Jira)
jira at shibboleth.atlassian.net
Tue Mar 1 10:18:15 UTC 2022
Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-1911?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 ) IDP-1911 ( https://shibboleth.atlassian.net/browse/IDP-1911?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 ) NullPointerException when piping output of metadatagen to somewhere else ( https://shibboleth.atlassian.net/browse/IDP-1911?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 4.1.5 Assignee: Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) Components: Metadata Created: 01/Mar/22 5:18 AM Environment:
# ./bin/version.sh
4.1.5
# ./bin/plugin.sh -fl
Plugin: net.shibboleth.idp.plugin.metadatagen Current Version: 1.0.0
Priority: Trivial Reporter: Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 )
When piping the output of metadatagen.sh (from plugin), a NullPointerException is thrown:
# ./bin/metadatagen.sh | cat
Exception in thread "main" java.lang.NullPointerException
at net.shibboleth.idp.plugin.metadatagen.impl.MetadataGenCLI.setupWriter(MetadataGenCLI.java:504)
at net.shibboleth.idp.plugin.metadatagen.impl.MetadataGenCLI.doRun(MetadataGenCLI.java:527)
at net.shibboleth.idp.plugin.metadatagen.impl.MetadataGenCLI.doRun(MetadataGenCLI.java:77)
at net.shibboleth.ext.spring.cli.AbstractCommandLine.run(AbstractCommandLine.java:202)
at net.shibboleth.idp.plugin.metadatagen.impl.MetadataGenCLI.runMain(MetadataGenCLI.java:549)
at net.shibboleth.idp.plugin.metadatagen.impl.MetadataGenCLI.main(MetadataGenCLI.java:557)
Without piping, the command executes correctly.
( https://shibboleth.atlassian.net/browse/IDP-1911#add-comment?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1911#add-comment?atlOrigin=eyJpIjoiNzM0MTAwMTQxNmUxNGE5YTg1MWM2ZTkxNDYyNmQyY2EiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100192- sha1:31e1add )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220301/6e5b48d0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-383b1854-8f8c-40be-b579-62b449d4d446
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220301/6e5b48d0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-340380ea-2afa-4799-a5a0-4a720869d251
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220301/6e5b48d0/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-e2ff0fe7-3fe2-4e40-8ade-57e1ef5cbaea
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220301/6e5b48d0/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-860fe8e5-bc8d-41f3-a273-8056855ea5ca
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220301/6e5b48d0/attachment-0007.png>
More information about the commits
mailing list