nullpointer exception when token mismatch
When testing lowlevelinterface i can login repeatedly (for example, once from ap, once from console), apparently both tokens are valid simultaneously, but when using set or add methods a java nullpointer exception is raised. I know I should not allow my app to try to log in again while the user is valid, but it may be nice to catch this error properly (would have saved me a lot of time)
Actually, I don't seem to be able to log out:
{"request":{"interface":"AuthInterface","method":"logout","parameters":{}},"token":"6d282acb99a151472429a5e3cdcb1333df2adc5bd0365cfc97a4b3bc4d64b9e304b435c7b412f53cf15429d7af32d503"}
{"response":{"result":{}}}
Then
{"request":{"interface":"AuthInterface","method":"isLoggedIn","parameters":{}},"token":"6d282acb99a151472429a5e3cdcb1333df2adc5bd0365cfc97a4b3bc4d64b9e304b435c7b412f53cf15429d7af32d503"}
{"response":{"result":true}}
What am I doing wrong?
Any subsequent call works normally
Hi for the second issue I have created a new issue: https://github.com/opensourceBIM/BIMserver/issues/884
The initial problem needs a bit more info, at least a stacktrace.