Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47227

failed to uncoerce hudson.plugins.robot.RobotPublisher@1f5a660a java.lang.UnsupportedOperationException: no public field ‘enableCache’ (or getter method) found in class hudson.plugins.robot.RobotPublisher

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: robot-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.73.3 (LTS)
      Robot Framework plugin 1.6.4
    • Similar Issues:

      Description

      The jenkins log is full of warnings shown below:

      WARNING: failed to uncoerce hudson.plugins.robot.RobotPublisher@1f5a660a
      java.lang.UnsupportedOperationException: no public field ‘enableCache’ (or getter method) found in class hudson.plugins.robot.RobotPublisher
      at org.jenkinsci.plugins.structs.describable.DescribableParameter.getValue(DescribableParameter.java:161)
      at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:142)
      at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:533)
      at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:652)
      at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:196)
      at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:142)
      at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:533)
      at org.jenkinsci.plugins.workflow.actions.ArgumentsAction.resolve(ArgumentsAction.java:304)
      at org.jenkinsci.plugins.workflow.actions.ArgumentsAction.getResolvedArguments(ArgumentsAction.java:291)
      at org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode.getDelegateType(StepAtomNode.java:134)
      at org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode.effectiveDisplayName(StepAtomNode.java:90)
      at org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode.getTypeDisplayName(StepAtomNode.java:102)
      at org.jenkinsci.plugins.workflow.graph.FlowNode.getDisplayName(FlowNode.java:189)
      at com.cloudbees.workflow.rest.external.FlowNodeExt.addBasicNodeData(FlowNodeExt.java:194)
      at com.cloudbees.workflow.rest.external.AtomFlowNodeExt.create(AtomFlowNodeExt.java:70)
      at com.cloudbees.workflow.rest.external.ChunkVisitor.makeAtomNode(ChunkVisitor.java:68)
      at com.cloudbees.workflow.rest.external.ChunkVisitor.atomNode(ChunkVisitor.java:154)
      at org.jenkinsci.plugins.workflow.graphanalysis.ForkScanner.fireVisitChunkCallbacks(ForkScanner.java:751)
      at org.jenkinsci.plugins.workflow.graphanalysis.ForkScanner.visitSimpleChunks(ForkScanner.java:769)
      at org.jenkinsci.plugins.workflow.graphanalysis.ForkScanner.visitSimpleChunks(ForkScanner.java:633)
      at com.cloudbees.workflow.rest.external.RunExt.createNew(RunExt.java:321)
      at com.cloudbees.workflow.rest.external.RunExt.create(RunExt.java:309)
      at com.cloudbees.workflow.rest.external.JobExt.create(JobExt.java:131)
      at com.cloudbees.workflow.rest.endpoints.JobAPI.doRuns(JobAPI.java:69)
      at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
      at com.cloudbees.workflow.util.ServeJson$Processor.invoke(ServeJson.java:30)
      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.MetaClass$10.dispatch(MetaClass.java:374)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
      at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
      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.MetaClass$5.doDispatch(MetaClass.java:248)
      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 com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
      at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
      at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:113)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      :

        Attachments

          Activity

          Hide
          aleksisimell Aleksi Simell added a comment -

          Tapio Reijonen Which Jenkins version and plugin version are you using?

          Show
          aleksisimell Aleksi Simell added a comment - Tapio Reijonen Which Jenkins version and plugin version are you using?
          Hide
          tapsa Tapio Reijonen added a comment -

          Our Jenkins ver. is 2.73.3 (LTS) and Robot Framework plugin 1.6.4

           

          Show
          tapsa Tapio Reijonen added a comment - Our Jenkins ver. is 2.73.3 (LTS) and Robot Framework plugin 1.6.4  
          Hide
          mrklein Matthew Klein added a comment - - edited

          Are there any updates on this issue?  I am seeing the same thing and I have Jenkins ver. 2.89.2   with Robot Framework plugin 1.6.4. 

          Show
          mrklein Matthew Klein added a comment - - edited Are there any updates on this issue?  I am seeing the same thing and I have Jenkins ver. 2.89.2    with Robot Framework plugin 1.6.4. 
          Hide
          rpocase Robby Pocase added a comment -

          I have a fix locally that I expect to put a PR up for soon.

          Show
          rpocase Robby Pocase added a comment - I have a fix locally that I expect to put a PR up for soon.
          Show
          rpocase Robby Pocase added a comment - Fixing in https://github.com/jenkinsci/robot-plugin/pull/20
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robby Pocase
          Path:
          src/main/java/hudson/plugins/robot/RobotPublisher.java
          http://jenkins-ci.org/commit/robot-plugin/ef719349b999ba7e8319fb71b992cc84615e7257
          Log:
          [FIXED JENKINS-47227] Add public getEnableCache

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robby Pocase Path: src/main/java/hudson/plugins/robot/RobotPublisher.java http://jenkins-ci.org/commit/robot-plugin/ef719349b999ba7e8319fb71b992cc84615e7257 Log: [FIXED JENKINS-47227] Add public getEnableCache
          Hide
          tapsa Tapio Reijonen added a comment -

          Hi, when the next RF pluging release is coming, where this is fixed?

          Show
          tapsa Tapio Reijonen added a comment - Hi, when the next RF pluging release is coming, where this is fixed?
          Hide
          tattoo Tatu Kairi added a comment -
          Show
          tattoo Tatu Kairi added a comment - Released in 1.6.5

            People

            • Assignee:
              rpocase Robby Pocase
              Reporter:
              tapsa Tapio Reijonen
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: