-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
[BUG] Recurring job not invoked and dashboard not responding #761
Comments
Can you create a repo that reproduces this? |
Is this on windows? |
No, this happens on MacOS (latest) and whatever unix is on behind heroku (aws) |
Can you create a simple repo that reproduces this? |
I will try. First, I figured that things were working a few commits ago. Trying to debug the issue. |
@rdehuyss I have isolated the issue. It is with the Jackson. When I update to version I also use My object mapper configuration: builder
.serializationInclusion(JsonInclude.Include.NON_NULL)
.featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
.modules(JavaTimeModule(), kotlinModule()) |
Hmm, all my test with Jackson 2.15.0 pass (part of v6.2.0 branch). |
I just ran 100.000 jobs in less than a minute with Jackson 2.15. |
Ok, let me see what is wrong here on my side; it must be some specific combination/configuration I am using. Need to work now, but I will let you know asap when I find something (or if I create minimal reproducible project). My gestimate is that something is failing when json is deserialized from database, but, again, this is just a wild guess. |
The following line:
throws Still looking to resolve this; but could the Dashboard API return 500 for the exception? |
@rdehuyss I fixed the dashboard by providing the explicit dependency: <dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency> (that fixed the exception mentioned in the previous post). However, the job is still not picked up for the execution. |
It looks to me that you have Jackson multiple times on the class path. See FasterXML/jackson-core#948 where the exact same issue is discussed. As I can confirm that JobRunr works fine with latest Jackson version, I'm quite sure this is in your end and I don't want to put more of my limited free time in this I'll close this issue for now. Feel free to reopen if you can setup a reproducible repo. |
P.s.: I hope you understand but I spend too much time on the OSS version. Again, if you can provide me with a reproducible scenario, I don't mind to have a look. |
Sure, I do understand, no worries. I will try to debug it on my own; at least I am not blocked, and I have an idea where the issue might be. Thanx! |
Were you able to solve it? |
I just tried today :) There is a new version of SpingBoot, 3.1, so I have updated all dependencies, including the Jackson to 2.15.2 and I don't see any issues so far. I will examine it a bit more tomorrow, but so far, it looks ok |
JobRunr Version
6.1.4
JDK Version
17
Your SQL / NoSQL database
Postgres 15
What happened?
Recuring job has not started and is not listed.
Using SpringBoot 3.0.6 (latest), Kotlin 1.8.21 (latest).
I have one recurring job (that used to work). There is a record in the table
jobrunr_recurring_job
:This is the json:
application.yaml
:However, the job is not picking up - the JobRunr does not execute it.
When I go to the JobRunnr dashboard, I can see there is 1 recurring job, but when I click on that page, the JobRunr API never returns
How to reproduce?
Relevant log output
More info
The same happens to any job I add to JobRunr:
Now the "Jobs" page of the dashboard can not be retrieved. There is a relevant record in the table.
It looks like JobRunr didn't start somehow?
The text was updated successfully, but these errors were encountered: