[ 
https://issues.apache.org/jira/browse/NIFI-6575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912416#comment-16912416
 ] 

David Kegley commented on NIFI-6575:
------------------------------------

I have narrowed this down to the connections between OUTPUT_PORT -> 
OUTPUT_PORT.  In the attached flow, if you remove the output ports and 
terminate success/failure relationships at the debug processor then the flow 
runs successfully

> nifi-stateless flows with nested process groups fail to initialize
> ------------------------------------------------------------------
>
>                 Key: NIFI-6575
>                 URL: https://issues.apache.org/jira/browse/NIFI-6575
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: David Kegley
>            Priority: Major
>         Attachments: 1_root.png, 2_nested_pg.png, 3_debug_proc.png
>
>
> Creating a nifi-stateless flow with nested process groups causes the 
> following exception during StatelessFlow initialization because one of the 
> flow components fails the validation checks.
>  
> {code:java}
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at org.apache.nifi.stateless.NiFiStateless.main(NiFiStateless.java:120)
> Caused by: java.lang.IllegalArgumentException: 
> DebugFlow[id=493e3f63-0d01-375f-a430-8d76ce272d9d] is not valid: 
>       at 
> org.apache.nifi.stateless.core.StatelessProcessorWrapper.initialize(StatelessProcessorWrapper.java:112)
>       at 
> org.apache.nifi.stateless.core.StatelessProcessorWrapper.runRecursive(StatelessProcessorWrapper.java:138)
>       at 
> org.apache.nifi.stateless.core.StatelessPassThroughComponent.runRecursive(StatelessPassThroughComponent.java:62)
>       at 
> org.apache.nifi.stateless.core.StatelessFlow.runOnce(StatelessFlow.java:359)
>       at org.apache.nifi.stateless.runtimes.Program.runLocal(Program.java:146)
>       at org.apache.nifi.stateless.runtimes.Program.launch(Program.java:68)
>       ... 5 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to