JSON too large, does not render?!



  • Hello, I'm trying to render a report, where the JSON has 400,000 lines, around 15MB, but when I try to run it, it doesn't render, I cut some lines and it generates, so I've already ruled out the possibility of it being another error other than having too much data, and yes, I'm running it on the local server, I've already defined a long time to generate with the properties ".setCallTimeout(Duration.ofSeconds(120000))
    .setConnectTimeout(Duration.ofSeconds(120000))
    .setWriteTimeout(Duration.ofSeconds(120000))
    .setReadTimeout(Duration.ofSeconds(120000)); "

    and it still doesn't render, in Java it gives a "NullPointerException" error

    Has anyone had something similar, what was the solution?



  • Hi,

    please try to isolate the problem. The 15MB JSON shouldn't be the problem so we need to find out where the things hang.

    Could you share the jsreport output logs?
    Could you try to render the report with a client tool like postman or curl so we avoid client issues?


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.