There are 2 comments.
 
 
OpenId Connect / cid:jira-generated-image-avatar-c084f0ec-780d-4dbb-a3f4-8f8d693b42bb OIDC-256 Open

Authenticator Callback - Cannot invoke "javax.servlet.http.HttpSession.getId()" because "httpSession" is null

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-07ab65be-4acb-4a68-9aea-5521db4c7798 Thomas Mortagne on 26/Aug/25 16:47
 

Tested with xWiki 7.44 and 7.6.0.

Did you mean 17.4.4 and 17.6.0 ?

Cannot invoke "javax.servlet.http.HttpSession.getId()" because "httpSession" is null"

It's a very strange error. It does not really make any sense for the current HTTP session to be null, it's like the HTTP request was not properly initialized for some reason, but that's not something handling by the OIDC extension.

You can reproduce that all the time, or it's a bit random ? The fact that a refresh is enough to "fix" it suggests it's random since there should not really be any difference from server point of view between the first request and the refresh.

 
cid:jira-generated-image-avatar-07ab65be-4acb-4a68-9aea-5521db4c7798 Thomas Mortagne on 26/Aug/25 16:47
 
bq. Tested with xWiki 7.44 and 7.6.0.

Did you mean 17.4.4 and 17.6.0 ?

bq. Cannot invoke "javax.servlet.http.HttpSession.getId()" because "httpSession" is null"

It's a very strange error. It does not really make any sense for the current HTTP session to be null, it's like the HTTP request was not properly initialized for some reason, but that's not something
handling handled by the OIDC extension.

You can reproduce that all the time, or it's a bit random ? The fact that a refresh is enough to "fix" it suggests it's random since there should not really be any difference from server point of view between the first request and the refresh.