Jump to content
Changes to the Jaspersoft community edition download ×

Exceptions: java.lang.NullPointerException in scheduler


Recommended Posts

Hi All,

I have scheduled over 150 report in jasper server and reports fetching data from mongodb. Scheduler runs every day and required to run within 2 hours,i am collecting over 40 millions records every day in mongodb and report fetching data from mongodb.

I am getting NullPointerException at the time of scheduler runs, every day 5-7 reports fails and not getting any error messages for this report. In Messages i am getting only one error null pointer exception having job id but not able to findout job details like for which report error occurs.

When i am runs failed report manually it runs perfectly.

Is any job details log file in jasper server to find more deatils about jobs.

How to track errors  in jasper server if any scheduler fails or job fails?

Application Details :

Jasper server Version : 6.3

Mongodb version : 3.2



Quartz Job: ReportJobs.job_91857 Quartz Trigger: ReportJobs.trigger_91855_1 Error Message: The job was not completed. A system error occurred while running it. Exceptions: java.lang.NullPointerException at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:467) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:243) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...