Thanks for reporting the problem, the issue is similar to what was just fixed for controller services at controller level. I've filed a JIRA and I'll file a pull request in a minute.
https://issues.apache.org/jira/browse/NIFI-15345 Thanks, Pierre Le mar. 16 déc. 2025 à 11:16, [email protected] <[email protected]> a écrit : > > -1 (non-binding) > > It seems as if the ReportingTasks were not stopped before they were > modified. > Perhaps there is still an issue with NIFI-15299? Maybe a new issue? > > But the problem with Key Password Property Migration seems to have been > solved with NIFI-15340 (as far as I can see). > > 2025-12-16 10:51:55,084 WARN [main] o.e.jetty.ee11.webapp.WebAppContext > Failed startup of context > oeje11w.WebAppContext@1bf52f10{nifi-api,/nifi-api,b=file:///opt/nifi/nifi-2.7.2/work/jetty/nifi-web-api-2.7.2.war/webapp/,a=AVAILABLE,h=oeje11s.SessionHandler@33a7331{STARTED}}{./work/nar/extensions/nifi-server-nar-2.7.2.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-api-2.7.2.war} > org.apache.nifi.controller.serialization.FlowSynchronizationException: > java.lang.IllegalStateException: Cannot modify > ReportingTask[id=b36e6164-018b-1000-99d3-d4de2328adb9, > name=SiteToSiteBulletinReportingTask] while the Reporting Task is running > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.synchronizeFlow(VersionedFlowSynchronizer.java:473) > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.sync(VersionedFlowSynchronizer.java:221) > at > org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1817) > at > org.apache.nifi.persistence.StandardFlowConfigurationDAO.load(StandardFlowConfigurationDAO.java:91) > at > org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:762) > at > org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:483) > at > org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:67) > at > org.eclipse.jetty.ee11.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:1609) > at > org.eclipse.jetty.ee11.servlet.ServletContextHandler.contextInitialized(ServletContextHandler.java:498) > at > org.eclipse.jetty.ee11.servlet.ServletHandler.initialize(ServletHandler.java:676) > at > org.eclipse.jetty.ee11.servlet.ServletContextHandler.startContext(ServletContextHandler.java:1343) > at > org.eclipse.jetty.ee11.webapp.WebAppContext.startWebapp(WebAppContext.java:1315) > at > org.eclipse.jetty.ee11.webapp.WebAppContext.startContext(WebAppContext.java:1273) > at > org.eclipse.jetty.ee11.servlet.ServletContextHandler.lambda$doStart$0(ServletContextHandler.java:1062) > at > org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1636) > at > org.eclipse.jetty.ee11.servlet.ServletContextHandler.doStart(ServletContextHandler.java:1059) > at > org.eclipse.jetty.ee11.webapp.WebAppContext.doStart(WebAppContext.java:499) > > ... > > Caused by: java.lang.IllegalStateException: Cannot modify > ReportingTask[id=b36e6164-018b-1000-99d3-d4de2328adb9, > name=SiteToSiteBulletinReportingTask] while the Reporting Task is running > at > org.apache.nifi.controller.reporting.AbstractReportingTaskNode.verifyModifiable(AbstractReportingTaskNode.java:214) > at > org.apache.nifi.controller.AbstractComponentNode.verifyCanUpdateProperties(AbstractComponentNode.java:384) > at > org.apache.nifi.controller.AbstractComponentNode.setProperties(AbstractComponentNode.java:281) > at > org.apache.nifi.controller.AbstractComponentNode.overwriteProperties(AbstractComponentNode.java:261) > at > org.apache.nifi.controller.reporting.AbstractReportingTaskNode.migrateConfiguration(AbstractReportingTaskNode.java:456) > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.addReportingTask(VersionedFlowSynchronizer.java:630) > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.inheritReportingTasks(VersionedFlowSynchronizer.java:605) > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.synchronizeFlow(VersionedFlowSynchronizer.java:419) > ... 40 common frames omitted > 2025-12-16 10:51:55,088 INFO [main] > o.e.j.ee11.servlet.ServletContextHandler Stopped > oeje11w.WebAppContext@d65e744{/nifi-standard-content-viewer-2.7.2,/nifi-standard-content-viewer-2.7.2,b=null,a=AVAILABLE,h=oeje11s.SessionHandler@2553dcc0{STOPPED}}{./work/nar/extensions/nifi-standard-content-viewer-nar-2.7.2.nar-unpacked/NAR-INF/bundled-dependencies/nifi-standard-content-viewer-2.7.2.war} > 2025-12-16 10:51:55,090 INFO [main] > o.e.j.ee11.servlet.ServletContextHandler Stopped > oeje11w.WebAppContext@2d8087da{/nifi-jolt-transform-json-ui-2.7.2,/nifi-jolt-transform-json-ui-2.7.2,b=null,a=AVAILABLE,h=oeje11s.SessionHandler@2f39b534{STOPPED}}{./work/nar/extensions/nifi-jolt-nar-2.7.2.nar-unpacked/NAR-INF/bundled-dependencies/nifi-jolt-transform-json-ui-2.7.2.war} > 2025-12-16 10:51:55,092 INFO [main] > o.e.j.ee11.servlet.ServletContextHandler Stopped > oeje11w.WebAppContext@64eeddd8{/nifi-update-attribute-ui-2.7.2,/nifi-update-attribute-ui-2.7.2,b=null,a=AVAILABLE,h=oeje11s.SessionHandler@23933031{STOPPED}}{./work/nar/extensions/nifi-update-attribute-nar-2.7.2.nar-unpacked/NAR-INF/bundled-dependencies/nifi-update-attribute-ui-2.7.2.war} > > ->>> NiFi down > > 2025-12-16 10:51:55,095 ERROR [main] > org.apache.nifi.web.server.JettyServer Failed to start Server > org.apache.nifi.controller.serialization.FlowSynchronizationException: > java.lang.IllegalStateException: Cannot modify > ReportingTask[id=b36e6164-018b-1000-99d3-d4de2328adb9, > name=SiteToSiteBulletinReportingTask] while the Reporting Task is running > at > org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.synchronizeFlow(VersionedFlowSynchronizer.java:473) > > > -Kay-Uwe > > Am 15.12.25 um 21:33 schrieb David Handermann: > > Team, > > > > I am pleased to be calling this vote for the source release of Apache > > NiFi 2.7.2. > > > > Please review the following guide for how to verify a release candidate > > build: > > > > https://cwiki.apache.org/confluence/display/NIFI/Release+Candidate+Verification > > > > The source being voted on the and the convenience binaries are > > available on the Apache Distribution Repository: > > > > https://dist.apache.org/repos/dist/dev/nifi/nifi-2.7.2 > > > > The build artifacts are available on the Apache Nexus Repository: > > > > https://repository.apache.org/content/repositories/orgapachenifi-1327/ > > > > Git Tag: nifi-2.7.2-RC1 > > Git Commit ID: c5f217faa372bf476def0289e85f8a92b0635f4e > > GitHub Commit Link: > > https://github.com/apache/nifi/commit/c5f217faa372bf476def0289e85f8a92b0635f4e > > > > Checksums of nifi-2.7.2-source-release.zip > > > > SHA512: > > a5dff8aead62bb0f035cd19d3b258fa4e76e66b60165c9514aa981e6b3e18eb4dacdd02ef7c3d3608769228df733d93a855c7938bd9a7837d6ddfa14a22c8e08 > > > > Release artifacts are signed with the following key: > > > > https://people.apache.org/keys/committer/exceptionfactory.asc > > > > KEYS file is available on the Apache Distribution Repository: > > > > https://dist.apache.org/repos/dist/release/nifi/KEYS > > > > Issues resolved for this version: 7 > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12356562 > > > > Release note highlights can be found on the project wiki: > > > > https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.7.2 > > > > In light of the limited nature of this release candidate, the vote > > will be open for 24 hours. > > > > Please download the release candidate and evaluate the necessary items > > including checking hashes, signatures, build from source, and test. > > Then please vote: > > > > [] +1 Release this package as nifi-2.7.2 > > [] +0 no opinion > > [] -1 Do not release this package because...
