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

Error occurred when handling request! | error = java.lang.NullPointerException #178

Open
vuminhngoc opened this issue Oct 13, 2018 · 2 comments

Comments

@vuminhngoc
Copy link

When running webservice with rapidoid about 2 days, this errors appear:
Error occurred when handling request! | error = java.lang.NullPointerException
java.lang.NullPointerException
2018-10-13 09:15:24
org.rapidoid.log.Log[383] -
Caller+0 at org.rapidoid.log.Log.log(Log.java:383)
Caller+1 at org.rapidoid.log.Log.log(Log.java:491)
Caller+2 at org.rapidoid.http.impl.lowlevel.LowLevelHttpIO.logError(LowLevelHttpIO.java:218)
Caller+3 at org.rapidoid.http.impl.lowlevel.LowLevelHttpIO.error(LowLevelHttpIO.java:188)
Caller+4 at org.rapidoid.http.impl.lowlevel.HttpIO.error(HttpIO.java:62)
Caller+5 at org.rapidoid.http.handler.HttpManagedHandlerDecorator.handleError(HttpManagedHandlerDecorator.java:192)
Caller+6 at org.rapidoid.http.handler.HttpManagedHandlerDecorator.complete(HttpManagedHandlerDecorator.java:205)
Caller+7 at org.rapidoid.http.handler.HttpManagedHandlerDecorator.handleWithWrappers(HttpManagedHandlerDecorator.java:109)

Can i disable logs of rapidroid?

@nmihajlovski
Copy link
Contributor

Hi, without a proper way to reproduce this problem, I can't know what happens, and if there is a bug in Rapidoid or your application caused this.

You could set the logging level to LogLevel.NO_LOGS, but I don't recommend ignoring the problem.

@vuminhngoc
Copy link
Author

I seted disable log but not work.
Log.setLogLevel(LogLevel.NO_LOGS);

I can't log any requests cause this error, I wasn't use logging when handle requests. And fisrt caller (HttpManagedHandlerDecorator.java:109) not from my app, so i can't trace back error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants