[JIRA] (JENKINS-38605) Conflict with withMaven plugin, serialization error

7 views
Skip to first unread message

dc.harkes@gmail.com (JIRA)

unread,
Sep 29, 2016, 8:51:03 AM9/29/16
to jenkinsc...@googlegroups.com
Daco Harkes created an issue
 
Jenkins / Bug JENKINS-38605
Conflict with withMaven plugin, serialization error
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-support-plugin
Created: 2016/Sep/29 12:50 PM
Environment: Jenkins ver. 2.23

+ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Ant Plugin
This plugin adds Apache Ant support to Jenkins.
1.4
Downgrade to 1.3
Uninstall

Any Build Step Plugin
Use publishers as builders and builders as publishers. Adds builders to the actions available in the [Flexible Publish Plugin] and publishers to the list of builders available in the [Conditional BuildStep Plugin].
0.1
Uninstall

Bitbucket Branch Source Plugin
Allows to use Bitbucket Cloud as a source for multi-branch projects. It also provides the required connectors for Bitbucket Cloud Team Folder (also known as repositories auto-discovering).
1.8
Uninstall

bouncycastle API Plugin
Provides an stable API to Bouncy Castle related tasks. Plugins using Bouncy Castle should depend on this plugin and not directly on Bouncy Castle
2.16.0
Uninstall

Branch API Plugin
This plugin provides an API for multiple branch based projects.
1.11
Downgrade to 1.10.2
Uninstall

Build Environment Plugin
This plugin shows information about the environment in which a project has been build and offers the option to comptare there environments.
1.6
Downgrade to 1.5
Uninstall

build-name-setter
This plug-in sets the display name of a build to something other than #1, #2, #3, ...
1.6.5
Downgrade to 1.3
Uninstall

Conditional BuildStep
A buildstep wrapping any number of other buildsteps, controlling their execution based on a defined condition (e.g. BuildParameter).
1.3.5
Downgrade to 1.3.3
Uninstall

Config File Provider Plugin
Ability to provide configuration files (e.g. settings.xml for maven, XML, groovy, custom files,...) loaded through the UI which will be copied to the job workspace.
2.13
Downgrade to 2.10.1
Uninstall

Copy Artifact Plugin
Adds a build step to copy artifacts from another project.
1.38.1
Downgrade to 1.38
Uninstall

Credentials Binding Plugin
Allows credentials to be bound to environment variables for use from miscellaneous build steps.
1.9
Uninstall

Credentials Plugin
This plugin allows you to store credentials in Jenkins.
2.1.5
Downgrade to 2.1.4
Uninstall

CVS Plug-in
Integrates Jenkins with CVS version control system using a modified version of the Netbeans cvsclient.
2.12
Downgrade to 2.11
Uninstall

disk-usage plugin
This plugin counts disk usage.
0.28
Uninstall

Display URL API
Provides the DisplayURLProvider extension point to provide alternate URLs for use in notifications
0.5
Downgrade to 0.3
Uninstall

Durable Task Plugin
Library offering an extension point for processes which can run outside of Jenkins yet be monitored.
1.12
Downgrade to 1.10
Uninstall

Email Extension Plugin
This plugin is a replacement for Jenkins's email publisher
2.51
Downgrade to 2.50
Uninstall

embeddable-build-status
This plugin adds the embeddable build status badge to Jenkins so that you can easily hyperlink/show your build status from elsewhere.
1.9
Downgrade to 1.7
Uninstall

Environment Injector Plugin
This plugin makes it possible to set an environment for the builds.
1.93
Downgrade to 1.92.1
Uninstall

External Monitor Job Type Plugin
Adds the ability to monitor the result of externally executed jobs.
1.6
Downgrade to 1.4
Uninstall

Flexible Publish Plugin
Use a publisher more than once. Select the execution order of the publishers. Use run conditions to decide whether a publisher should be run.
0.15.2
Downgrade to 0.15.1
Uninstall

Folders Plugin
This plugin allows users to create "folders" to organize jobs. Users can define custom taxonomies (like by project type, organization type etc). Folders are nestable and you can define views within folders. Maintained by CloudBees, Inc.
5.13
Downgrade to 5.12
Uninstall

Git client plugin
Shared library plugin for other Git related Jenkins plugins.
2.0.0
Downgrade to 1.19.6
Uninstall

Git plugin
This plugin integrates Git with Jenkins.
3.0.0
Downgrade to 2.4.4
Uninstall

GIT server Plugin
Allows Jenkins to act as a Git server.
1.7
Downgrade to 1.6
Uninstall

GitHub API Plugin
This plugin provides GitHub API for other plugins.
1.77
Downgrade to 1.75
Uninstall

GitHub Branch Source Plugin
Multibranch projects and organization folders from GitHub. Maintained by CloudBees, Inc.
1.10
Uninstall

GitHub Organization Folder Plugin
Scan entire GitHub organization for buildable branches and pull requests, in repositories. See Pipeline as Code solution page for more details.
1.5
Uninstall

GitHub plugin
This plugin integrates GitHub to Jenkins.
1.21.1
Downgrade to 1.19.1
Uninstall

Icon Shim Plugin
This plugin allows other Jenkins plugins to take advantage of the <l:icon> tag.
2.0.3
Uninstall

inheritance-plugin
This plugin adds inheritance between jobs to Jenkins. To learn how this plugin is used, refer to this YouTube video.
1.5.1
Uninstall

Javadoc Plugin
This plugin adds Javadoc support to Jenkins.
1.4
Downgrade to 1.3
Uninstall

JavaScript GUI Lib: ACE Editor bundle plugin
JavaScript GUI Lib: ACE Editor bundle plugin.
1.1
Uninstall

JavaScript GUI Lib: Handlebars bundle plugin
JavaScript GUI Lib: Handlebars bundle plugin.
1.1.1
Uninstall

JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin.
1.2.1
Uninstall

JavaScript GUI Lib: Moment.js bundle plugin
JavaScript GUI Lib: Moment.js bundle plugin.
1.1.1
Uninstall

JUnit Plugin
Allows JUnit-format test results to be published.
1.18
Downgrade to 1.5
Uninstall

LDAP Plugin
Adds LDAP authentication to Jenkins
1.13
Downgrade to 1.12
Uninstall

Mailer Plugin
This plugin allows you to configure email notifications for build results. This is a break-out of the original core based email component.
1.18
Downgrade to 1.17
Uninstall

MapDB API Plugin
This plugin provides a shared dependency on the MapDB library so that other plugins can co-operate when using this library.
1.0.9.0
Downgrade to 1.0.6.0
Uninstall

Matrix Authorization Strategy Plugin
Offers matrix-based security authorization strategies (global and per-project).
1.4
Downgrade to 1.2
Uninstall

Matrix Project Plugin
Multi-configuration (matrix) project type.
1.7.1
Downgrade to 1.7
Uninstall

Maven Integration plugin
This plugin provides an advanced integration for Maven 2/3 projects.
2.13
Downgrade to 2.9
Uninstall

Mercurial plugin
This plugin integrates Mercurial SCM with Hudson. It includes repository browsing support for hg serve/hgweb, Google Code, Bitbucket, FishEye, KilnHG and RhodeCode. Features include guaranteed clean builds, named branch support, module lists, Mercurial tool installation, and automatic caching.
1.56
Uninstall

OWASP Markup Formatter Plugin
Uses the OWASP Java HTML Sanitizer to allow safe-seeming HTML markup to be entered in project descriptions and the like.
1.5
Downgrade to 1.3
Uninstall

PAM Authentication plugin
Adds Unix Pluggable Authentication Module (PAM) support to Jenkins.
1.3
Downgrade to 1.2
Uninstall

Parameterized Trigger plugin
This plugin lets you trigger new builds when your build has completed, with various ways of specifying parameters for the new build.
2.32
Downgrade to 2.30
Uninstall

Pipeline
A suite of plugins that lets you orchestrate automation, simple or complex. See Pipeline as Code with Jenkins for more details.
2.4
Downgrade to 2.3
Uninstall

Pipeline Graph Analysis Plugin
Provides a REST API to access pipeline and pipeline run data.
1.1
Uninstall

Pipeline Maven Integration Plugin
Provides maven integration with Pipeline Plugin by using the withMaven step, which configures a maven environment to use within a pipeline job by calling sh mvn or bat mvn.
0.2
Uninstall

Pipeline: API
Plugin that defines Pipeline API.
2.4
Downgrade to 2.3
Uninstall

Pipeline: Basic Steps
Commonly used steps for Pipelines.
2.2
Downgrade to 2.1
Uninstall

Pipeline: Build Step
Adds the Pipeline step build to trigger builds of other jobs.
2.3
Downgrade to 2.2
Uninstall

Pipeline: Groovy
Pipeline execution engine based on continuation passing style transformation of Groovy scripts.
2.18
Downgrade to 2.17
Uninstall

Pipeline: Input Step
Adds the Pipeline step input to wait for human input or approval.
2.1
Downgrade to 2.0
Uninstall

Pipeline: Job
Defines a new job type for pipelines and provides their generic user interface.
2.7
Downgrade to 2.6
Uninstall

Pipeline: Milestone Step
Provides the milestone step in Pipeline scripts.
1.0
Uninstall

Pipeline: Multibranch
Enhances Pipeline plugin to handle branches better by automatically grouping builds from different branches.
2.9
Downgrade to 2.8
Uninstall

Pipeline: Nodes and Processes
Pipeline steps locking agents and workspaces, and running external processes that may survive a Jenkins restart or slave reconnection.
2.5
Downgrade to 2.4
Uninstall

Pipeline: REST API Plugin
Provides a REST API to access pipeline and pipeline run data.
2.0
Downgrade to 1.4
Uninstall

Pipeline: SCM Step
Adds a Pipeline step to check out or update working sources from various SCMs (version control).
2.2
Downgrade to 2.0
Uninstall

Pipeline: Shared Groovy Libraries
Shared libraries for Pipeline scripts.
2.3
Downgrade to 2.0
Uninstall

Pipeline: Stage Step
Adds the Pipeline step stage to delineate portions of a build.
2.2
Downgrade to 2.1
Uninstall

Pipeline: Stage View Plugin
Pipeline Stage View Plugin.
2.0
Downgrade to 1.4
Uninstall

Pipeline: Step API
API for asynchronous build step primitive.
2.4
Downgrade to 2.3
Uninstall

Pipeline: Supporting APIs
Common utility implementations to build Pipeline Plugin
2.8
Downgrade to 2.4
Uninstall

Plain Credentials Plugin
Allows use of plain strings and files as credentials.
1.3
Downgrade to 1.2
Uninstall

Publish Over SSH
Send build artifacts over SSH
1.14
Downgrade to 1.12
Uninstall

Run Condition Plugin
Core conditions to select whether to execute a build step or publisher. Used by the [Flexible Publish Plugin] and the [Conditional BuildStep Plugin].
1.0
Uninstall

SCM API Plugin
This plugin provides a new enhanced API for interacting with SCM systems.
1.3
Downgrade to 1.2
Uninstall

Script Security Plugin
Allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.
1.23
Downgrade to 1.22
Uninstall

Slack Notification Plugin
This plugin is a Slack notifier that can publish build status to Slack channels.
2.0.1
Downgrade to 1.8
Uninstall

SSH Agent Plugin
This plugin allows you to provide SSH credentials to builds via a ssh-agent in Jenkins.
1.13
Downgrade to 1.10
Uninstall

SSH Credentials Plugin
This plugin allows you to store SSH credentials in Jenkins.
1.12
Downgrade to 1.11
Uninstall

SSH Slaves plugin
This plugin allows you to manage slaves running on \*nix machines over SSH.
1.11
Downgrade to 1.9
Uninstall

Structs Plugin
Library plugin for DSL plugins that need names for Jenkins objects.
1.5
Downgrade to 1.1
Uninstall

Subversion Plug-in
This plugin adds the Subversion support (via SVNKit) to Jenkins.
2.6
Downgrade to 2.5.7
Uninstall

Token Macro Plugin
This plug-in adds reusable macro expansion capability for other plug-ins to use.
2.0
Downgrade to 1.12.1
Uninstall

Translation Assistance plugin
This plugin adds an additional dialog box in every page, which enables people to contribute localizations for the messages they are seeing in the current page.
1.15
Downgrade to 1.12
Uninstall

View Job Filters
Create smart views with exactly the jobs you want. Your smart views can automatically include or exclude jobs by using things like the SCM path or type, the job type, build statuses or trends or triggers, relevance to the logged-in user, email recipients, Maven configuration, job parameterization, and user permissions. Mix and match filters to narrow down to exactly what you want.
1.27
Downgrade to 1.26
Uninstall

Windows Slaves Plugin
Allows you to connect to Windows machines and start slave agents on them.
1.2
Downgrade to 1.0
Uninstall
Priority: Minor Minor
Reporter: Daco Harkes

Upgrading the "Pipeline Supporting APIs Plugin" from 2.4 to a newer version gives a stacktrace. The exact same configuration with 2.4 of the plugin works fine.

Full build log:

 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to g...@github.com:...
 > git config remote.origin.url g...@github.com:... # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git config --get remote.origin.url # timeout=10
using GIT_SSH to set credentials GitHub
 > git fetch -t g...@github.com:... +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/...
Seen 5 remote branches
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url g...@github.com:... # timeout=10
Fetching upstream changes from g...@github.com:...
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub
 > git fetch --tags --progress g...@github.com:... +refs/heads/*:refs/remotes/origin/*
Checking out Revision ... (...)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ...
 > git rev-list ... # timeout=10
[Pipeline] node
Running on master in /home/jenkins/workspace/...
[Pipeline] {
[Pipeline] pwd
[Pipeline] ws
Running in /home/jenkins/workspace/...
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build and Test)
[Pipeline] slackSend
Slack Send Pipeline step configured values from global config - teamDomain: true, token: true, channel: false, color: false
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url g...@github.com:... # timeout=10
Fetching upstream changes from g...@github.com:...
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub
 > git fetch --tags --progress g...@github.com:... +refs/heads/*:refs/remotes/origin/*
Checking out Revision ... (...)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ...
[Pipeline] sh
[...] Running shell script
+ git clean -fXd
[Pipeline] withMaven
[Pipeline] slackSend
Slack Send Pipeline step configured values from global config - teamDomain: true, token: true, channel: false, color: false
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag#actions for class org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
	at hudson.XmlFile.write(XmlFile.java:178)
	at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:109)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:887)
	at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:315)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:302)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:278)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:269)
	at java.util.AbstractList.add(AbstractList.java:108)
	at hudson.model.Actionable.addAction(Actionable.java:129)
	at org.jenkinsci.plugins.workflow.cps.FlowHead.markIfFail(FlowHead.java:142)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:211)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:109)
	at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
	at WorkflowScript.run(WorkflowScript:13)
	at ___cps.transform___(Native Method)
	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:48)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
	at sun.reflect.GeneratedMethodAccessor494.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
	at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46)
	at com.cloudbees.groovy.cps.Next.step(Next.java:58)
	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:324)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:224)
	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.actions.ErrorAction#error for class org.jenkinsci.plugins.workflow.actions.ErrorAction
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
	at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
	at hudson.XmlFile.write(XmlFile.java:178)
	at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:109)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:887)
	at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:315)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:302)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:278)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:269)
	at java.util.AbstractList.add(AbstractList.java:108)
	at hudson.model.Actionable.addAction(Actionable.java:129)
	at org.jenkinsci.plugins.workflow.cps.FlowHead.markIfFail(FlowHead.java:142)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:211)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:109)
	at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
	... 29 more
Caused by: java.lang.UnsupportedOperationException: Refusing to marshal com.google.inject.CreationException for security reasons
	at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:442)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
	... 81 more
Finished: FAILURE

Stack trace from another project on the same Jenkins instance

...
[Pipeline] withMaven
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag#actions for class org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
	at hudson.XmlFile.write(XmlFile.java:178)
	at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:109)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:887)
	at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:315)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:302)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:278)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:269)
	at java.util.AbstractList.add(AbstractList.java:108)
	at hudson.model.Actionable.addAction(Actionable.java:129)
	at org.jenkinsci.plugins.workflow.cps.FlowHead.markIfFail(FlowHead.java:142)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:211)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:109)
	at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
	at WorkflowScript.run(WorkflowScript:31)
	at ___cps.transform___(Native Method)
	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:48)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
	at sun.reflect.GeneratedMethodAccessor494.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
	at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46)
	at com.cloudbees.groovy.cps.Next.step(Next.java:58)
	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:324)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:224)
	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.actions.ErrorAction#error for class org.jenkinsci.plugins.workflow.actions.ErrorAction
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
	at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
	at hudson.XmlFile.write(XmlFile.java:178)
	at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:109)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:887)
	at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:315)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:302)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:278)
	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:269)
	at java.util.AbstractList.add(AbstractList.java:108)
	at hudson.model.Actionable.addAction(Actionable.java:129)
	at org.jenkinsci.plugins.workflow.cps.FlowHead.markIfFail(FlowHead.java:142)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:211)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:109)
	at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
	... 29 more
Caused by: java.lang.UnsupportedOperationException: Refusing to marshal com.google.inject.CreationException for security reasons
	at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:442)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
	... 80 more
Finished: FAILURE
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Oct 19, 2016, 5:12:04 PM10/19/16
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Duplicate
Change By: Jesse Glick
Status: Open Resolved
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages