You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrew M. Lim (Jira)" <ji...@apache.org> on 2020/03/04 16:47:00 UTC

[jira] [Created] (NIFI-7224) Unable to import a "Download flow" JSON file into Registry

Andrew M. Lim created NIFI-7224:
-----------------------------------

             Summary: Unable to import a "Download flow" JSON file into Registry
                 Key: NIFI-7224
                 URL: https://issues.apache.org/jira/browse/NIFI-7224
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Andrew M. Lim


Selecting "Download flow" for a process group which generated the file:

simple_download_flow.json

Tried to import this into Registry and got the following:
./cli.sh demo quick-import -i /Users/andrew.lim/Downloads/simple_download_flow.jsonERROR: Error executing command 'quick-import' : null
Added -verbose and see this stack trace:
org.apache.nifi.toolkit.cli.api.CommandException: Error executing command 'quick-import' : null
	at org.apache.nifi.toolkit.cli.impl.command.composite.AbstractCompositeCommand.execute(AbstractCompositeCommand.java:84)
	at org.apache.nifi.toolkit.cli.impl.command.CommandProcessor.processCommand(CommandProcessor.java:252)
	at org.apache.nifi.toolkit.cli.impl.command.CommandProcessor.processGroupCommand(CommandProcessor.java:233)
	at org.apache.nifi.toolkit.cli.impl.command.CommandProcessor.process(CommandProcessor.java:188)
	at org.apache.nifi.toolkit.cli.CLIMain.runSingleCommand(CLIMain.java:145)
	at org.apache.nifi.toolkit.cli.CLIMain.main(CLIMain.java:72)
Caused by: java.lang.NullPointerException
	at org.apache.nifi.toolkit.cli.impl.command.registry.flow.ImportFlowVersion.doExecute(ImportFlowVersion.java:92)
	at org.apache.nifi.toolkit.cli.impl.command.composite.QuickImport.importFlowVersion(QuickImport.java:150)
	at org.apache.nifi.toolkit.cli.impl.command.composite.QuickImport.doExecute(QuickImport.java:124)
	at org.apache.nifi.toolkit.cli.impl.command.composite.QuickImport.doExecute(QuickImport.java:48)
	at org.apache.nifi.toolkit.cli.impl.command.composite.AbstractCompositeCommand.execute(AbstractCompositeCommand.java:80)
	... 5 more



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