Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6575

nifi-stateless flows with nested process groups fail to initialize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • NiFi Stateless
    • None

    Description

      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.

       

      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
      

      Attachments

        1. 1_root.png
          70 kB
          David Kegley
        2. 2_nested_pg.png
          58 kB
          David Kegley
        3. 3_debug_proc.png
          56 kB
          David Kegley

        Activity

          People

            Unassigned Unassigned
            kegs David Kegley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: