-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Randomly occuring NPE when logging #822
Comments
@nadrian4 Can you tell when this issue occurs? Is it during or after reconfiguration? Do you have an idea on the approximate number of threads in your application?
|
@nadrian4 I have tried to reproduce this issue but without success. Does the issue occur if you do not use Which OS is this? What type of CPU? |
Hi @ceki it occurs in non-deterministic conditions even if the reconfiguration is not done at all (e.g. at night when nobody works with these files). The number of threads is aobut 150-200 platform threads. I have a lot of applications (7000) working with logback and this exception occurs once a week or two. It's really tough to find something that these cases have in common. We worked around this issue by handling the exception, but would be great to find solution. We didn't try without LogstashUdpSocketAppender, hard to say if it would help. Unfortunately the problem occurs really rarely and we can't switch off Logstash appender, as some part of our system relies on it. |
Hi, I'm working with Java 17, SLF4j 2.0.12 and logback 1.5.2 and from time to time I randomly get following error when I try to log something:
The configuration file is as below:
What could be the cause?
The text was updated successfully, but these errors were encountered: