[JIRA] (JENKINS-60328) Jenkins crashing while saving the global system configuration

15 views
Skip to first unread message

atitshah23@gmail.com (JIRA)

unread,
Nov 29, 2019, 5:55:03 AM11/29/19
to jenkinsc...@googlegroups.com
Atit Shah created an issue
 
Jenkins / Task JENKINS-60328
Jenkins crashing while saving the global system configuration
Issue Type: Task Task
Assignee: Unassigned
Components: publish-over-ssh-plugin, ssh-plugin
Created: 2019-11-29 10:54
Priority: Minor Minor
Reporter: Atit Shah

net.sf.json.JSONException: null object
at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2688)
at net.sf.json.JSONObject.get(JSONObject.java:1905)
at com.thed.zephyr.jenkins.reporter.ZfjDescriptor.configure(ZfjDescriptor.java:72)
at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:3677)
at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:3640)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
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:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at javax.servlet.FilterChain$doFilter.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
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.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
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:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at javax.servlet.FilterChain$doFilter.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
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.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

atitshah23@gmail.com (JIRA)

unread,
Nov 29, 2019, 5:58:02 AM11/29/19
to jenkinsc...@googlegroups.com
Atit Shah updated an issue
Change By: Atit Shah
Getting below exception while adding the ssh server in publish-over-ssh plugin. Test connection is successful. But apply/save giving below error.
Jenkins ver. 2.46.2

atitshah23@gmail.com (JIRA)

unread,
Nov 29, 2019, 5:59:02 AM11/29/19
to jenkinsc...@googlegroups.com

ian.williams1@telus.com (JIRA)

unread,
Dec 5, 2019, 5:23:02 AM12/5/19
to jenkinsc...@googlegroups.com
Ian Williams commented on Bug JENKINS-60328
 
Re: Jenkins crashing while saving the global system configuration

Do you have `zephyr-for-jira-test-management-plugin` installed ?

Seems identical to JENKINS-42815, and not related to the ssh plugins listed. Zephyr plugin is not the best piece of work out there. We have other issues with it and they have not addressed a single issue raised against it.

ian.williams1@telus.com (JIRA)

unread,
Dec 5, 2019, 5:24:04 AM12/5/19
to jenkinsc...@googlegroups.com
Ian Williams updated an issue
 
Change By: Ian Williams
Component/s: zephyr-for-jira-test-management-plugin

sf258g@att.com (JIRA)

unread,
Mar 5, 2020, 4:53:04 PM3/5/20
to jenkinsc...@googlegroups.com
Steven Fransen commented on Bug JENKINS-60328
 
Re: Jenkins crashing while saving the global system configuration

No I do not any and  Zephyr plugin installed

 here is what I have installed

