[ 
https://issues.apache.org/jira/browse/ISIS-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584662#comment-17584662
 ] 

ASF subversion and git services commented on ISIS-3174:
-------------------------------------------------------

Commit a9aba6d2118ab483c30721b3ad0bfb763178765d in isis's branch 
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=a9aba6d211 ]

ISIS-3174: wkt session logging: fixes case when no session yet

> [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
>            Assignee: Andi Huber
>            Priority: Major
>             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)

Reply via email to