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

The Search Messages functionality generates very often the error message for illegal format #649

Closed
dj-mister opened this issue Jun 9, 2024 · 3 comments
Labels

Comments

@dj-mister
Copy link

dj-mister commented Jun 9, 2024

Hi all,

Below is the stack snapshot:

A 500 error has occurred: Request processing failed: java.util.IllegalFormatConversionException: d != java.util.Date
Stack trace
java.util.IllegalFormatConversionException: d != java.util.Date at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4442) at java.base/java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2963) at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:2918) at java.base/java.util.Formatter.format(Formatter.java:2689) at java.base/java.util.Formatter.format(Formatter.java:2625) at java.base/java.lang.String.format(String.java:4145) at kafdrop.service.KafkaMonitorImpl.searchMessages(KafkaMonitorImpl.java:282) at kafdrop.controller.MessageController.searchMessageForm(MessageController.java:247) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at

One of the possible reason, the search pattern contains exactly date numbers without timezone postfix, but the real date in message has the next format:
"@timestamp":"2024-06-08T07:54:26.627Z"

Regards,
Yuri

@Savageman
Copy link

It is fixed already: #601
However the latest tag is from November 2nd 2023 (7 months ago). We need a new release to benefit from the improvements!

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 15, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants