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

🐞 BugFix/#108 - Job NullPointException ν•΄κ²° #111

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ public void run(String... args) throws Exception {
return;
}
for (ScheduledEventJob job : pendingJobs) {
if (job == null) {
log.warn("쑰회된 Job 쀑 null 객체가 μ‘΄μž¬ν•©λ‹ˆλ‹€.");
continue;
}
if (job.getScheduledTime() == null) {
log.warn("Job의 scheduledTime 값이 nullμž…λ‹ˆλ‹€. eventId: {}", job.getEventId());
continue;
}
if (job.getScheduledTime().isAfter(now)) {
log.info("미래 μž‘μ—… μŠ€μΌ€μ€„λŸ¬μ— μž¬λ“±λ‘. eventId: {}", job.getEventId());
scheduleJob(job);
Expand Down
Loading