[
https://issues.apache.org/jira/browse/WICKET-6169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294929#comment-15294929
]
ASF subversion and git services commented on WICKET-6169:
---------------------------------------------------------
Commit ea57ae1088b5b1a25dd23d532a17729028201d48 in wicket's branch
refs/heads/wicket-7.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=ea57ae1 ]
WICKET-6169 NullPointerException accessing AbstractRequestLogger.getLiveSessions
Fix some more candidates for the same problem.
Remove implicit modifiers
> NullPointerException accessing AbstractRequestLogger.getLiveSessions
> --------------------------------------------------------------------
>
> Key: WICKET-6169
> URL: https://issues.apache.org/jira/browse/WICKET-6169
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.3.0
> Reporter: Sverre Boschman
> Assignee: Martin Grigorov
> Attachments: RequestLoggerLiveSessionsTest.java
>
>
> AbstractRequestLogger.getLiveSessions throws a NPE while sorting the
> liveSessions if a session is destroyed concurrently.
> java.lang.NullPointerException
> at
> java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
> at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
> at java.util.Arrays.sort(Arrays.java:1246)
> at
> org.apache.wicket.protocol.http.AbstractRequestLogger.getLiveSessions(AbstractRequestLogger.java:139)
> at
> org.apache.wicket.requestlogger.RequestLoggerLiveSessionsTest.test(RequestLoggerLiveSessionsTest.java:27)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)