[ https://issues.apache.org/jira/browse/MINIFI-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363163#comment-15363163 ]
ASF GitHub Bot commented on MINIFI-48: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/nifi-minifi/pull/26 > Null or Empty queue prioritizer in config yaml should result in default > prioritizer > ----------------------------------------------------------------------------------- > > Key: MINIFI-48 > URL: https://issues.apache.org/jira/browse/MINIFI-48 > Project: Apache NiFi MiNiFi > Issue Type: Bug > Reporter: Bryan Rosander > > Currently, null or empty values for Queue Prioritizer in the config yaml > cause the following stack trace: > org.apache.nifi.controller.FlowSynchronizationException: > java.lang.IllegalArgumentException: Unable to set prioritizer : > java.lang.ClassNotFoundException: > at > org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:317) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1287) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:72) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:629) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:479) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:79) > ~[na:na] > at > org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444) > ~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294) > ~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) > ~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) > ~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) > ~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at org.eclipse.jetty.server.Server.start(Server.java:387) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at org.eclipse.jetty.server.Server.doStart(Server.java:354) > ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529] > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) > ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529] > at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:662) > ~[nifi-jetty-0.6.0.jar:0.6.0] > at org.apache.nifi.minifi.MiNiFi.<init>(MiNiFi.java:138) > [minifi-runtime-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:233) > [minifi-runtime-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > Caused by: java.lang.IllegalArgumentException: Unable to set prioritizer : > java.lang.ClassNotFoundException: > at > org.apache.nifi.controller.StandardFlowSynchronizer.addProcessGroup(StandardFlowSynchronizer.java:1009) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > at > org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:271) > ~[nifi-framework-core-0.6.0.jar:0.6.0] > ... 27 common frames omitted > We should omit that part of the flow xml if it is not set so that the default > is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)