[
https://issues.apache.org/jira/browse/ISIS-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber reopened ISIS-3174:
------------------------------
Catched another issue:
at
org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.log(AuthenticatedWebSessionForIsis.java:263)
~[classes/:?]
at
org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.authenticate(AuthenticatedWebSessionForIsis.java:113)
~[classes/:?]
at
org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66)
~[wicket-auth-roles-9.11.0.jar:9.11.0]
at
org.apache.isis.viewer.wicket.ui.pages.login.SignInPanelAbstract.signIn(SignInPanelAbstract.java:171)
~[classes/:?]
at
org.apache.isis.viewer.wicket.ui.pages.login.SignInPanelAbstract.onConfigure(SignInPanelAbstract.java:136)
~[classes/:?]
at org.apache.wicket.Component.configure(Component.java:996)
~[wicket-core-9.11.0.jar:9.11.0]
at org.apache.wicket.Component.beforeRender(Component.java:938)
~[wicket-core-9.11.0.jar:9.11.0]
at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1759)
~[wicket-core-9.11.0.jar:9.11.0]
Caused by: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: NULL not
allowed for column "HTTPSESSIONID"; SQL statement:
INSERT INTO isisExtSessionLog.SessionLogEntry (CAUSEDBY, HTTPSESSIONID,
LOGINTIMESTAMP, LOGOUTTIMESTAMP, USERNAME, sessionGuid) VALUES (?, ?, ?, ?, ?,
?) [23502-214]
> [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)