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

Problems with the new ArgumentsAction.getResolvedArguments

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      This appears to be an issue introduced by https://github.com/jenkinsci/workflow-api-plugin/pull/44/files

      2017-10-11 01:47:21.200+0000 [id=204826] WARNING o.j.p.s.d.DescribableParameter#uncoerce: failed to uncoerce hudson.plugins.ansicolor.AnsiColorBuildWrapper@5daf380c
      java.lang.UnsupportedOperationException: no public field ‘defaultFg’ (or getter method) found in class hudson.plugins.ansicolor.AnsiColorBuildWrapper
      	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.effectiveFunctionName(StepAtomNode.java:111)
      	at org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode.getTypeFunctionName(StepStartNode.java:59)
      	at org.jenkinsci.plugins.workflow.graph.FlowNode.getDisplayFunctionName(FlowNode.java:274)
      	at org.jenkinsci.plugins.workflow.support.actions.LogActionImpl$1.onNewHead(LogActionImpl.java:100)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1216)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.notifyNewHead(CpsThreadGroup.java:391)
      	at org.jenkinsci.plugins.workflow.cps.FlowHead.setNewHead(FlowHead.java:121)
      	at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:437)
      	at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:395)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:745)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	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:748)
      

        Attachments

          Issue Links

            Activity

            svanoort Sam Van Oort created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Description This appears to be an issue introduced by https://github.com/jenkinsci/workflow-api-plugin/pull/44/files

             

            {{2017-10-11 01:47:21.200+0000 [id=204826] WARNING o.j.p.s.d.DescribableParameter#uncoerce: failed to uncoerce hudson.plugins.ansicolor.AnsiColorBuildWrapper@5daf380c}}
            {{java.lang.UnsupportedOperationException: no public field ‘defaultFg’ (or getter method) found in class hudson.plugins.ansicolor.AnsiColorBuildWrapper}}
            {{ 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.effectiveFunctionName(StepAtomNode.java:111)}}
            {{ at org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode.getTypeFunctionName(StepStartNode.java:59)}}
            {{ at org.jenkinsci.plugins.workflow.graph.FlowNode.getDisplayFunctionName(FlowNode.java:274)}}
            {{ at org.jenkinsci.plugins.workflow.support.actions.LogActionImpl$1.onNewHead(LogActionImpl.java:100)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1216)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.notifyNewHead(CpsThreadGroup.java:391)}}
            {{ at org.jenkinsci.plugins.workflow.cps.FlowHead.setNewHead(FlowHead.java:121)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:437)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:395)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:745)}}
            {{ at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35)}}
            {{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}}
            {{ 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:748)}}
            This appears to be an issue introduced by https://github.com/jenkinsci/workflow-api-plugin/pull/44/files

            {code:none}
            2017-10-11 01:47:21.200+0000 [id=204826] WARNING o.j.p.s.d.DescribableParameter#uncoerce: failed to uncoerce hudson.plugins.ansicolor.AnsiColorBuildWrapper@5daf380c
            java.lang.UnsupportedOperationException: no public field ‘defaultFg’ (or getter method) found in class hudson.plugins.ansicolor.AnsiColorBuildWrapper
            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.effectiveFunctionName(StepAtomNode.java:111)
            at org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode.getTypeFunctionName(StepStartNode.java:59)
            at org.jenkinsci.plugins.workflow.graph.FlowNode.getDisplayFunctionName(FlowNode.java:274)
            at org.jenkinsci.plugins.workflow.support.actions.LogActionImpl$1.onNewHead(LogActionImpl.java:100)
            at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1216)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.notifyNewHead(CpsThreadGroup.java:391)
            at org.jenkinsci.plugins.workflow.cps.FlowHead.setNewHead(FlowHead.java:121)
            at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:437)
            at org.jenkinsci.plugins.workflow.cps.CpsStepContext$2.onSuccess(CpsStepContext.java:395)
            at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:745)
            at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            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:748)
            {code}
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-31582 [ JENKINS-31582 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-327 (Web Link)" [ 19015 ]
            jamesdumay James Dumay made changes -
            Sprint Pipeline - Candidates [ 381 ]
            vivek Vivek Pandey made changes -
            Sprint Pipeline - Candidates [ 381 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher

              People

              • Assignee:
                Unassigned
                Reporter:
                svanoort Sam Van Oort
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: