[JIRA] (JENKINS-59316) Bug - java.lang.NullPointerException

34 views
Skip to first unread message

saf@xch4nge.com (JIRA)

unread,
Sep 11, 2019, 6:31:03 AM9/11/19
to jenkinsc...@googlegroups.com
Sarfraaz Patel created an issue
 
Jenkins / Bug JENKINS-59316
Bug - java.lang.NullPointerException
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screenshot 2019-09-11 at 11.29.39.png
Components: core
Created: 2019-09-11 10:30
Environment: Jenkins Version 2.164
Operating system Linux
Labels: jenkins
Priority: Blocker Blocker
Reporter: Sarfraaz Patel

Jenkins automatically turned on this morning and the following error message is showing.

Stack trace

java.lang.NullPointerException at hudson.security.TokenBasedRememberMeServices2.autoLogin(TokenBasedRememberMeServices2.java:164) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:104) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:503) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748)
 
Page generated: 11-Sep-2019 10:16:05 UTCREST API[Jenkins ver. 2.164|https://jenkins.io/]
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 13, 2019, 4:18:02 AM9/13/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-59316
 
Re: Bug - java.lang.NullPointerException

It is `Jenkins.getInstance().isDisableRememberMe()` which fails on that version. So the instance has not fully started yet when the method was called.

 

CC Wadeck Follonier, might be related to the SECURITY-901 fix

wfollonier@cloudbees.com (JIRA)

unread,
Sep 17, 2019, 4:11:02 AM9/17/19
to jenkinsc...@googlegroups.com
Wadeck Follonier updated an issue
Change By: Wadeck Follonier
Jenkins automatically turned on this morning and the following error message is showing.
h2. Stack trace

{code:
java }
java
.lang.NullPointerException
{code}

 
Page generated: 11-Sep-2019 10:16:05 UTC[REST API|https://jenkins.xch4nge.com/api/][Jenkins ver. 2.164|https://jenkins.io/]
 

wfollonier@cloudbees.com (JIRA)

unread,
Sep 17, 2019, 4:12:02 AM9/17/19
to jenkinsc...@googlegroups.com
Wadeck Follonier commented on Bug JENKINS-59316
 
Re: Bug - java.lang.NullPointerException

Sarfraaz Patel Thank you for the report, we will look at this.

saf@xch4nge.com (JIRA)

unread,
Sep 17, 2019, 5:46:02 AM9/17/19
to jenkinsc...@googlegroups.com
Sarfraaz Patel commented on Bug JENKINS-59316
 
Re: Bug - java.lang.NullPointerException

sue seems to have been resolved now, it was cause by the server having no space, 

wfollonier@cloudbees.com (JIRA)

unread,
Sep 17, 2019, 6:37:05 AM9/17/19
to jenkinsc...@googlegroups.com
Wadeck Follonier closed an issue as Not A Defect
Change By: Wadeck Follonier
Status: Open Closed
Resolution: Not A Defect

wfollonier@cloudbees.com (JIRA)

unread,
Sep 17, 2019, 6:37:05 AM9/17/19
to jenkinsc...@googlegroups.com
Wadeck Follonier commented on Bug JENKINS-59316
 
Re: Bug - java.lang.NullPointerException

Sarfraaz Patel thank you for the feedback, so I close this ticket and in case you encounter the same issue again, please reopen it

Reply all
Reply to author
Forward
0 new messages