SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 1770|回复: 4

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

[复制链接]
发表于 2016-12-19 09:29:14 | 显示全部楼层 |阅读模式
jenkins在修改系统配置报错,不管修改哪个都不成功,好像是JDK的问题,各位大神有遇到过吗?
0 c6 Z  V: d" E! R2 b% Ljavax.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" H8 t/ e% @5 P: n
发表于 2017-2-7 15:46:04 | 显示全部楼层
这个问题,官方有介绍$ m" d. ?9 x: K8 a
https://issues.jenkins-ci.org/browse/JENKINS-32390$ \& N3 {& P; L
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-7-27 18:17:43 | 显示全部楼层
ths0516 发表于 2017-2-7 15:46* `2 j  v# U! _7 y8 V% E
这个问题,官方有介绍
8 |; `- O6 f& F7 Qhttps://issues.jenkins-ci.org/browse/JENKINS-32390
  N0 H: Z/ }: u  C7 }
这个方法对我不适用" G: [$ `8 B& w' ?( }/ ~

0 {7 b- J: \% }# g8 f* }
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:21:21 | 显示全部楼层
无情小雪 发表于 2017-7-27 18:19
8 L& V& r6 V" B+ c/ V问题已解决

" Z, A3 Z  o$ L分享一下如何解决的,也作为自己的备忘录,很重要,很重要,很重要。
+ _" S1 x$ N1 I+ [1 Y9 f
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2018-1-22 23:17 , Processed in 0.063154 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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