[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Daniel Beck updated an issue Jenkins / JENKINS-59904 NPE when calling logout without cookie Change By: Daniel Beck Labels: lts-candidate Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202654.1571841844000.5472.1574421361824%40Atlassian.JIRA.
[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Oleg Nenashev resolved as Fixed Jenkins / JENKINS-59904 NPE when calling logout without cookie Change By: Oleg Nenashev Status: Open Resolved Resolution: Fixed Released As: Jenkins 2.203 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202654.1571841844000.11735.1573428720271%40Atlassian.JIRA.
[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-59904 NPE when calling logout without cookie Change By: Oleg Nenashev Labels: lts-candidate Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202654.1571841844000.11737.1573428720322%40Atlassian.JIRA.
[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Markus Winter updated an issue Jenkins / JENKINS-59904 NPE when calling logout without cookie Change By: Markus Winter Using some script we called the logout url of Jenkins. This lead to a null pointer exception as the code to search for stale session cookies is not performing a null check. java.lang.NullPointerException at hudson.security.SecurityRealm.clearStaleSessionCookies(SecurityRealm.java:328) at hudson.security.SecurityRealm.doLogout(SecurityRealm.java:296) at jenkins.model.Jenkins.doLogout(Jenkins.java:4063) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) How to reproduce:curl [https://ci.jenkins.io/logout] or open a browser, delete all cookies and the browse open the same url Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Markus Winter updated an issue Jenkins / JENKINS-59904 NPE when calling logout without cookie Change By: Markus Winter Using some script we called the logout url of Jenkins. This lead to a null pointer exception as the code to search for stale session cookies is not performing a null check. java.lang.NullPointerException at hudson.security.SecurityRealm.clearStaleSessionCookies(SecurityRealm.java:328) at hudson.security.SecurityRealm.doLogout(SecurityRealm.java:296) at jenkins.model.Jenkins.doLogout(Jenkins.java:4063) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) How to reproduce:curl [https://ci.jenkins.io/logout] Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-59904) NPE when calling logout without cookie
Title: Message Title Markus Winter created an issue Jenkins / JENKINS-59904 NPE when calling logout without cookie Issue Type: Bug Assignee: Unassigned Components: core Created: 2019-10-23 14:44 Environment: Jenkins 2.190.1 Priority: Minor Reporter: Markus Winter Using some script we called the logout url of Jenkins. This lead to a null pointer exception as the code to search for stale session cookies is not performing a null check. java.lang.NullPointerException at hudson.security.SecurityRealm.clearStaleSessionCookies(SecurityRealm.java:328) at hudson.security.SecurityRealm.doLogout(SecurityRealm.java:296) at jenkins.model.Jenkins.doLogout(Jenkins.java:4063) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)