Skip to content

Invalid value for NanoOfSecond between 12am and 1am #3475

@mkubele

Description

@mkubele

DateTimeException is thrown when select operation with entity that contains java.time.LocalTime is performed between 12am and 1am (00:00-01:00)
error message:

Invalid value for NanoOfSecond (valid values 0 - 999999999): -329000000
java.time.DateTimeException: Invalid value for NanoOfSecond (valid values 0 - 999999999): -329000000

note that the value is random.

demo project is available HERE
Steps to reproduce:

  • Set time on your machine between 00:00-01:00
  • Either run:
    • test unit test
    • docker-compose up -d and start the application

Metadata

Metadata

Assignees

Labels

for: external-projectFor an external project and not something we can fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions