Kevin -

Glad to hear there is a root cause for this.   Am I correct in assuming that I won't be able to just rename the offending input port to get this current change pushed out?  Basically the "bad thing" is already embedded in the change history of the flow?

Russ Weiher
BI CI Solutions Architect
Progenity, Inc.
-----Original Message-----
From: Kevin Doran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2019 4:41 PM
To: [EMAIL PROTECTED]; Russ Weiher <[EMAIL PROTECTED]>
Subject: RE: Java exception when attempting to update version from registry

Russ,

The diff was perfect. It showed the problem was two input ports with the same name but different IDs, which I was able to reproduce. Your stack trace and flow diff helped us uncover a bug in our update flow logic -- thanks!

I verified it still affects the latest version of NiFi and I opened a Jira issue [1] that captures this. Feel free to sign up to ASF Jira to "watch" that issue if you want to see when this gets patched. In the meantime, you can avoid this by avoiding deleting/adding input ports with the same name (during a single version change) within a versioned process group. It's a pretty rare case that should not come up often, so I don't think this should impact your workflow for moving flows from dev to higher envs in general. If you do run into other failures in your workflow, please let us know.

[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNIFI-5950&data=01%7C01%7CRuss.Weiher%40progenity.com%7Cb1c40b5ddbbb45dd4ec208d677445b2a%7C0666349c4979449297792a34e68103b3%7C0&sdata=kN4WhTPPOGlO%2FlogPv5BB7716DnzEPyrfkMjSeedQ2E%3D&reserved=0

Thanks!
Kevin

On January 10, 2019 at 15:45:43, Russ Weiher ([EMAIL PROTECTED]) wrote:

IMPORTANT: This email (and any attachments) is intended for the use of only the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.