java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Upgraded from Hudson 1.86 to 1.110. My svn repository that requires a username/password (svn+ssh) doesn't work anymore and I see this NullPointerException in the tomcat log when I go to the config screen for the project: SEVERE: Servlet.service() for servlet Stapler threw exception java.lang.NullPointerException at hudson.scm.SubversionSCM$DescriptorImpl $SVNAuthenticationProviderImpl.requestClientAuthentication(SubversionSCM.java:732) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication (DefaultSVNAuthenticationManager.java:148) at org.tmatesoft.svn.core.internal.io.svn.SVNGanymedConnector.open (SVNGanymedConnector.java:62) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:60) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection (SVNRepositoryImpl.java:998) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection (SVNRepositoryImpl.java:68) at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:890) at hudson.util.FormFieldValidator.process(FormFieldValidator.java:40) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java: 864) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:207) at org.kohsuke.stapler.Stapler.service(Stapler.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619)
    via by nidaley,
  • Upgraded from Hudson 1.86 to 1.110. My svn repository that requires a username/password (svn+ssh) doesn't work anymore and I see this NullPointerException in the tomcat log when I go to the config screen for the project: SEVERE: Servlet.service() for servlet Stapler threw exception java.lang.NullPointerException at hudson.scm.SubversionSCM$DescriptorImpl $SVNAuthenticationProviderImpl.requestClientAuthentication(SubversionSCM.java:732) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication (DefaultSVNAuthenticationManager.java:148) at org.tmatesoft.svn.core.internal.io.svn.SVNGanymedConnector.open (SVNGanymedConnector.java:62) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:60) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection (SVNRepositoryImpl.java:998) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection (SVNRepositoryImpl.java:68) at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:890) at hudson.util.FormFieldValidator.process(FormFieldValidator.java:40) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java: 864) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:207) at org.kohsuke.stapler.Stapler.service(Stapler.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619)
    via by nidaley,
    • java.lang.NullPointerException at hudson.scm.SubversionSCM$DescriptorImpl$SVNAuthenticationProviderImpl.requestClientAuthentication(SubversionSCM.java:732) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:148) at org.tmatesoft.svn.core.internal.io.svn.SVNGanymedConnector.open(SVNGanymedConnector.java:62) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:60) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:998) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:68) at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:890) at hudson.util.FormFieldValidator.process(FormFieldValidator.java:40) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java:864) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:207) at org.kohsuke.stapler.Stapler.service(Stapler.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619)
    No Bugmate found.