SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 3024|回复: 4

[求助] jenkins修改全局系统配置报错

[复制链接]
发表于 2016-12-19 09:29:14 | 显示全部楼层 |阅读模式
jenkins在修改系统配置报错,不管修改哪个都不成功,好像是JDK的问题,各位大神有遇到过吗?
- }2 n" ]9 `8 O8 a! s7 Y2 sjavax.servlet.ServletException: net.sf.json.JSONException: JSONObject["name"] not found.        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)        at org.kohsuke.stapler.Stapler.service(Stapler.java:238)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)        at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:80)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)        at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)        at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)        at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)        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:76)        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)        at java.lang.Thread.run(Thread.java:745)Caused by: net.sf.json.JSONException: JSONObject["name"] not found.        at net.sf.json.JSONObject.getString(JSONObject.java:2040)        at com.wwpass.wwpassauth.WwpassLoginService$DescriptorImpl.configure(WwpassLoginService.java:201)        at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:3531)        at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:3494)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:606)        at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)        at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)        at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)        at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)        at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)        ... 60 more, H" q/ A, J6 Y* }5 D* e5 I
发表于 2017-2-7 15:46:04 | 显示全部楼层
这个问题,官方有介绍
. j+ S, ^) B3 ~https://issues.jenkins-ci.org/browse/JENKINS-323907 j0 U  v% h! E; O+ R
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-7-27 18:17:43 | 显示全部楼层
ths0516 发表于 2017-2-7 15:46" l7 S" q. c! z, v8 e: w/ A$ w8 V
这个问题,官方有介绍6 c! d# r' K5 i+ I# D
https://issues.jenkins-ci.org/browse/JENKINS-32390

' A* q* Z* A  {* J; r- ^. `这个方法对我不适用
8 y8 H( D' w- \
/ ~, c& K- D0 t4 l3 H; m; {7 t
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-7-27 18:19:04 | 显示全部楼层
问题已解决
回复 支持 反对

使用道具 举报

发表于 2017-9-9 18:21:21 | 显示全部楼层
无情小雪 发表于 2017-7-27 18:19
( Z, ]/ X, Z7 R9 u: C问题已解决

- e0 U6 A$ j& H9 T. G分享一下如何解决的,也作为自己的备忘录,很重要,很重要,很重要。9 L6 I& V8 a3 y& g4 W. f1 s
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

QQ|小黑屋|手机版|无图版|SCMLife.com ( 京ICP备06056490号-1 )

GMT+8, 2018-10-19 15:59 , Processed in 0.075174 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

快速回复 返回顶部 返回列表