SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2768|回复: 4

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

[复制链接]
发表于 2016-12-19 09:29:14 | 显示全部楼层 |阅读模式
jenkins在修改系统配置报错,不管修改哪个都不成功,好像是JDK的问题,各位大神有遇到过吗?
* d: M+ Z- C6 ~+ v7 C$ N! \2 H% B- f9 Njavax.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$ u- {# `: x5 B% N; |
发表于 2017-2-7 15:46:04 | 显示全部楼层
这个问题,官方有介绍
0 F) ], N9 ?4 g0 Fhttps://issues.jenkins-ci.org/browse/JENKINS-32390$ f: ?( V' ~8 j+ z" h! `- \
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-7-27 18:17:43 | 显示全部楼层
ths0516 发表于 2017-2-7 15:46  K6 K9 M. A4 c# y
这个问题,官方有介绍
- H( |0 D" P9 H' y" J0 e# Bhttps://issues.jenkins-ci.org/browse/JENKINS-32390
9 C6 R, r; ~* }4 \+ X! F
这个方法对我不适用% H, T+ K! W0 f1 `/ D8 C! ^8 ^
8 t) ?; V! D: T( @& N
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:21:21 | 显示全部楼层
无情小雪 发表于 2017-7-27 18:19
) R6 @% Y& i' R- y问题已解决

& y) a8 H" V9 t; d$ C6 W分享一下如何解决的,也作为自己的备忘录,很重要,很重要,很重要。' j) g& j( K: U; T3 ^& b+ X6 {' d
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /3 下一条

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

GMT+8, 2018-8-17 15:05 , Processed in 0.118461 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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