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

NPE in AbstractSpringJsonRpcController.doPost #15

Open
dnault opened this issue Aug 19, 2021 · 0 comments
Open

NPE in AbstractSpringJsonRpcController.doPost #15

dnault opened this issue Aug 19, 2021 · 0 comments
Labels
Milestone

Comments

@dnault
Copy link
Owner

dnault commented Aug 19, 2021

For some reason, handler was null when doPost was invoked. What's going on? Does it need to be volatile?

java.lang.NullPointerException: null
	at com.github.therapi.jsonrpc.web.AbstractSpringJsonRpcController.doPost(AbstractSpringJsonRpcController.java:71) ~[therapi-json-rpc-0.4.0.jar!/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_302]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_302]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_302]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_302]
    ...
@dnault dnault added this to the 0.6.0 milestone Aug 19, 2021
@dnault dnault changed the title AbstractSpringJsonRpcController.handler should be volatile NPE in AbstractSpringJsonRpcController.doPost Aug 19, 2021
@dnault dnault added the bug label Nov 8, 2021
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

1 participant