免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 38365 | 回复: 2
打印 上一主题 下一主题

[其他] jenkins一配置CVS就出现oops [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2019-08-27 10:20 |只看该作者 |倒序浏览
jenkins版本2.191
新建工程之后配置Source Code Management,选CVS,一点击保存就会出现oops:
  1. Oops!

  2. A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.
  3. Stack trace

  4. java.lang.NullPointerException
  5.         at hudson.scm.CvsRepository.<init>(CvsRepository.java:87)
  6.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  7.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  8.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  9.         at java.lang.reflect.Constructor.newInstance(Unknown Source)
  10.         at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:529)
  11.         at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:784)
  12.         at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
  13.         at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)
  14.         at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:717)
  15.         at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
  16.         at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:778)
  17.         at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
  18.         at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)
  19.         at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
  20.         at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474)
  21.         at hudson.scm.CVSSCM$DescriptorImpl.newInstance(CVSSCM.java:465)
  22.         at hudson.scm.CVSSCM$DescriptorImpl.newInstance(CVSSCM.java:407)
  23.         at hudson.DescriptorExtensionList.newInstanceFromRadioList(DescriptorExtensionList.java:142)
  24.         at hudson.scm.SCMS.parseSCM(SCMS.java:59)
  25.         at hudson.model.AbstractProject.submit(AbstractProject.java:1798)
  26.         at hudson.model.Project.submit(Project.java:225)
  27.         at hudson.model.Job.doConfigSubmit(Job.java:1349)
  28.         at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:772)
  29.         at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
  30.         at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
  31.         at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
  32.         at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
  33.         at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
  34.         at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
  35.         at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
  36.         at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
  37.         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
  38.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
  39. Caused: javax.servlet.ServletException
  40.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:797)
  41.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
  42.         at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
  43.         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
  44.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
  45.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
  46.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
  47.         at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
  48.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  49.         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
  50.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
  51.         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
  52.         at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
  53.         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
  54.         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
  55.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  56.         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
  57.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  58.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
  59.         at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
  60.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  61.         at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
  62.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  63.         at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
  64.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  65.         at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
  66.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  67.         at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
  68.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  69.         at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
  70.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  71.         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
  72.         at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
  73.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
  74.         at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
  75.         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
  76.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  77.         at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
  78.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  79.         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
  80.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  81.         at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
  82.         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
  83.         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
  84.         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
  85.         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
  86.         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
  87.         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
  88.         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
  89.         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
  90.         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
  91.         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
  92.         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
  93.         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
  94.         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
  95.         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
  96.         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
  97.         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
  98.         at org.eclipse.jetty.server.Server.handle(Server.java:505)
  99.         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
  100.         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
  101.         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
  102.         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
  103.         at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
  104.         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
  105.         at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
  106.         at java.lang.Thread.run(Unknown Source)
复制代码



请教下大虾这是怎么回事?CVS的插件我卸了重新装也不行


论坛徽章:
18
2 [报告]
发表于 2019-08-27 11:37 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2019-08-28 14:17 |只看该作者
回复 1# tqyou85

CVS Plugin的wiki上查到jenkins自2018年开始就不支持cvs了
https://wiki.jenkins.io/display/JENKINS/CVS+Plugin



Change LogVersion 2.14 (Feb 28, 201
  •                     JENKINS-26345                            -            "CVS Symbolic Name parameter" not working any more                                                Resolved               
  •                     JENKINS-49574                            -            [JEP-200] java.lang.SecurityException: Rejected: java.util.Calendar                                                Resolved                 necessary for users of Jenkins 2.102+
  • Use standard JSch library (PR 47)
Version 2.13 (Jan 18, 2017)
  • Select the checkout timestamp wisely to honor the spirit of quiet period (pull request)
  • CVS plugin now works with Jenkins Pipeline (JENKINS-27717)
  • Ignore recusive symlinks during cvs update (JENKINS-23234)

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP