You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/08/24 16:18:00 UTC

[jira] [Created] (ISIS-3174) [Regression] NPE on Wicket Session Recovery

Andi Huber created ISIS-3174:
--------------------------------

             Summary: [Regression] NPE on Wicket Session Recovery
                 Key: ISIS-3174
                 URL: https://issues.apache.org/jira/browse/ISIS-3174
             Project: Isis
          Issue Type: Bug
          Components: Isis Viewer Wicket
            Reporter: Andi Huber
             Fix For: 2.0.0-M8


Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.isis.applib.services.iactnlayer.InteractionContext.getUser()" because the return value of "org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.getAuthentication()" is null
	at org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.getRoles(AuthenticatedWebSessionForIsis.java:221) ~[classes/:?]
	at org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.hasAnyRole(AuthenticatedWebApplication.java:58) ~[wicket-auth-roles-9.11.0.jar:9.11.0]
	at org.apache.wicket.authroles.authorization.strategies.role.AbstractRoleAuthorizationStrategy.hasAny(AbstractRoleAuthorizationStrategy.java:60) ~[wicket-auth-roles-9.11.0.jar:9.11.0]
	at org.apache.wicket.authroles.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy.check(AnnotationsRoleAuthorizationStrategy.java:111) ~[wicket-auth-roles-9.11.0.jar:9.11.0]
	at org.apache.wicket.authroles.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy.isInstantiationAuthorized(AnnotationsRoleAuthorizationStrategy.java:61) ~[wicket-auth-roles-9.11.0.jar:9.11.0]
	at org.apache.wicket.authorization.strategies.CompoundAuthorizationStrategy.isInstantiationAuthorized(CompoundAuthorizationStrategy.java:65) ~[wicket-core-9.11.0.jar:9.11.0]
	at org.apache.wicket.Application$1.onInstantiation(Application.java:262) ~[wicket-core-9.11.0.jar:9.11.0]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)