<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Minifi startup fails with &amp;quot;Cannot invoke &amp;quot;org.apache.nifi.flow.VersionedProcessGroup.getIdentifier()&amp;quot; because &amp;quot;rootGroup&amp;quot; is null&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397343#M249821</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have exported the json in nifi and renamed it to flow.json.raw, but when I try to start minifi, I get the error like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZNFY_0-1731377605899.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42569iB3EA7243BEF3483F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZNFY_0-1731377605899.png" alt="ZNFY_0-1731377605899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my flow in nifi&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZNFY_1-1731377715120.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42570iC7C4FD232527019E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZNFY_1-1731377715120.png" alt="ZNFY_1-1731377715120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is my json content：&lt;/P&gt;&lt;PRE&gt;{
  "externalControllerServices": {

  },
  "flowContents": {
    "comments": "",
    "componentType": "PROCESS_GROUP",
    "connections": [
      {
        "backPressureDataSizeThreshold": "1 GB",
        "backPressureObjectThreshold": 10000,
        "bends": [],
        "componentType": "CONNECTION",
        "destination": {
          "groupId": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
          "id": "8dd0c880-1b12-3097-90a0-5f20d488f88a",
          "instanceIdentifier": "846c8039-231d-353b-b87e-aed9f7408030",
          "name": "fromMinifi",
          "type": "REMOTE_INPUT_PORT"
        },
        "flowFileExpiration": "0 sec",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "b0ca1df7-83e8-314b-bb2f-50735ab0ccd2",
        "instanceIdentifier": "1e076437-0193-1000-f190-07b262d28ba8",
        "labelIndex": 0,
        "loadBalanceCompression": "DO_NOT_COMPRESS",
        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
        "name": "",
        "partitioningAttribute": "",
        "prioritizers": [],
        "selectedRelationships": [
          "success"
        ],
        "source": {
          "comments": "",
          "groupId": "cad6891f-5564-3a61-8a99-bb7be344adc8",
          "id": "39db7913-b310-3485-95fe-6e6e33b1dda8",
          "instanceIdentifier": "1b72dcd3-0193-1000-4444-cbda1bf29306",
          "name": "GenerateFlowFile",
          "type": "PROCESSOR"
        },
        "zIndex": 0
      }
    ],
    "controllerServices": [],
    "defaultBackPressureDataSizeThreshold": "1 GB",
    "defaultBackPressureObjectThreshold": 10000,
    "defaultFlowFileExpiration": "0 sec",
    "executionEngine": "INHERITED",
    "flowFileConcurrency": "UNBOUNDED",
    "flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE",
    "funnels": [],
    "identifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
    "inputPorts": [],
    "instanceIdentifier": "1e055241-0193-1000-bfce-60069091b1f0",
    "labels": [],
    "maxConcurrentTasks": 1,
    "name": "Mnificonf",
    "outputPorts": [],
    "position": {
      "x": -904,
      "y": 16
    },
    "processGroups": [],
    "processors": [
      {
        "autoTerminatedRelationships": [],
        "backoffMechanism": "PENALIZE_FLOWFILE",
        "bulletinLevel": "WARN",
        "bundle": {
          "artifact": "nifi-standard-nar",
          "group": "org.apache.nifi",
          "version": "2.0.0"
        },
        "comments": "",
        "componentType": "PROCESSOR",
        "concurrentlySchedulableTaskCount": 1,
        "executionNode": "ALL",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "39db7913-b310-3485-95fe-6e6e33b1dda8",
        "instanceIdentifier": "1b72dcd3-0193-1000-4444-cbda1bf29306",
        "maxBackoffPeriod": "10 mins",
        "name": "GenerateFlowFile",
        "penaltyDuration": "30 sec",
        "position": {
          "x": -888,
          "y": 24
        },
        "properties": {
          "character-set": "UTF-8",
          "File Size": "1000B",
          "Batch Size": "1",
          "Unique FlowFiles": "false",
          "Data Format": "Text"
        },
        "propertyDescriptors": {
          "character-set": {
            "displayName": "Character Set",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "character-set",
            "sensitive": false
          },
          "File Size": {
            "displayName": "File Size",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "File Size",
            "sensitive": false
          },
          "mime-type": {
            "displayName": "Mime Type",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "mime-type",
            "sensitive": false
          },
          "generate-ff-custom-text": {
            "displayName": "Custom Text",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "generate-ff-custom-text",
            "sensitive": false
          },
          "Batch Size": {
            "displayName": "Batch Size",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Batch Size",
            "sensitive": false
          },
          "Unique FlowFiles": {
            "displayName": "Unique FlowFiles",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Unique FlowFiles",
            "sensitive": false
          },
          "Data Format": {
            "displayName": "Data Format",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Data Format",
            "sensitive": false
          }
        },
        "retriedRelationships": [],
        "retryCount": 10,
        "runDurationMillis": 0,
        "scheduledState": "ENABLED",
        "schedulingPeriod": "5 sec",
        "schedulingStrategy": "TIMER_DRIVEN",
        "style": {

        },
        "type": "org.apache.nifi.processors.standard.GenerateFlowFile",
        "yieldDuration": "1 sec"
      }
    ],
    "remoteProcessGroups": [
      {
        "comments": "",
        "communicationsTimeout": "30 sec",
        "componentType": "REMOTE_PROCESS_GROUP",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
        "inputPorts": [
          {
            "batchSize": {

            },
            "componentType": "REMOTE_INPUT_PORT",
            "concurrentlySchedulableTaskCount": 1,
            "groupIdentifier": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
            "identifier": "8dd0c880-1b12-3097-90a0-5f20d488f88a",
            "instanceIdentifier": "846c8039-231d-353b-b87e-aed9f7408030",
            "name": "fromMinifi",
            "remoteGroupId": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
            "scheduledState": "ENABLED",
            "targetId": "1e06d5ee-0193-1000-88b2-e6a57607a83c",
            "useCompression": false
          }
        ],
        "instanceIdentifier": "1b72a1a9-0193-1000-a217-fa7db75fc41a",
        "name": "NiFi Flow",
        "outputPorts": [],
        "position": {
          "x": -184,
          "y": 0
        },
        "proxyHost": "",
        "proxyUser": "",
        "targetUris": "http://10.233.150.213:8443/nifi",
        "transportProtocol": "RAW",
        "yieldDuration": "10 sec"
      }
    ],
    "scheduledState": "ENABLED",
    "statelessFlowTimeout": "1 min"
  },
  "flowEncodingVersion": "1.0",
  "parameterContexts": [],
  "parameterProviders": [],
  "snapshotMetadata": {
    "author": "anonymous",
    "comments": "",
    "timestamp": 1731375780091,
    "version": 1
  }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I hope someone can help me&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 02:16:53 GMT</pubDate>
    <dc:creator>ZNFY</dc:creator>
    <dc:date>2024-11-12T02:16:53Z</dc:date>
    <item>
      <title>Minifi startup fails with "Cannot invoke "org.apache.nifi.flow.VersionedProcessGroup.getIdentifier()" because "rootGroup" is null"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397343#M249821</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have exported the json in nifi and renamed it to flow.json.raw, but when I try to start minifi, I get the error like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZNFY_0-1731377605899.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42569iB3EA7243BEF3483F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZNFY_0-1731377605899.png" alt="ZNFY_0-1731377605899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my flow in nifi&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZNFY_1-1731377715120.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42570iC7C4FD232527019E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZNFY_1-1731377715120.png" alt="ZNFY_1-1731377715120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is my json content：&lt;/P&gt;&lt;PRE&gt;{
  "externalControllerServices": {

  },
  "flowContents": {
    "comments": "",
    "componentType": "PROCESS_GROUP",
    "connections": [
      {
        "backPressureDataSizeThreshold": "1 GB",
        "backPressureObjectThreshold": 10000,
        "bends": [],
        "componentType": "CONNECTION",
        "destination": {
          "groupId": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
          "id": "8dd0c880-1b12-3097-90a0-5f20d488f88a",
          "instanceIdentifier": "846c8039-231d-353b-b87e-aed9f7408030",
          "name": "fromMinifi",
          "type": "REMOTE_INPUT_PORT"
        },
        "flowFileExpiration": "0 sec",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "b0ca1df7-83e8-314b-bb2f-50735ab0ccd2",
        "instanceIdentifier": "1e076437-0193-1000-f190-07b262d28ba8",
        "labelIndex": 0,
        "loadBalanceCompression": "DO_NOT_COMPRESS",
        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
        "name": "",
        "partitioningAttribute": "",
        "prioritizers": [],
        "selectedRelationships": [
          "success"
        ],
        "source": {
          "comments": "",
          "groupId": "cad6891f-5564-3a61-8a99-bb7be344adc8",
          "id": "39db7913-b310-3485-95fe-6e6e33b1dda8",
          "instanceIdentifier": "1b72dcd3-0193-1000-4444-cbda1bf29306",
          "name": "GenerateFlowFile",
          "type": "PROCESSOR"
        },
        "zIndex": 0
      }
    ],
    "controllerServices": [],
    "defaultBackPressureDataSizeThreshold": "1 GB",
    "defaultBackPressureObjectThreshold": 10000,
    "defaultFlowFileExpiration": "0 sec",
    "executionEngine": "INHERITED",
    "flowFileConcurrency": "UNBOUNDED",
    "flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE",
    "funnels": [],
    "identifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
    "inputPorts": [],
    "instanceIdentifier": "1e055241-0193-1000-bfce-60069091b1f0",
    "labels": [],
    "maxConcurrentTasks": 1,
    "name": "Mnificonf",
    "outputPorts": [],
    "position": {
      "x": -904,
      "y": 16
    },
    "processGroups": [],
    "processors": [
      {
        "autoTerminatedRelationships": [],
        "backoffMechanism": "PENALIZE_FLOWFILE",
        "bulletinLevel": "WARN",
        "bundle": {
          "artifact": "nifi-standard-nar",
          "group": "org.apache.nifi",
          "version": "2.0.0"
        },
        "comments": "",
        "componentType": "PROCESSOR",
        "concurrentlySchedulableTaskCount": 1,
        "executionNode": "ALL",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "39db7913-b310-3485-95fe-6e6e33b1dda8",
        "instanceIdentifier": "1b72dcd3-0193-1000-4444-cbda1bf29306",
        "maxBackoffPeriod": "10 mins",
        "name": "GenerateFlowFile",
        "penaltyDuration": "30 sec",
        "position": {
          "x": -888,
          "y": 24
        },
        "properties": {
          "character-set": "UTF-8",
          "File Size": "1000B",
          "Batch Size": "1",
          "Unique FlowFiles": "false",
          "Data Format": "Text"
        },
        "propertyDescriptors": {
          "character-set": {
            "displayName": "Character Set",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "character-set",
            "sensitive": false
          },
          "File Size": {
            "displayName": "File Size",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "File Size",
            "sensitive": false
          },
          "mime-type": {
            "displayName": "Mime Type",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "mime-type",
            "sensitive": false
          },
          "generate-ff-custom-text": {
            "displayName": "Custom Text",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "generate-ff-custom-text",
            "sensitive": false
          },
          "Batch Size": {
            "displayName": "Batch Size",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Batch Size",
            "sensitive": false
          },
          "Unique FlowFiles": {
            "displayName": "Unique FlowFiles",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Unique FlowFiles",
            "sensitive": false
          },
          "Data Format": {
            "displayName": "Data Format",
            "dynamic": false,
            "identifiesControllerService": false,
            "name": "Data Format",
            "sensitive": false
          }
        },
        "retriedRelationships": [],
        "retryCount": 10,
        "runDurationMillis": 0,
        "scheduledState": "ENABLED",
        "schedulingPeriod": "5 sec",
        "schedulingStrategy": "TIMER_DRIVEN",
        "style": {

        },
        "type": "org.apache.nifi.processors.standard.GenerateFlowFile",
        "yieldDuration": "1 sec"
      }
    ],
    "remoteProcessGroups": [
      {
        "comments": "",
        "communicationsTimeout": "30 sec",
        "componentType": "REMOTE_PROCESS_GROUP",
        "groupIdentifier": "cad6891f-5564-3a61-8a99-bb7be344adc8",
        "identifier": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
        "inputPorts": [
          {
            "batchSize": {

            },
            "componentType": "REMOTE_INPUT_PORT",
            "concurrentlySchedulableTaskCount": 1,
            "groupIdentifier": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
            "identifier": "8dd0c880-1b12-3097-90a0-5f20d488f88a",
            "instanceIdentifier": "846c8039-231d-353b-b87e-aed9f7408030",
            "name": "fromMinifi",
            "remoteGroupId": "4d2e3379-5165-32b0-bf2a-cc36a354aa29",
            "scheduledState": "ENABLED",
            "targetId": "1e06d5ee-0193-1000-88b2-e6a57607a83c",
            "useCompression": false
          }
        ],
        "instanceIdentifier": "1b72a1a9-0193-1000-a217-fa7db75fc41a",
        "name": "NiFi Flow",
        "outputPorts": [],
        "position": {
          "x": -184,
          "y": 0
        },
        "proxyHost": "",
        "proxyUser": "",
        "targetUris": "http://10.233.150.213:8443/nifi",
        "transportProtocol": "RAW",
        "yieldDuration": "10 sec"
      }
    ],
    "scheduledState": "ENABLED",
    "statelessFlowTimeout": "1 min"
  },
  "flowEncodingVersion": "1.0",
  "parameterContexts": [],
  "parameterProviders": [],
  "snapshotMetadata": {
    "author": "anonymous",
    "comments": "",
    "timestamp": 1731375780091,
    "version": 1
  }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I hope someone can help me&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 02:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397343#M249821</guid>
      <dc:creator>ZNFY</dc:creator>
      <dc:date>2024-11-12T02:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Minifi startup fails with "Cannot invoke "org.apache.nifi.flow.VersionedProcessGroup.getIdentifier()" because "rootGroup" is null"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397371#M249828</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/120782"&gt;@ZNFY&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 09:50:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397371#M249828</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-11-12T09:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Minifi startup fails with "Cannot invoke "org.apache.nifi.flow.VersionedProcessGroup.getIdentifier()" because "rootGroup" is null"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397380#M249831</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/120782"&gt;@ZNFY&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since you are exporting a flow definition of a process group, you'll need to utilize the MiNiFi toolkit to transform it in to the proper format that can be loaded by MiNiFi.&amp;nbsp; &amp;nbsp;The MiNiFi-toolkit can be downloaded from here:&amp;nbsp;&lt;A href="https://nifi.apache.org/download/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://nifi.apache.org/download/&lt;/A&gt;&amp;nbsp;(select "MINIFI' and click download link for Toolkit).&amp;nbsp; &amp;nbsp;Execute:&lt;/P&gt;&lt;PRE&gt;./minifi-toolkit/bin/config.sh transform-nifi &amp;lt;exported flow definition&amp;gt; flow.json.raw​&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Now edit the flow.json.raw file and edit the following property at start of file (value can not be 0.)&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;"maxTimerDrivenThreadCount":5&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Now you can start your MiNiFi and it will create the flow.json.gz as it starts.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 14:17:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Minifi-startup-fails-with-quot-Cannot-invoke-quot-org-apache/m-p/397380#M249831</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-11-12T14:17:08Z</dc:date>
    </item>
  </channel>
</rss>

