51Testing软件测试论坛

标题: Hudson在check代码时报错,但是手动SVN去check就可以 [打印本页]

作者: fnfuqqq    时间: 2015-8-25 08:15
标题: Hudson在check代码时报错,但是手动SVN去check就可以
求助~~今天使用Hudson进行代码更新时,报错了,以前还是好的,错误信息如下,各位大神帮帮忙~~
  1. Passing user name qsfu and password you entered
  2. FAILED: svn: E175002: java.lang.RuntimeException: Could not generate DH keypair
  3. org.tmatesoft.svn.core.SVNException: svn: E175002: java.lang.RuntimeException: Could not generate DH keypair
  4. svn: E175002: OPTIONS request failed on '/svn/EPD_TestLibrary/Trunk/Development/Source/app/checkpoints/Android/App'
  5.         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
  6.         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
  7.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:764)
  8.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
  9.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
  10.         at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
  11.         at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
  12.         at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
  13.         at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
  14.         at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:94)
  15.         at hudson.scm.SubversionSCM$DescriptorImpl.postCredential(SubversionSCM.java:1943)
  16.         at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1881)
  17.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  18.         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  19.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  20.         at java.lang.reflect.Method.invoke(Unknown Source)
  21.         at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
  22.         at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
  23.         at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
  24.         at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
  25.         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
  26.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
  27.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
  28.         at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
  29.         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
  30.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
  31.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
  32.         at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
  33.         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
  34.         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
  35.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
  36.         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
  37.         at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
  38.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  39.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  40.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  41.         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
  42.         at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
  43.         at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
  44.         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
  45.         at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
  46.         at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
  47.         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
  48.         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
  49.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  50.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  51.         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
  52.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  53.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  54.         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
  55.         at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
  56.         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
  57.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  58.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  59.         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
  60.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  61.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  62.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  63.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  64.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
  65.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  66.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  67.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  68.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  69.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  70.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  71.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  72.         at java.lang.Thread.run(Unknown Source)
  73. Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
  74.         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
  75.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
  76.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
  77.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
  78.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
  79.         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
  80.         at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  81.         at java.io.BufferedOutputStream.flush(Unknown Source)
  82.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.sendData(HTTPConnection.java:321)
  83.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:170)
  84.         at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:463)
  85.         ... 65 more
  86. Caused by: java.lang.RuntimeException: Could not generate DH keypair
  87.         at com.sun.net.ssl.internal.ssl.DHCrypt.(Unknown Source)
  88.         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(Unknown Source)
  89.         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
  90.         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
  91.         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
  92.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
  93.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
  94.         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
  95.         ... 71 more
  96. Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
  97.         at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
  98.         at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)
  99.         ... 79 more
复制代码

作者: fnfuqqq    时间: 2015-8-25 08:43
帮帮忙呀,各位大神~~
作者: cherrycai    时间: 2015-8-25 09:05
你可以试试检查一下你的应用是否提供了sun jce,将jre/lib/ext/sunjce_provider.jar复制到你的classpath后,再试试。(我也是网上查的)
作者: fnfuqqq    时间: 2015-8-25 09:39
cherrycai 发表于 2015-8-25 09:05
你可以试试检查一下你的应用是否提供了sun jce,将jre/lib/ext/sunjce_provider.jar复制到你的classpath后 ...

这个我试过了,还是不行~~
作者: cmjiang    时间: 2016-3-22 10:44
我也遇到了这个问题,请问楼主解决了么?能告知下解决办法么?多谢!!




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2