You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2019/11/04 17:41:00 UTC

[jira] [Resolved] (NIFI-6835) IllegalArgumentException in CLI download-bundle command

     [ https://issues.apache.org/jira/browse/NIFI-6835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Bende resolved NIFI-6835.
-------------------------------
    Resolution: Not A Problem

Turns out this was a mis-leading error message because the client code is trying to get the content-disposition header without first checking if the status code is a 200, so in this case it was actually a 404 so there was no content-disposition header.

> IllegalArgumentException in CLI download-bundle command
> -------------------------------------------------------
>
>                 Key: NIFI-6835
>                 URL: https://issues.apache.org/jira/browse/NIFI-6835
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>
> The registry client has a method to write the contents of a bundle to a file which is used by the CLI command 'download-bundle'. The client code has a bug and is throwing an IllegalArgumentException. The registry client needs to be fixed, but this ticket is to work around the issue by using another method to download the bundle in the CLI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)