Re: Exception being thrown when trying to create/modify/delete Freestyle Jobs

18 views
Skip to first unread message

Baptiste Mathus

unread,
Jul 3, 2017, 3:49:24 AM7/3/17
to jenkins...@googlegroups.com
weird, in your list I can't see Blue Ocean Events, where the BlueMesssageEnricher class apparently comes from.

2017-06-28 22:17 GMT+02:00 Stephen B <stephenf...@gmail.com>:
Greetings,
I’m running Jenkins 2.7.3 LTS. I’m trying to create a freestyle project however, when I go to save, copy, modify, or delete the freestyle project I get an exception thrown and can’t seem to track down what is causing the issue.  The freestyle project I am trying to create is nothing fancy.  It simply runs a bash script that echoes out a message. 

Here are the plugins and their respective versions that I have installed:
  • Authentication Tokens API Plugin: 1.3
  • Autofavorite for Blue Ocean: 1.0.0
  • Blue Ocean: 1.0.1
  • Blue Ocean Pipeline Editor: 0.2.0
  • BlueOcean Display URL plugin: 2.0
  • bouncycastle API Plugin: 2.16.1
  • Branch API Plugin: 2.0.10
  • Common API for Blue Ocean: 1.1.2
  • Config API for Blue Ocean: 1.1.2
  • Config File Provider Plugin: 2.15.7
  • Copy To Slave Plugin: 1.4.4
  • Credentials Binding Plugin: 1.12
  • Dashboard for Blue Ocean: 1.1.2
  • Display URL API: 2.0
  • Docker Commons Plugin: 1.7
  • Docker Pipeline: 1.12
  • Durable Task Plugin: 1.14
  • Favorite: 2.3.0
  • Folders Plugin: 6.0.4
  • Git client plugin: 2.4.6
  • Git Pipeline for Blue Ocean: 1.1.2
  • Git plugin: 3.3.0
  • GIT server Plugin: 1.7
  • GitHub API Plugin: 1.85.1
  • GitHub Authentication plugin: 0.26
  • GitHub Branch Source Plugin: 2.0.6
  • GitHub Organization Folder Plugin: 1.6
  • GitHub Pipeline for Blue Ocean: 1.1.2
  • GitHub plugin: 1.27.0
  • GitHub Pull Request Builder: 1.35.0
  • Groovy: 2.0
  • I18n for Blue Ocean: 1.1.2
  • Icon Shim Plugin: 2.0.3
  • Jackson 2 API Plugin: 2.7.3
  • JavaScript GUI Lib: ACE Editor bundle plugin: 1.1
  • JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin: 1.2.1
  • Job DSL: 1.58
  • JUnit Plugin: 1.20
  • JWT for Blue Ocean: 1.1.2
  • Mailer Plugin: 1.20
  • Matrix Project Plugin: 1.11
  • mesos: 0.13.1
  • Metrics Plugin: 3.1.2.10
  • Personalization for Blue Ocean: 1.1.2
  • Pipeline Graph Analysis Plugin: 1.4
  • Pipeline implementation for Blue Ocean: 1.1.2
  • Pipeline SCM API for Blue Ocean: 1.1.2
  • Pipeline: API: 2.17
  • Pipeline: Basic Steps: 2.5
  • Pipeline: Declarative Agent API: 1.1.1
  • Pipeline: Declarative Extension Points API: 1.1.6
  • Pipeline: GitHub Groovy Libraries: 1.0
  • Pipeline: Groovy: 2.36
  • Pipeline: Input Step: 2.1
  • Pipeline: Job: 2.10
  • Pipeline: Model API: 1.1.6
  • Pipeline: Model Definition: 1.1.6
  • Pipeline: Multibranch: 2.15
  • Pipeline: Nodes and Processes: 2.12
  • Pipeline: SCM Step: 2.5
  • Pipeline: Shared Groovy Libraries: 2.8
  • Pipeline: Stage Step: 2.2
  • Pipeline: Stage Tags Metadata: 1.1.6
  • Pipeline: Step API: 2.11
  • Pipeline: Supporting APIs: 2.14
  • Plain Credentials Plugin: 1.4
  • Pub-Sub “light” Bus: 1.8
  • rbenv plugin: 0.0.17
  • REST API for Blue Ocean: 1.1.2
  • REST Implementation for Blue Ocean: 1.1.2
  • ruby-runtime: 0.12
  • SCM API Plugin: 2.1.1
  • Script Security Plugin: 1.29
  • SSH Agent Plugin: 1.15
  • SSH Credentials Plugin: 1.13
  • Structs Plugin: 1.8
  • Timestamper: 1.8.8
  • Token Macro Plugin: 2.1
  • Variant Plugin: 1.1
  • Web for Blue Ocean: 1.1.2
I have attached the stacktrace. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f7e5f4ab-cdfc-482c-b1e7-5574ec8ed503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Beck

unread,
Jul 3, 2017, 7:12:17 AM7/3/17
to jenkins...@googlegroups.com

> On 3. Jul 2017, at 09:48, Baptiste Mathus <m...@batmat.net> wrote:
>
> weird, in your list I can't see Blue Ocean Events, where the BlueMesssageEnricher class apparently comes from.
>

The problem is https://github.com/jenkinsci/blueocean-plugin/blob/9fd3ad72262c00b8a2a1c51f234cc4c891c75250/blueocean-events/src/main/java/io/jenkins/blueocean/events/BlueMessageEnricher.java#L58 which is already somewhat outdated.

https://github.com/jenkinsci/blueocean-plugin/commit/cc4d74ea0c77464abe8a0c3ea5aa5dfca149c9f9#diff-8c1242b99105bfa79026d49d5f590ea8L38 removed the INSTANCE field.

All Blue Ocean plugins seem to be the same version, 1.1.2, except for the aggregator plugin 1.0.1.

"Events for Blue Ocean" doesn't show on the plugin list. I'd start there.

Really this instance should be updated to 2.19.1 which refuses to load plugins with unsatisfied dependencies, which this is likely a case of.

Reply all
Reply to author
Forward
0 new messages