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

Cannot load editor due to exception from Pipeline Model Definition

XMLWordPrintable

      Testing with a new Blue Ocean plugin and Pipeline Model Definition build breaks the "Create Pipeline" flow in the Editor.

      See the screenshot for more.

      This exception is thrown server side:

      WARNING: Error while serving http://lavaliere.codevalet.io/blue/rest/pipeline-metadata/pipelineStepMetadata
      java.lang.reflect.InvocationTargetException
              at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:347)
              at org.kohsuke.stapler.ForwardingFunction.invoke(ForwardingFunction.java:63)
              at io.jenkins.blueocean.commons.stapler.TreeResponse$Processor.invoke(TreeResponse.java:43)
              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$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.Stapler.tryInvoke(Stapler.java:686)
              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.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:841)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
              at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
              at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
              at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:51)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
              at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
              at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:86)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
              at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:92)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
              at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
              at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
              at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
              at org.eclipse.jetty.server.Server.handle(Server.java:564)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
              at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
              at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
              at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
              at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
              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.NoSuchMethodError: org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep.getBlockedSteps()Ljava/util/Map;
              at io.blueocean.rest.pipeline.editor.PipelineMetadataService.includeStep(PipelineMetadataService.java:185)
              at io.blueocean.rest.pipeline.editor.PipelineMetadataService.doPipelineStepMetadata(PipelineMetadataService.java:154)
              at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
              at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
              ... 92 more
      
      
      

      The build of the plugins in this instance are:

      build/repos/authentication-tokens-plugin,2a38368d4d9f61a6db0fde5b2f551293fc659cfe
      build/repos/azure-credentials-plugin,f22676557baca61feae6461b8c8fc4607bb783b8
      build/repos/azure-vm-agents-plugin,ce5a8fbd04eaf7c70297291e02cab2f308bceba2
      build/repos/blueocean-autofavorite-plugin,4ad1581f2e858e3daccdc8a3d470733ff641553f
      build/repos/blueocean-display-url-plugin,6b854bcf323459e2201c2f0d266de0f6757de5d6
      build/repos/blueocean-pipeline-editor-plugin,86fae9215682c264ac9ba34d344789a373fd4ae8
      build/repos/blueocean-plugin,f50ddce12e0197181303e4c5d29ce4e07d91b8f0
      build/repos/branch-api-plugin,22c8d12a5ad3b523042343bb769b15affb11d1a6
      build/repos/cloudbees-bitbucket-branch-source-plugin,e220b43404aca15574c7a9be3724a40587093414
      build/repos/cloudbees-folder-plugin,7481517f02528baf6e7f8f68e18d6da11cec932e
      build/repos/cloud-stats-plugin,fd303f20b951f5b045dc0145c9d92a1b53005967
      build/repos/credentials-binding-plugin,4d6f4c44baaa5aa1dd82a7b64ce4d8990a43d2fe
      build/repos/credentials-plugin,8f9461d825ab4d44a19cef381200eab9dd30eb3a
      build/repos/display-url-api-plugin,563a48374dc03baa110e83f79ab1e783ab6de855
      build/repos/docker-commons-plugin,2038a52e4ace63b225ecae85a84e45f79cafb112
      build/repos/docker-workflow-plugin,b8f7c60cd77f130fa1fe7b67a383660512434848
      build/repos/durable-task-plugin,9578742713767fba81b8ed3985ca67dfdf8a9d79
      build/repos/favorite-plugin,60da2eeea0ec9633e21e945c0cd0846a32adc146
      build/repos/git-client-plugin,f7b65ed7b923028f7c18ed4e99c95b4b547bd30d
      build/repos/github-api-plugin,f2b45140eb706004afff7814d4629d77871fd3d3
      build/repos/github-branch-source-plugin,f2a9fdd871e218429cd1de198b130596e90ee167
      build/repos/github-oauth-plugin,66ae724ef7bf5b0067447ac7e14a119067c0e631
      build/repos/github-plugin,f7b13015f4d80fde2f1b7024b6273e3deefb0ccf
      build/repos/git-plugin,f85fccbac95eed2a4a6eff74912d3bcecf6bffec
      build/repos/git-server-plugin,1762ba8ccf3c7a46a607b912736912b784a63524
      build/repos/htmlpublisher-plugin,b97dafba306e23ebcd2d19735fba49519e0185c8
      build/repos/icon-shim-plugin,9e75ab65fb8e4f1b5678408d39824abb5ff04313
      build/repos/jackson2-api-plugin,f31063ed6d7c7782db43d25899b089074ea09b87
      build/repos/jira-plugin,dee906a5f334519d178023f61cdb659473830721
      build/repos/js-libs-plugin,79ca191724036878a88f13325851af14b0c70452
      build/repos/junit-plugin,d083744e64c6f1a084bc032f9ef8f8a9e45cf38e
      build/repos/lockable-resources-plugin,3099e8bb1fb6c0f89d21f147319915cfcc11e73e
      build/repos/mailer-plugin,18b8274e1a31b60d7e20492f1ecfa39483b90b37
      build/repos/matrix-auth-plugin,4ca523533eb0ee7173ed9e3a28d676200adc27c2
      build/repos/matrix-project-plugin,7a675c361f41308751b8a38aa7a475dc80d41e16
      build/repos/mercurial-plugin,7c41dbd5c3267662619cfa4cacc7aa5e3e22d54f
      build/repos/metrics-plugin,987c6db35cf26795058d534ada460ebb5f4a2a29
      build/repos/pipeline-build-step-plugin,3dfefdec1f7b2a4ee0ef8902afdea720b1572cb3
      build/repos/pipeline-graph-analysis-plugin,f9a58875c460237e61b0ad4f04ef4f8bbad5326c
      build/repos/pipeline-input-step-plugin,7aea2abf486438200cb1ae3fb553311d7ced11e0
      build/repos/pipeline-milestone-step-plugin,7006aff364d94bc70163fc83dba3c94fe9906801
      build/repos/pipeline-model-definition-plugin,a4f07dd4f54c0b0b80a8c391951764da46f9eedd
      build/repos/pipeline-stage-step-plugin,2d7fa336bd9fa8f6eb30f980d4a3a90b86e32960
      build/repos/pipeline-stage-view-plugin,c75efd27a1490195deb5ecab25a7965dca95be99
      build/repos/plain-credentials-plugin,da51ba8703eefb201f3f6c4f4da3714fb83a37d6
      build/repos/pubsub-light-plugin,e374bc0248f37f6572e87913bf0c27cbf5b75d53
      build/repos/scm-api-plugin,dfcb468a44bb29948a52ca419510f46feb580759
      build/repos/script-security-plugin,c4c5c8d86a3343b9acc38c99aea71ab0ccf288ff
      build/repos/sse-gateway-plugin,0ffdeb4133e0946b2d4f8dc3299e28fddf327ddb
      build/repos/ssh-credentials-plugin,026d3be896556d5342368dfbb2f1d2ca7b8bd69e
      build/repos/structs-plugin,0194fee4c5d25406409141c5d1e2b2776a924758
      build/repos/token-macro-plugin,6561df61269e2829757388a67f1fce10a165cbff
      build/repos/variant-plugin,7beb82462c27aa4a8ff14d570bba82bb995d494b
      build/repos/workflow-aggregator-plugin,2d6df24c908665b9a812476409f562615bd0024c
      build/repos/workflow-api-plugin,55979f5e128bdf10ccc7cc4d3ba641fc63e30c22
      build/repos/workflow-basic-steps-plugin,33f80556adf735ef01f2d62def1dfa13d7a6bed6
      build/repos/workflow-cps-global-lib-plugin,75d17896a950a1a7373bfb1c5afb2d3e85205ead
      build/repos/workflow-cps-plugin,459fe615077ee563ebf20561f8a6559b002ecfbf
      build/repos/workflow-durable-task-step-plugin,f0465456369988baa35b09cff1e8d5aeda452a18
      build/repos/workflow-job-plugin,01f9e9bf32452a9d2ed7fa1e0ef92303e991a0c6
      build/repos/workflow-multibranch-plugin,c49261f827d032a637475071ba6742f0c40a8653
      build/repos/workflow-scm-step-plugin,9ccae57a8d5b746e10dfcdc3f44400729d7da27f
      build/repos/workflow-step-api-plugin,a67f9ce9792a550c5fe20f8ce9544f67c72f63a5
      build/repos/workflow-support-plugin,01f9538af15cf9cf76dfb928e40595d7df82be76
      

            abayer Andrew Bayer
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: