-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: liquibase-runner-plugin
-
Environment:Jenkins:
Jenkins-Version: 2.107.3
Liquibase Runner: 1.3.0
System:
Windows Server 2012 R2 (master)
Several Slaves on Windows 7 and Windows Server 2008 R2
-
1.4.9
Any missing informations? Please reply. Thank you!
Â
Stacktrace:
Mai 25, 2018 9:20:10 AM org.jenkinsci.plugins.workflow.job.WorkflowRun saveWithoutFailing WARNING: Failed to save ***/master #60 java.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class org.jenkinsci.plugins.workflow.job.WorkflowRun    at hudson.XmlFile.write(XmlFile.java:200)    at org.jenkinsci.plugins.workflow.support.PipelineIOUtils.writeByXStream(PipelineIOUtils.java:30)    at org.jenkinsci.plugins.workflow.job.WorkflowRun.save(WorkflowRun.java:1256)    at org.jenkinsci.plugins.workflow.job.WorkflowRun.saveWithoutFailing(WorkflowRun.java:1236)    at org.jenkinsci.plugins.workflow.job.WorkflowRun.copyLogs(WorkflowRun.java:612)    at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$500(WorkflowRun.java:144)    at org.jenkinsci.plugins.workflow.job.WorkflowRun$3.run(WorkflowRun.java:410)    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)    at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class org.jenkinsci.plugins.workflow.job.WorkflowRun    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:193)    ... 13 more Caused by: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.liquibase.evaluator.ExecutedChangesetAction#changeSetDetails for class org.jenkinsci.plugins.liquibase.evaluator.ExecutedChangesetAction    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.CollectionConverter.marshal(CollectionConverter.java:74)    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)    ... 26 more Caused by: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.liquibase.evaluator.ChangeSetDetail#sqls for class org.jenkinsci.plugins.liquibase.evaluator.ChangeSetDetail    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.CollectionConverter.marshal(CollectionConverter.java:74)    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)    ... 41 more Caused by: java.lang.UnsupportedOperationException: Refusing to marshal liquibase.sql.UnparsedSql for security reasons; see https://jenkins.io/redirect/class-filter/    at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:543)    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.CollectionConverter.marshal(CollectionConverter.java:74)    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)    ... 56 more
Occurs when executing Liquibase changeset in declarative Pipeline:
... // Liquibase liquibaseUpdate changeLogFile: '/myChangelog.xml', contexts: "DB2", credentialsId: '***', driverClassname: 'com.ibm.db2.jcc.DB2Driver', url: "myURL", changeLogParameters: ''' catalogname=DOCDB schemaname=DOCDB datatablespace01=DATATBS indextablespace01=INDEXTBS autoIncrement=true''' ...