On Tue, 17 Jan 2017 21:01:58 GMT, Rene Zwanenburg wrote:

On Tue, 17 Jan 2017 04:51:45 GMT, Alexey Kulentsov wrote:

As I understand, any null pointer access inside of library is a bug, isn't it?

I'm not sure about that.

As for a solution to your problem, have you created a session store?

Thank you, I solved this problem, but it is not what I wrote about. Even if I can't call the method at this moment, I expect to see some readable exception like "Session is not started, you can't call isKeySet()", not things like the null pointer exception and segmentation fault.