-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Getting nullPointerException randomly #199
Comments
I am afraid this one will be difficult to find. The problem's root seems to be here (ASTProperty.java:92). It does this call
property becomes null and that causes the NPE afterwards. That variable will hold the property name, not is value. The name in this case is "prevWorkflowExecQueSid". I cannot see any call in that logic that is calling back MyBatis so I am afraid the bug must be in OGNL. I am afraid you will need to debug it and get detailed information. Also I would open a ticket in Apache's OGNL. Those guys know OGNL internals and may know where to look at. |
Thanks emacarron, Please let me know if you need me to do any detailed testing, however this bug is not repeatable (it has happened only once so far among 100s of execution every day) Also, would appreciate if you could give me the link to the ticket you will open for OGNL. Thanks again, |
Hi again Arun, This bug is probably the same than #224 and will be fixed in 3.3.0. Thanks for the report! |
Hello,
We are using mybatis-3.1.0. Recently we got one strange error (only once so far) from mybatis code while executing a query that gets executed successfully many times during the day.
Below is the stacktrace:
Below is the query that we are executing (from the stacktrace it appears that error is happening during - "workflowExecQue.prevWorkflowExecQueSid != null" check).
The data object that we pass has following structure
Any help to find root cause of above error will be greatly appreciated.
The text was updated successfully, but these errors were encountered: