SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2357|回复: 4

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

[复制链接]
发表于 2016-12-19 09:29:14 | 显示全部楼层 |阅读模式
jenkins在修改系统配置报错,不管修改哪个都不成功,好像是JDK的问题,各位大神有遇到过吗?
. _: h7 H& @( ]7 W( r& Xjavax.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
$ M: I: s$ |0 o6 V5 m! t
发表于 2017-2-7 15:46:04 | 显示全部楼层
这个问题,官方有介绍
0 w/ J7 |& {0 f/ d" {https://issues.jenkins-ci.org/browse/JENKINS-323907 ^8 r- g* d# y+ a2 l, u
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-7-27 18:17:43 | 显示全部楼层
ths0516 发表于 2017-2-7 15:46
  F7 c4 G# a9 y. h0 L8 ^这个问题,官方有介绍  t8 k/ V1 P( U+ l1 p
https://issues.jenkins-ci.org/browse/JENKINS-32390
+ ]6 r6 i. I, k+ A$ w( M9 H% `
这个方法对我不适用0 b. x/ c2 M7 i% V, O
( A' d0 X3 n# m$ T- L/ o
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:21:21 | 显示全部楼层
无情小雪 发表于 2017-7-27 18:19
. M5 s% n3 ~6 g问题已解决

# E5 w8 V0 A! a/ C7 @/ B分享一下如何解决的,也作为自己的备忘录,很重要,很重要,很重要。6 m9 P5 Q% }  I- F$ Z% J$ o
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2018-4-22 06:19 , Processed in 0.063856 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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