NPE in QueryParser.grumble()
Replies (2)
Please register to reply
Added by Anonymous over 19 years ago
Legacy ID: #3066910 Legacy Poster: Eric P. Wittmann (paalin)
I found an NPE bug in QueryParser. To reproduce I think all you need to do is try to evaluate the following expression: true(true) This is invalid but the errorCode passed to grumble is null, so "errorCode.equals("XP0003")" will throw an NPE. I changed this to: "XP0003".equals(errorCode) and now it works fine. :)
Legacy ID: #3067169 Legacy Poster: Michael Kay (mhkay)
Yes, this is a known error, see https://sourceforge.net/tracker/index.php?func=detail&aid=1121896&group_id=29872&atid=397617 Michael Kay
Legacy ID: #3076729 Legacy Poster: Eric P. Wittmann (paalin)
Ok - I'll check the bug list next time. :)
Please register to reply