Strange error messages (including funny NPEs) can be observed by running a session with an empty (uninitialized) knowledge base. Kindly consider refusing to create sessions from a void KBase. Thanks Wolfgang