Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullpointerException in GenericQuartzJob #156

Closed
stanmine opened this issue Oct 10, 2017 · 2 comments · Fixed by #163
Closed

NullpointerException in GenericQuartzJob #156

stanmine opened this issue Oct 10, 2017 · 2 comments · Fixed by #163
Labels
Milestone

Comments

@stanmine
Copy link
Contributor

When uploading a bundle, a nullpointer exception occurres in the GenericQuartzJob class.

Stacktrace:

[ALFRESCO] 2017-10-10 12:06:45,002  ERROR [quartz.core.JobRunShell] [DefaultScheduler_Worker-8] Job Monitoring.ClusteringMetric threw an unhandled Exception:
 java.lang.NullPointerException
        at com.github.dynamicextensionsalfresco.quartz.GenericQuartzJob.execute(GenericQuartzJob.java:16)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
[ALFRESCO] 2017-10-10 12:06:45,002  ERROR [quartz.core.ErrorLogger] [DefaultScheduler_Worker-8] Job (Monitoring.ClusteringMetric threw an exception.
 org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: java.lang.NullPointerException
        at com.github.dynamicextensionsalfresco.quartz.GenericQuartzJob.execute(GenericQuartzJob.java:16)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        ... 1 more
@stanmine stanmine added the bug label Oct 10, 2017
@yregaieg
Copy link
Contributor

Could it be a Care4Alf bug ?

@tgeens
Copy link
Contributor

tgeens commented Oct 10, 2017

Looks like a null-pointer in new (?) code from PR #145 "Add lock support to scheduled jobs"

@stanmine Just revert that merge

rschev added a commit that referenced this issue Nov 27, 2017
@stanmine stanmine added this to the 1.7.2 milestone Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants