Greg Charles wrote:It might be a different version from the one you're using, because it doesn't seem possible to NPE at line 114, but it would at line 111 because you haven't setHttpClient() to anything.
Very bad piece of programming for a library class then; I'm surprised that Apache let something like that out the door.
To my mind, professional software should
never produce undocumented NPEs...or at least not without a darn good message to go with it.
Winston