After some change (?) now I have two versions of a b4j web socket server.
With the second one, the client (b4a) connects and the server saves client data on a db; the web socket connection seems to be still open but if I try to access to its session (ws.session.SetAttribute) I get an error, which means, I think, that the session object is null:
java.lang.NullPointerException
at anywheresoftware.b4j.object.WebSocket.getSession(WebSocket.java:344)
Can a ws be active without a session? What may have happened?
Thank you
With the second one, the client (b4a) connects and the server saves client data on a db; the web socket connection seems to be still open but if I try to access to its session (ws.session.SetAttribute) I get an error, which means, I think, that the session object is null:
java.lang.NullPointerException
at anywheresoftware.b4j.object.WebSocket.getSession(WebSocket.java:344)
Can a ws be active without a session? What may have happened?
Thank you