|
I would consider trying this:
if ((req.getParamValue[0].length() != 0) &&
(b.equals("yes") == true)))
It would seem that b is generating a
NullPointerException for params not checked. Checking first to see that
the param has a value (by checking the length of the first--and probably
only--value) might do the trick. Using the shortcircuited && will
allow the code to fall through if null, and not generate the
NPException.
Hope this helps.
|
- Null pointer Exception pasumarthi venkat
- null pointer exception Kerem ÖKTEM
- Re: null pointer exception Suvinay Sinha
- Re: null pointer exception Jiger Patel
- Null pointer exception Brad Whiting
- Re: Null pointer exception Steven Lewis
- Re: Null pointer exception Michael Brubaker
- Re: Null pointer exception Pierre-Yves Saumont
- Re: Null pointer exception Alok Dubey
- Null pointer exception Eunum Listener
- Null pointer exception Eunum Listener
- Re: Null pointer exception RUTHERFURD, Michael
