org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.

nabble.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Apache NiFi Developer List - Nifi failing to load - Unable to start flow controller?

    nabble.com | 6 months ago
    org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unable to deserialize record because the version is 0 and supported versions are 1-8

      at org.apache.nifi.provenance.StandardRecordReader.<init>()
    2. org.apache.nifi
      FlowControllerFactoryBean.getObject
      1. org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:96)[na:na]
      2. org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:58)[na:na]
      3. org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:108)[na:na]
      4. org.apache.nifi.provenance.PersistentProvenanceRepository.mergeJournals(PersistentProvenanceRepository.java:1529)[na:na]
      5. org.apache.nifi.provenance.PersistentProvenanceRepository.recoverJournalFiles(PersistentProvenanceRepository.java:1389)[na:na]
      6. org.apache.nifi.provenance.PersistentProvenanceRepository.recover(PersistentProvenanceRepository.java:578)[na:na]
      7. org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(PersistentProvenanceRepository.java:219)[na:na]
      8. org.apache.nifi.controller.FlowController.<init>(FlowController.java:427)[nifi-framework-core-0.6.0.jar:0.6.0]
      9. org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:366)[nifi-framework-core-0.6.0.jar:0.6.0]
      10. org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:66)[nifi-framework-core-0.6.0.jar:0.6.0]
      10 frames
    3. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      5 frames
    4. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      1 frame
    5. org.apache.nifi
      StandardFlowServiceFactoryBean.getObject
      1. org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlowServiceFactoryBean.java:53)[nifi-framework-core-0.6.0.jar:0.6.0]
      1 frame
    6. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      5 frames
    7. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060)[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      1 frame
    8. org.apache.nifi
      ApplicationStartupContextListener.contextInitialized
      1. org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:64)[na:na]
      1 frame
    9. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
      6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
      7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      10. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      11. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      12. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      13. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      14. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      15. org.eclipse.jetty.server.Server.start(Server.java:387)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      16. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      17. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      18. org.eclipse.jetty.server.Server.doStart(Server.java:354)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      19. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      19 frames
    10. org.apache.nifi
      NiFi.main
      1. org.apache.nifi.web.server.JettyServer.start(JettyServer.java:662)[nifi-jetty-0.6.0.jar:0.6.0]
      2. org.apache.nifi.NiFi.<init>(NiFi.java:137)[nifi-runtime-0.6.0.jar:0.6.0]
      3. org.apache.nifi.NiFi.main(NiFi.java:227)[nifi-runtime-0.6.0.jar:0.6.0]
      3 frames