ace-editor
all-changes
analysis-collector
analysis-core
analysis-model-api
android-lint
ansicolor
antisamy-markup-formatter
ant
apache-httpcomponents-client-4-api
artifact-promotion
authentication-tokens
authorize-project
backup
badge
basic-branch-build-strategies
batch-task
bitbucket-approve
bitbucket-build-status-notifier
bitbucket-filter-project-trait
bitbucket
bitbucket-oauth
bitbucket-pullrequest-builder
bitbucket-scm-filter-aged-refs
bitbucket-scm-filter-jira-validator
bitbucket-scm-trait-commit-skip
block-queued-job
blueocean-autofavorite
blueocean-bitbucket-pipeline
blueocean-commons
blueocean-config
blueocean-core-js
blueocean-dashboard
blueocean-display-url
blueocean-events
blueocean-executor-info
blueocean-github-pipeline
blueocean-git-pipeline
blueocean-i18n
blueocean-jira
blueocean
blueocean-jwt
blueocean-personalization
blueocean-pipeline-api-impl
blueocean-pipeline-editor
blueocean-pipeline-scm-api
blueocean-rest-impl
blueocean-rest
blueocean-web
bootstrap4-api
bouncycastle-api
branch-api
build-environment
build-env-propagator
build-failure-analyzer
build-metrics
build-monitor-plugin
build-notifications
build-pipeline-plugin
build-symlink
build-time-blame
build-timeout
build-timestamp
build-token-trigger
buildtriggerbadge
build-user-vars-plugin
build-with-parameters
built-on-column
changes-since-last-success
checkstyle
cloudbees-bitbucket-branch-source
cloudbees-disk-usage-simple
cloudbees-folder
command-launcher
conditional-buildstep
config-file-provider
configurationslicing
console-badge
console-column-plugin
convert-to-pipeline
copyartifact
coverity
cppcheck
credentials-binding
credentials
dashboard-view
data-tables-api
date-parameter
delivery-pipeline-plugin
display-url-api
docker-commons
docker-java-api
docker-plugin
docker-slaves
docker-swarm
docker-workflow
downstream-buildview
durable-task
dynamic_extended_choice_parameter
dynamic-search-view
echarts-api
email-ext
embeddable-build-status
envinject-api
envinject
environment-script
extended-choice-parameter
extensible-choice-parameter
external-monitor-job
ez-templates
favorite
file-leak-detector
file-operations
findbugs
flexible-publish
font-awesome-api
forensics-api
generic-webhook-trigger
gerrit-code-review
gerrit-trigger
gerrit-verify-status-reporter
git-changelog
git-client
github-api
github-branch-source
github
github-scm-filter-jira-validator
git
gitlab-oauth
gitlab-plugin
git-parameter
git-server
git-tag-message
git-userContent
global-build-stats
global-post-script
google-oauth-plugin
gradle
greenballs
groovy
groovy-label-assignment
groovy-postbuild
h2-api
handlebars
handy-uri-templates-2-api
htmlpublisher
http_request
ivy
jackson2-api
javadoc
jaxb
jdk-tool
jenkins-design-language
jenkins-jira-issue-updater
jenkins-multijob-plugin
jira
jobConfigHistory
job-dsl
job-import-plugin
job-node-stalker
job-parameter-summary
job-restrictions
jobtemplates
jquery3-api
jquery-detached
jquery
jquery-ui
jsch
junit
kubernetes-client-api
kubernetes-credentials
kubernetes
kubernetes-pipeline-steps
label-linked-jobs
ldap
linenumbers
list-git-branches-parameter
lockable-resources
log-parser
mailer
mapdb-api
matrix-auth
matrix-project
maven-artifact-choicelistprovider
maven-plugin
mercurial
momentjs
multiple-scms
next-build-number
nexus-artifact-uploader
nexus-jenkins-plugin
nexus-task-runner
nodelabelparameter
oauth-credentials
pam-auth
parallel-test-executor
Parameterized-Remote-Trigger
parameterized-trigger
parameter-pool
pipeline-aggregator-view
pipeline-build-step
pipeline-config-history
pipeline-cps-http
pipeline-github-lib
pipeline-global-lib-nexus
pipeline-graph-analysis
pipeline-input-step
pipeline-maven
pipeline-milestone-step
pipeline-model-api
pipeline-model-declarative-agent
pipeline-model-definition
pipeline-model-extensions
pipeline-multibranch-defaults
pipeline-rest-api
pipeline-restful-api
pipeline-stage-step
pipeline-stage-tags-metadata
pipeline-stage-view
pipeline-timeline
pipeline-utility-steps
plain-credentials
plugin-usage-plugin
plugin-util-api
popper-api
postbuildscript
postbuild-task
preSCMbuildstep
publish-to-bitbucket
pubsub-light
purge-build-queue-plugin
purge-job-history
python
random-string-parameter
readonly-parameters
rebuild
release-helper
repository-connector
resource-disposer
rich-text-publisher-plugin
role-strategy
rpmsign-plugin
rubymotion
run-condition
saferestart
schedule-build
scm-api
scriptler
script-security
secondary-timestamper-plugin
show-build-parameters
sidebar-link
slave-setup
slave-status
slave-utilization-plugin
sse-gateway
ssh-agent
ssh-credentials
ssh
ssh-slaves
ssh-steps
statusmonitor
structs
subversion
summary_report
synopsys-coverity
template-project
template-workflows
test-results-analyzer
text-file-operations
text-finder
thinBackup
throttle-concurrents
timestamper
token-macro
trilead-api
uno-choice
variant
veracode-jenkins-plugin
view-job-filters
violation-comments-to-stash
warnings
warnings-ng
windows-slaves
workflow-aggregator
workflow-api
workflow-basic-steps
workflow-cps-global-lib
workflow-cps
workflow-durable-task-step
workflow-job
workflow-multibranch
workflow-scm-step
workflow-step-api
workflow-support
ws-cleanup
ws-ws-replacement

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

sf258g@att.com (JIRA)

unread,
Mar 6, 2020, 11:34:03 AM3/6/20
to jenkinsc...@googlegroups.com

Andrew Hendley added a comment - 2019-04-16 03:41
For me this was a night mare of a scenario where none of the jobs would execute, but eventually figured it out. At some point I had upgrade the Environment Inject plugin which now appears to store it's configuration using a different schema.

  <globalNodeProperties>
    <hudson.slaves.EnvironmentVariablesNodeProperty>
      <envVars serialization="custom">
        <unserializable-parents/>
        <tree-map>
          <default>
            <comparator class="hudson.util.CaseInsensitiveComparator"/>
          </default>
          <int>10</int>
          <string>VAR_NAME</string>
          <string>var value</string>
          ...
        </tree-map>
      </envVars>
    </hudson.slaves.EnvironmentVariablesNodeProperty>
  </globalNodeProperties>

These are the steps that I took to resolve it;

  1. Make a copy of the "old style" configuration.
  2. Stop the "jenkins" service
  3. Completely remove the <globalNodeProperties> section from my config.xml file.
  4. Restarted the "jenkins" service
  5. Then re-added the entries back in.
  6. Now all is good.
     This solved my problem
Reply all
Reply to author
Forward
0 new messages