You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by JPercivall <gi...@git.apache.org> on 2016/11/15 15:27:01 UTC

[GitHub] nifi issue #1223: NIFI-3036: When we replay a FlowFile, ensure that we are u...

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/1223
  
    Hey @markap14, I just tested it and I'm seeing a slightly different error (stacktrace below). It came about by following the same steps (generateFF -> replay event(s) -> let it sit a bit -> attempt to start generateFF). This time though it spews the error only a few times (3) and then properly creates FlowFiles. Let me know if there is any other information you need.
    
    
    2016-11-15 10:16:50,533 WARN [Timer-Driven Process Thread-3] o.a.n.p.standard.GenerateFlowFile GenerateFlowFile[id=63c8709d-0158-1000-0fce-cb9fc498694f] Processor Administratively Yielded for 1 sec due to processing failure
    2016-11-15 10:16:50,533 WARN [Timer-Driven Process Thread-3] o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding GenerateFlowFile[id=63c8709d-0158-1000-0fce-cb9fc498694f] due to uncaught Exception: java.lang.NullPointerException
    2016-11-15 10:16:50,534 WARN [Timer-Driven Process Thread-3] o.a.n.c.t.ContinuallyRunProcessorTask
    java.lang.NullPointerException: null
            at org.apache.nifi.controller.repository.FileSystemRepository$2.write(FileSystemRepository.java:907) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.repository.io.DisableOnCloseOutputStream.write(DisableOnCloseOutputStream.java:49) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.repository.io.ByteCountingOutputStream.write(ByteCountingOutputStream.java:46) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.repository.io.ByteCountingOutputStream.write(ByteCountingOutputStream.java:41) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.repository.io.FlowFileAccessOutputStream.write(FlowFileAccessOutputStream.java:78) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.processors.standard.GenerateFlowFile$1.process(GenerateFlowFile.java:192) ~[na:na]
            at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2321) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.processors.standard.GenerateFlowFile.onTrigger(GenerateFlowFile.java:189) ~[na:na]
            at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) ~[nifi-api-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1089) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_74]
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_74]
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_74]
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_74]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_74]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_74]
            at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]
            Suppressed: java.lang.NullPointerException: null
                    at org.apache.nifi.controller.repository.FileSystemRepository$2.flush(FileSystemRepository.java:923) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.io.DisableOnCloseOutputStream.close(DisableOnCloseOutputStream.java:68) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.io.ByteCountingOutputStream.close(ByteCountingOutputStream.java:61) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2322) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    ... 13 common frames omitted
            Suppressed: java.lang.NullPointerException: null
                    at org.apache.nifi.controller.repository.FileSystemRepository$2.flush(FileSystemRepository.java:923) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.io.DisableOnCloseOutputStream.close(DisableOnCloseOutputStream.java:68) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2322) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    ... 13 common frames omitted
            Suppressed: java.lang.NullPointerException: null
                    at org.apache.nifi.controller.repository.FileSystemRepository$2.close(FileSystemRepository.java:962) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2322) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
                    ... 13 common frames omitted


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---