Project

Profile

Help

NPE in QueryParser.grumble()

Added by Anonymous about 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. :)


Replies (2)

RE: NPE in QueryParser.grumble() - Added by Anonymous about 19 years ago

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

RE: NPE in QueryParser.grumble() - Added by Anonymous about 19 years ago

Legacy ID: #3076729 Legacy Poster: Eric P. Wittmann (paalin)

Ok - I'll check the bug list next time. :)

    (1-2/2)

    Please register to reply