-
Notifications
You must be signed in to change notification settings - Fork 436
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
Exception in Application start method (Invalid date 'February 29' as '2019' is not a leap year) #1816
Comments
I have the same issue, i tried playing at 1am this morning. Instant crash, i read the log file and it didn't click that it was telling me it thinks it's currently a day that doesn't exist. I spent way more time than i'd like to admit trying to figure out the problem even though it told me what it was. I feel like an issue that only occurs one day every four years is probably not high priority. |
This is the funniest bug I have seen in my life OMG! |
Good job getting to youtube, really made me chuckle the moment I saw the game's name |
do you have the link to the video? |
|
I was really weirded out by your comment, until you passed the link and I saw the youtube video. Now I find it funny xD |
That line is not the problem. The problem is in the line: The hard coded 2019 in combination with the LocalDateTime.now().getDayOfMonth() gives in invalid date on a leap year. P.S. the above conversation about the "youtu .be"-link is a scam |
Here's the permalink from when the comment was written. liliths-throne-public/src/com/lilithsthrone/game/Game.java Lines 418 to 420 in ed687f3
|
"youtu.be" isn't a scam link it's the shortened url when sharing a video "me at the zoo" url from top of the screen |
Describe the bug
The game is confusing the current date February 29, 2024 to February 29, 2019 causing an error that prevents the application from running.
Caused by: java.time.DateTimeException: Invalid date 'February 29' as '2019' is not a leap year
Bypass
This error is corrected by changing the current date of the computer... as it works correctly on February 28, 2024 and March 1, 2024...
Expected behavior
Execution of the game executable
To Reproduce
Please include the steps that need to be taken in order to reproduce the bug.
e.g.:
Attach files
Please either attach a copy of your error.log (in the LilithsThrone/data directory), or copy & paste the contents to the end of this bug report.
error.log
The text was updated successfully, but these errors were encountered: