[JIRA] (JENKINS-61699) NotExportableException in com.nirima.jenkins.plugins.docker.DockerTemplate on job/(.*)/api/json

0 views
Skip to first unread message

pj.stanley@live.co.uk (JIRA)

unread,
Mar 26, 2020, 12:18:02 PM3/26/20
to jenkinsc...@googlegroups.com
Paul Stanley created an issue
 
Jenkins / Bug JENKINS-61699
NotExportableException in com.nirima.jenkins.plugins.docker.DockerTemplate on job/(.*)/api/json
Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: docker-plugin
Created: 2020-03-26 16:17
Environment: Jenkins Version: 2.204.2
Docker Plugin Version: 1.1.9
Priority: Major Major
Reporter: Paul Stanley

Calls to https://<jenkins-host>/job/<JobName>/api/json  result in an exception with the message DockerTemplate doesn’t have @ExportBean.  This occurs when the “Define a Docker template” option is used in the configuration.

Stacktrace: org.kohsuke.stapler.export.NotExportableException: class com.nirima.jenkins.plugins.docker.DockerTemplate doesn't have @ExportedBean

            at org.kohsuke.stapler.export.Property.writeValue(Property.java:298)

            at org.kohsuke.stapler.export.Property.writeValue(Property.java:168)

            at org.kohsuke.stapler.export.Property.writeTo(Property.java:153)

            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:223)

            at org.kohsuke.stapler.export.Property.writeValue(Property.java:302)

            at org.kohsuke.stapler.export.Property.writeBuffered(Property.java:174)

            at org.kohsuke.stapler.export.Property.writeValue(Property.java:234)

            at org.kohsuke.stapler.export.Property.writeValue(Property.java:168)

            at org.kohsuke.stapler.export.Property.writeTo(Property.java:153)

            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:223)

            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:219)

            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:219)

            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:219)

            at org.kohsuke.stapler.export.Model.writeTo(Model.java:194)

            at org.kohsuke.stapler.ResponseImpl.writeOne(ResponseImpl.java:287)

            at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:278)

            at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:234)

            at hudson.model.Api.doJson(Api.java:223)

            at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

            at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)

            at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)

            at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)

            at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)

            at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)

            at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)

            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages