Support Questions
Find answers, ask questions, and share your expertise

Why am I getting a FlowFileAccessException from AttributesToJSON?

New Contributor

I've had some flow files get stuck in a queue because they were failing to go through an AttributesToJSON process. The process was giving a "FlowFileAccessException: failed to read content of StandardFlowFileRecord". I read here that this exception is wrapping an IOException thrown from the content repository: Further reading lead me to believe that my machine had too low of a limit for number of concurrently open files allowed. So I increased hard and soft limits to 50000 as suggested here: I logged off and on, and even restarted nifi to be sure nifi was using the new limit for concurrently open file handlers. Still, the AttributesToJSON process gives the same exception. The attributes in the FlowFiles I am converting to JSON are not very large either. Is there something else that I can try?