-
Bug
-
Resolution: Fixed
-
Blocker
-
Windows, Jenkins 2.46.3, Blue Ocean version appears to be 1.0.1
-
Powered by SuggestiMate -
Blue Ocean 1.1, Blue Ocean 1.2-beta1
This morning, I updated from Jenkins 2.46.2 to 2.46.3 and then installed the "Blue Ocean" plugin.
When I access our Jenkins server using Chrome (I've not tried other browsers) and click the "Blue Ocean" button, the page appears to be loading, loading, loading [for as long as I care to wait] but never displays.
Access the console and I see this error:
blueocean.js:110391 Error initializing Jenkins JavaScript bundle "blueocean" Error: Unexpected error executing startup module
"../../src/main/js/init": Error: Must call ExtensionStore.init({
extensionData: array, typeInfoProvider: (type, cb) => ... }) first
at APromise.<anonymous> (blueocean.js:110304)
at Object.exports.make (blueocean.js:18365)
at __$$$__exec (blueocean.js:110299)
at __$$$__doBundleInit (blueocean.js:110386)
at Object.743.../../src/main/js/init (blueocean.js:110401)
at s (blueocean.js:1)
at e (blueocean.js:1) at blueocean.js:1
__$$$__doBundleInit @ blueocean.js:110391
I do not find anything in the log on our Jenkins server to give any further details regarding the issue.
- is related to
-
JENKINS-44881 Blue Ocean cannot be opened after upgrade: Chrome browser fluttering
-
- Closed
-
[JENKINS-44752] Blue Ocean will not load - ExtensionStore.init error
James, thanks for looking.
1. As far as I could see during installation, there were no errors reported. I don't know where to look to find any errors now. I've attached images showing the plugins installed that match pattern "ocean".
2. Will add the list of all plugins in a second comment in a minute.
3. HAR file will be sent shortly.
Hopefully this is readable...
Active Directory plugin
This plugin enables authentication through Active Directory.
2.4
Downgrade to 2.3
Uninstall
Ant Plugin
Adds Apache Ant support to Jenkins
1.4
Downgrade to 1.3
Uninstall
Audit Trail
Keep a log of who performed particular Jenkins operations, such as configuring jobs.
2.2
Downgrade to 2.1
Uninstall
Authentication Tokens API Plugin
This plugin provides an API for converting credentials into authentication tokens in Jenkins.
1.3
Uninstall
bouncycastle API Plugin
This plugin provides an stable API to Bouncy Castle related tasks.
2.16.1
Downgrade to 2.16.0
Uninstall
Branch API Plugin
This plugin provides an API for multiple branch based projects.
2.0.8
Downgrade to 2.0.2
Uninstall
Build Blocker Plugin
This plugin blocks a build if one of the given jobs is running. The blocking behaviour can be configured to block builds on node or global level and to scan the queue and block if blocking jobs are about to run.
1.7.3
Uninstall
Build Flow plugin
Manage jobs orchestration as a dedicated "build flow" top level item
0.20
Downgrade to 0.19
Uninstall
Build Monitor View
Provides a highly visible view of the status of selected Jenkins jobs. It easily accommodates different computer screen sizes and is ideal as an Extreme Feedback Device to be displayed on a screen on your office wall.
1.11+build.201701152243
Downgrade to 1.10+build.201611041949
Uninstall
Build Pipeline Plugin
This plugin renders upstream and downstream connected jobs that typically form a build pipeline. In addition, it offers the ability to define manual triggers for jobs that require intervention prior to execution, e.g. an approval process outside of Jenkins.
1.5.6
Downgrade to 1.5.4
Uninstall
build timeout plugin
This plugin allows builds to be automatically terminated after the specified amount of time has elapsed.
1.18
Downgrade to 1.17.1
Uninstall
build-name-setter
This plug-in sets the display name of a build to something other than #1, #2, #3, ...
1.6.5
Downgrade to 1.5.1
Uninstall
built-on-column
Shows the actual node that a job was built on
1.1
Uninstall
Common API for Blue Ocean
This plugin is a part of Blue Ocean UI
1.0.1
Uninstall
Conditional BuildStep
A buildstep wrapping any number of other buildsteps, controlling their execution based on a defined condition (e.g. BuildParameter).
1.3.5
Downgrade to 1.3.3
Uninstall
Config AutoRefresh Plugin
The Config AutoRefresh Plugin provides a way to configure the auto-refresh rate from the Jenkins UI.
1.0
Uninstall
Configuration Slicing plugin
Allows configuration of a single property across a group of projects
1.47
Downgrade to 1.45
Uninstall
Configure Job Column Plugin
The Configure Job Column Plugin provides a fast-path configure job link available for views.
1.0
Uninstall
Copy Artifact Plugin
Adds a build step to copy artifacts from another project.
1.38.1
Downgrade to 1.38
Uninstall
Credentials Binding Plugin
Allows credentials to be bound to environment variables for use from miscellaneous build steps.
1.11
Downgrade to 1.10
Uninstall
Credentials Plugin
This plugin allows you to store credentials in Jenkins.
2.1.13
Downgrade to 2.1.11
Uninstall
Cron Column Plugin
Column showing the cron trigger expressions that can be configured on a job (Subversion, Scheduled Builds etc).
1.4
Uninstall
CVS Plug-in
Integrates Jenkins with CVS version control system using a modified version of the Netbeans cvsclient.
2.13
Downgrade to 2.12
Uninstall
Dashboard for Blue Ocean
Blue Ocean Dashboard
1.0.1
Uninstall
Dashboard View
Customizable dashboard that can present various views of job information.
2.9.10
Uninstall
Delivery Pipeline Plugin
This plugin visualize Delivery Pipelines (Jobs with upstream/downstream dependencies)
1.0.0
Downgrade to 0.10.3
Uninstall
Display URL API
Provides the DisplayURLProvider extension point to provide alternate URLs for use in notifications
2.0
Downgrade to 1.1.1
Uninstall
Docker Commons Plugin
Provides the common shared functionality for various Docker-related plugins.
1.6
Uninstall
Docker Pipeline
Build and use Docker containers from pipelines.
1.10
Downgrade to 1.9.1
Uninstall
Durable Task Plugin
Library offering an extension point for processes which can run outside of Jenkins yet be monitored.
1.13
Downgrade to 1.12
Uninstall
Email Extension Plugin
This plugin is a replacement for Jenkins's email publisher
2.57.2
Downgrade to 2.57.1
Uninstall
Environment Injector Plugin
This plugin makes it possible to set an environment for the builds.
2.0
Downgrade to 1.93.1
Uninstall
Events API for Blue Ocean
Blue Ocean Events
1.0.1
Uninstall
External Monitor Job Type Plugin
Adds the ability to monitor the result of externally executed jobs
1.7
Downgrade to 1.6
Uninstall
EZ Templates
Allows you to use any job as a template for another job.
1.2.5
Downgrade to 1.2.3
Uninstall
Favorite
This plugin allows users to favorite a job.
2.3.0
Uninstall
Folders Plugin
This plugin allows users to create "folders" to organize jobs. Users can define custom taxonomies (like by project type, organization type etc). Folders are nestable and you can define views within folders. Maintained by CloudBees, Inc.
6.0.3
Downgrade to 6.0.2
Uninstall
Git client plugin
Utility plugin for Git support in Jenkins
2.4.5
Downgrade to 2.3.0
Uninstall
Git plugin
This plugin integrates Git with Jenkins.
3.3.0
Downgrade to 3.1.0
Uninstall
GIT server Plugin
Allows Jenkins to act as a Git server.
1.7
Uninstall
GitHub API Plugin
This plugin provides GitHub API for other plugins.
1.85.1
Uninstall
GitHub Branch Source Plugin
Multibranch projects and organization folders from GitHub. Maintained by CloudBees, Inc.
2.0.6
Uninstall
GitHub plugin
This plugin integrates GitHub to Jenkins.
1.27.0
Uninstall
Icon Shim Plugin
Allows plugins make full use of the <l:icon> layout tag when running on newer versions of Jenkins, while still being compatible with older versions.
2.0.3
Uninstall
Jackson 2 API Plugin
This plugin exposes the Jackson 2 JSON APIs to other Jenkins plugins.
2.7.3
Uninstall
Javadoc Plugin
1.4
Downgrade to 1.3
Uninstall
JavaScript GUI Lib: ACE Editor bundle plugin
JavaScript GUI Lib: ACE Editor bundle plugin.
1.1
Uninstall
JavaScript GUI Lib: Handlebars bundle plugin
JavaScript GUI Lib: Handlebars bundle plugin.
1.1.1
Uninstall
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin.
1.2.1
Uninstall
JavaScript GUI Lib: Moment.js bundle plugin
JavaScript GUI Lib: Moment.js bundle plugin.
1.1.1
Uninstall
JenkinsLint Plugin
The JenkinsLint Plugin detects whether your Jenkins configuration follows some best practices.
0.8.0
Downgrade to 0.5.0
Uninstall
Job Configuration History Plugin
Job history plugin for Jenkins.
2.16
Downgrade to 2.15
Uninstall
Job Import Plugin
The Job Import Plugin lets you import jobs from another Jenkins instance.
1.6
Downgrade to 1.5
Uninstall
JobFanIn
This plugin allows to trigger build on downstream project after ALL upstream projects are build successfuly
1.1.3
Downgrade to 1.1.2
Uninstall
Join plugin
Triggering a job after a group of jobs finish
1.21
Uninstall
jQuery plugin
This allows other plugins to use jQuery in UI.
1.11.2-0
Downgrade to 1.7.2-1
Uninstall
JUnit Plugin
Allows JUnit-format test results to be published.
1.20
Downgrade to 1.19
Uninstall
JWT for Blue Ocean
BlueOcean JWT plugin: Enables JWT based BlueOcean API authentication
1.0.1
Uninstall
LDAP Plugin
Adds LDAP authentication to Jenkins
1.14
Downgrade to 1.13
Uninstall
Mailer Plugin
This plugin allows you to configure email notifications for build results
1.20
Downgrade to 1.19
Uninstall
MapDB API Plugin
This plugin provides a shared dependency on the MapDB library so that other plugins can co-operate when using this library.
1.0.9.0
Downgrade to 1.0.6.0
Uninstall
Matrix Authorization Strategy Plugin
Offers matrix-based security authorization strategies (global and per-project).
1.5
Downgrade to 1.4
Uninstall
Matrix Project Plugin
Multi-configuration (matrix) project type.
1.10
Downgrade to 1.8
Uninstall
Maven Integration plugin
This plug-in provides deep integration of Jenkins and Maven. This functionality used to be part of the Jenkins core. Now it is a plug-in that is installed by default, but can be disabled.
2.15.1
Downgrade to 2.14
Uninstall
Metrics Plugin
This plugin exposes the Metrics API to Jenkins plugins.
3.1.2.10
Uninstall
Mission Control Plugin
Full screen dashboard view featuring build history, build queue, job and node statuses.
0.9.9
Downgrade to 0.9.8
Uninstall
Monitoring
Jenkins' monitoring with JavaMelody. Open report after installation.
1.65.1
Downgrade to 1.65.0
Uninstall
Multijob plugin
This plugin is a MultiJob plugin.
1.24
Downgrade to 1.23
Uninstall
Node and Label parameter plugin
The node and label parameter plugin allows to dynamically select the node on which a job should be executed.
1.7.2
Uninstall
OWASP Markup Formatter Plugin
Uses the OWASP Java HTML Sanitizer to allow safe-seeming HTML markup to be entered in project descriptions and the like.
1.5
Downgrade to 1.3
Uninstall
PAM Authentication plugin
Adds Unix Pluggable Authentication Module (PAM) support to Jenkins
1.3
Downgrade to 1.2
Uninstall
Parameterized Trigger plugin
2.33
Downgrade to 2.32
Uninstall
Pipeline
A suite of plugins that lets you orchestrate automation, simple or complex. See Pipeline as Code with Jenkins for more details.
2.5
Downgrade to 2.4
Uninstall
Pipeline Graph Analysis Plugin
Provides a REST API to access pipeline and pipeline run data.
1.3
Downgrade to 1.2
Uninstall
Pipeline REST API for Blue Ocean
This plugin is a part of BlueOcean Plugin
1.0.1
Uninstall
Pipeline: API
Plugin that defines Pipeline API.
2.13
Downgrade to 2.12
Uninstall
Pipeline: Basic Steps
Commonly used steps for Pipelines.
2.4
Downgrade to 2.3
Uninstall
Pipeline: Build Step
Adds the Pipeline step build to trigger builds of other jobs.
2.5
Downgrade to 2.4
Uninstall
Pipeline: Declarative Agent API
Replaced by Pipeline: Declarative Extension Points API plugin.
1.1.1
Downgrade to 1.0.2
Uninstall
Pipeline: Declarative Extension Points API
APIs for extension points used in Declarative Pipelines.
1.1.3
Downgrade to 1.1.1
Uninstall
Pipeline: Groovy
Pipeline execution engine based on continuation passing style transformation of Groovy scripts.
2.30
Downgrade to 2.29
Uninstall
Pipeline: Input Step
Adds the Pipeline step input to wait for human input or approval.
2.7
Downgrade to 2.5
Uninstall
Pipeline: Job
Defines a new job type for pipelines and provides their generic user interface.
2.10
Downgrade to 2.9
Uninstall
Pipeline: Milestone Step
Plugin that provides the milestone step
1.3.1
Downgrade to 1.3
Uninstall
Pipeline: Model API
Model API for Declarative Pipeline.
1.1.3
Downgrade to 1.1.1
Uninstall
Pipeline: Model Definition
An opinionated, declarative Pipeline.
1.1.3
Downgrade to 1.1.1
Uninstall
Pipeline: Multibranch
Enhances Pipeline plugin to handle branches better by automatically grouping builds from different branches.
2.14
Downgrade to 2.12
Uninstall
Pipeline: Nodes and Processes
Pipeline steps locking agents and workspaces, and running external processes that may survive a Jenkins restart or slave reconnection.
2.11
Downgrade to 2.10
Uninstall
Pipeline: REST API Plugin
Provides a REST API to access pipeline and pipeline run data.
2.6
Downgrade to 2.4
Uninstall
Pipeline: SCM Step
Adds a Pipeline step to check out or update working sources from various SCMs (version control).
2.4
Downgrade to 2.3
Uninstall
Pipeline: Shared Groovy Libraries
Shared libraries for Pipeline scripts.
2.8
Downgrade to 2.7
Uninstall
Pipeline: Stage Step
Adds the Pipeline step stage to delineate portions of a build.
2.2
Uninstall
Pipeline: Stage Tags Metadata
Library plugin for Pipeline stage tag metadata.
1.1.3
Downgrade to 1.1.1
Uninstall
Pipeline: Stage View Plugin
Pipeline Stage View Plugin.
2.6
Downgrade to 2.4
Uninstall
Pipeline: Step API
API for asynchronous build step primitive.
2.9
Downgrade to 2.8
Uninstall
Pipeline: Supporting APIs
Common utility implementations to build Pipeline Plugin
2.14
Downgrade to 2.13
Uninstall
Plain Credentials Plugin
Allows use of plain strings and files as credentials.
1.4
Downgrade to 1.3
Uninstall
Plugin Usage - Plugin
This plugin provides the possibility to analyze how often a plugin is being used in your jobs.
0.3
Uninstall
Pub-Sub "light" Bus
A simple Publish-Subscribe light-weight event bus for Jenkins
1.8
Uninstall
Rebuilder
This plugin is for rebuilding a job using the same parameters.
1.25
Uninstall
Resource Disposer Plugin
Dispose resources asynchronously. Utility plugin for resources that require more retries or take a long time to delete.
0.6
Uninstall
REST API for Blue Ocean
This plugin is a part of Blue Ocean UI
1.0.1
Uninstall
REST Implementation for Blue Ocean
This plugin is a part of Blue Ocean UI
1.0.1
Uninstall
Role-based Authorization Strategy
Enables authorization using a role-based strategy.
2.4.0
Downgrade to 2.3.2
Uninstall
Run Condition Plugin
Define conditions for the execution of build steps
1.0
Uninstall
Safe Restart Plugin
This plugin allows you to restart Jenkins safely.
0.3
Uninstall
SCM API Plugin
This plugin provides a new enhanced API for interacting with SCM systems.
2.1.1
Downgrade to 2.1.0
Uninstall
Script Security Plugin
Allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.
1.27
Downgrade to 1.25
Uninstall
Server Sent Events (SSE) Gateway Plugin
Server Sent Events (SSE) Gateway.
1.15
Uninstall
SSH Credentials Plugin
Allows storage of SSH credentials in Jenkins
1.13
Downgrade to 1.12
Uninstall
SSH Slaves plugin
Allows to launch agents over SSH, using a Java implementation of the SSH protocol.
1.17
Downgrade to 1.15
Uninstall
Structs Plugin
Library plugin for DSL plugins that need names for Jenkins objects.
1.6
Downgrade to 1.5
Uninstall
Subversion Plug-in
2.7.2
Downgrade to 2.7.1
Uninstall
ThinBackup
Backs up the most important global and job specific configuration files.
1.9
Downgrade to 1.7.4
Uninstall
Throttle Concurrent Builds Plug-in
This plugin allows for throttling the number of concurrent builds of a project running per node or globally.
1.9.0
Downgrade to 1.8.5
Uninstall
Token Macro Plugin
This plug-in adds reusable macro expansion capability for other plug-ins to use.
2.1
Downgrade to 2.0
Uninstall
Translation Assistance plugin
1.15
Downgrade to 1.14
Uninstall
user build vars plugin
This plugin is used to set user build variables: jenkins user name and id.
1.5
Downgrade to 1.4
Uninstall
Variant Plugin
This user-invisible library plugin allows other multi-modal plugins to behave differently depending on where they run.
1.1
Uninstall
View Job Filters
Create smart views with exactly the jobs you want. Your smart views can automatically include or exclude jobs by using things like the SCM path or type, the job type, build statuses or trends or triggers, relevance to the logged-in user, email recipients, Maven configuration, job parameterization, and user permissions. Mix and match filters to narrow down to exactly what you want.
1.27
Downgrade to 1.26
Uninstall
Web for Blue Ocean
Blue Ocean core
1.0.1
Uninstall
Windows Slaves Plugin
Allows you to connect to Windows machines and start slave agents on them.
1.3.1
Downgrade to 1.2
Uninstall
Workspace Cleanup Plugin
This plugin deletes the project workspace after a build is finished.
jamesdumay
This effects the default blue ocean docker image. It means the default image does not work at all.
bitwiseman there will be a new docker image out sometime today for Blue Ocean 1.1 - lets wait for that then confirm we can reproduce this problem.
Hello, I've the same problem but I'm not sure it's the same issue:
Uncaught (in promise) Error: refreshing apge at checkRefreshHeader (blueocean.js:2424) at <anonymous> checkRefreshHeader @ blueocean.js:2424
If I stop refresh on Chrome, blue progress bar progress but page is not displayed. Here is the plugins for BlueOcean I have:
Autofavorite for Blue Ocean Automatically favorites multibranch pipeline jobs when user is the author 1.0.0 Blue Ocean BlueOcean Aggregator 1.1.0 Blue Ocean Pipeline Editor The Blue Ocean Pipeline Editor is the simplest way for anyone wanting to get started with creating Pipelines in Jenkins 0.2.0 BlueOcean Display URL plugin This plugin generates BlueOcean specific URLs for the Display URL plugin. 2.0 bouncycastle API Plugin This plugin provides an stable API to Bouncy Castle related tasks. 2.16.1 Branch API Plugin This plugin provides an API for multiple branch based projects. 2.0.10 Common API for Blue Ocean This plugin is a part of Blue Ocean UI 1.1.0 Config API for Blue Ocean BlueOcean Analytics Tools plugin 1.1.0 Credentials Plugin This plugin allows you to store credentials in Jenkins. 2.1.14 Dashboard for Blue Ocean Blue Ocean Dashboard 1.1.0 Events API for Blue Ocean Blue Ocean Events 1.1.0 Git Pipeline for Blue Ocean BlueOcean Git SCM pipeline creator 1.1.0 GitHub Pipeline for Blue Ocean BlueOcean GitHub organization pipeline creator 1.1.0 i18n for Blue Ocean Blue Ocean Internationalization (i18n) Plugin. This plugin is a part of the Blue Ocean Plugin set. 1.1.0 JWT for Blue Ocean BlueOcean JWT plugin: Enables JWT based BlueOcean API authentication 1.1.0 Personalization for Blue Ocean Blue Ocean Personalization 1.1.0 Pipeline implementation for Blue Ocean This plugin is a part of BlueOcean Plugin 1.1.0 Pipeline SCM API for Blue Ocean This plugin is a part of BlueOcean Plugin 1.1.0 REST API for Blue Ocean This plugin is a part of Blue Ocean UI 1.1.0 REST Implementation for Blue Ocean This plugin is a part of Blue Ocean UI 1.1.0 Variant Plugin This user-invisible library plugin allows other multi-modal plugins to behave differently depending on where they run. 1.1 Web for Blue Ocean Blue Ocean core 1.1.0
ydubreuil this is the symptom of the problem you are fixing with the docker image
Right, so PR-1148 which is now merged should fix the issue. I followed up with PR-1151 so rtyler will be able to trigger a new build of the image.
We've deployed a new docker image jenkinsci/blueocean:1.1.0-77aad2de8dbb that contains a fix for this issue.
I understand that version 1.1.1 should address the issue. I've installed the available updates and they all showed as applied [some with a message that they will activate after restart]. I restarted Jenkins, however, I still get the "loading..." bar and console has 2 errors:
blueocean.js:110704 Error: Must call ExtensionStore.init(
{ extensionData: array, typeInfoProvider: (type, cb) => ... }) first at ExtensionStore.initExtensionPointList (blueocean.js:16702) at ExtensionStore.init (blueocean.js:16547) at Object.init (blueocean.js:17200) at Object.execute (blueocean.js:110034) at APromise.<anonymous> (blueocean.js:110702) at Object.exports.make (blueocean.js:18491) at ___$$$_exec (blueocean.js:110699) at ___$$$__doBundleInit (blueocean.js:110787) at Object.747.../../src/main/js/init (blueocean.js:110802) at s (blueocean.js:1)
blueocean.js:110792 Error initializing Jenkins JavaScript bundle "blueocean" Error: Unexpected error executing startup module "../../src/main/js/init": Error: Must call ExtensionStore.init(
{ extensionData: array, typeInfoProvider: (type, cb) => ... }) first at APromise.<anonymous> (blueocean.js:110705) at Object.exports.make (blueocean.js:18491) at __$$$_exec (blueocean.js:110699) at ___$$$__doBundleInit (blueocean.js:110787) at Object.747.../../src/main/js/init (blueocean.js:110802) at s (blueocean.js:1) at e (blueocean.js:1) at blueocean.js:1
This looks similar to the original error, but not identical.
Please advise.
Thank you.
I still get similar errors as before while using the 1.1.1 version. Exact error messages attached. Please advise.
I cleared "Cached images and files" [399MB worth], closed Chrome, opened Chrome, accessed Jenkins and clicked "Open Blue Ocean". I get what appear to be the same errors as before.
Interesting. When I click on each error, an additional line shows up. I've attached the errors again with this additional/last line.
Error: Must call ExtensionStore.init(
{ extensionData: array, typeInfoProvider: (type, cb) => ... }) first
at ExtensionStore._initExtensionPointList (blueocean.js:16702)
at ExtensionStore.init (blueocean.js:16547)
at Object.init (blueocean.js:17200)
at Object.execute (blueocean.js:110034)
at APromise.<anonymous> (blueocean.js:110702)
at Object.exports.make (blueocean.js:18491)
at __$$$__exec (blueocean.js:110699)
at __$$$__doBundleInit (blueocean.js:110787)
at Object.747.../../src/main/js/init (blueocean.js:110802)
at s (blueocean.js:1)
(anonymous) @ blueocean.js:110704
blueocean.js:110792 Error initializing Jenkins JavaScript bundle "blueocean" Error: Unexpected error executing startup module "../../src/main/js/init": Error: Must call ExtensionStore.init(
) first
at APromise.<anonymous> (blueocean.js:110705)
at Object.exports.make (blueocean.js:18491)
at __$$$__exec (blueocean.js:110699)
at __$$$__doBundleInit (blueocean.js:110787)
at Object.747.../../src/main/js/init (blueocean.js:110802)
at s (blueocean.js:1)
at e (blueocean.js:1)
at blueocean.js:1
__$$$__doBundleInit @ blueocean.js:110792
I don't know if that is helpful or not.
barnett2 a few other things to try - given this isn't related to 1.1 or 1.0.1 - there is a LOT of code that has changed so may need to broaden investigation. Could you do a fresh install of jenkins on your desktop (or somewhere) with blue ocean 1.1.2 (which is just out) - and try in the same browser? have you tried other browsers? Is there some content/ad blocker that is possibly changing something?
barnett2 hmm, the only thing I can think of is some plugin mismatch. Sometimes the plugin manager doesn't install plugins correctly.
Could you try the following:
- Shutdown Jenkins
- In your home directory "rm -rf plugins/blueocean*"
- Start Jenkins
- Reinstall Blue Ocean from the plugin manager
jamesdumay Shutting down, cleaning up and removing has had no impact. Same errors as before.
michaelneale I have a separate Jenkins instance running that has fewer plugins and way fewer jobs. It does not have this same issue. It is upgraded to the latest tools. I have not previously tried our production server with any other browsers. After the above shutdown, remove, restart, re-install steps above, I tried with Internet Explorer. Clicking the "open Blue Ocean" link loads and loads and.... and never seems to come back. I see no errors in the console or under network tabs. Similar behavior as on Chrome; blue bar showing loading, loading, ....
barnett2 before performing a clean install, could you perhaps check your Jenkins logs and see if there are any errors logged from the "JenkinsJSExtensions" class? I believe jamesdumay is right and this error is caused by a problem building the list of plugins that Blue Ocean consumes but would be good to get more insight from your logs if it's there.
barnett2 perhaps you could also "view source" in your browser and find the first script block on the page. You should see a line like this:
// State Preloader: io.jenkins.blueocean.config.JenkinsJSExtensionsStatePreloader setState('jsExtensions',
With a very long list of plugins after it. If you could paste or upload that snippet here that would help too.
cliffmeyers I see the following exceptions in the jenkins.err.log file:
Jun 19, 2017 10:41:03 AM org.jenkinsci.plugins.pubsub.listeners.SyncRunListener onFinalized
WARNING: Error publishing Run end event.
org.jenkinsci.plugins.pubsub.MessageException: Event enrichment failure due to unexpected exception in io.jenkins.blueocean.events.BlueMessageEnricher.
at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:135)
at org.jenkinsci.plugins.pubsub.listeners.SyncRunListener.onFinalized(SyncRunListener.java:68)
at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:257)
at hudson.model.Run.onEndBuilding(Run.java:1903)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:650)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1400(WorkflowRun.java:127)
at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:914)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1221)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:407)
at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35)
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:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at io.jenkins.blueocean.service.embedded.rest.QueueUtil.getQueuedItem(QueueUtil.java:24)
at io.jenkins.blueocean.events.BlueMessageEnricher.enrich(BlueMessageEnricher.java:96)
at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:133)
... 16 more
Jun 19, 2017 10:41:05 AM org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener publish
WARNING: Error publishing Run queued event.
org.jenkinsci.plugins.pubsub.MessageException: Event enrichment failure due to unexpected exception in io.jenkins.blueocean.events.BlueMessageEnricher.
at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:135)
at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.publish(SyncQueueListener.java:178)
at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.access$300(SyncQueueListener.java:57)
at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener$1.run(SyncQueueListener.java:106)
Caused by: java.lang.NullPointerException
at io.jenkins.blueocean.service.embedded.rest.QueueUtil.getQueuedItem(QueueUtil.java:24)
at io.jenkins.blueocean.events.BlueMessageEnricher.enrich(BlueMessageEnricher.java:96)
at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:133)
... 3 more
I have no specific errors from the JenkinsJSExtensions class.
I do not have any entry matching pattern "jsExtensions" in the source that has downloaded.
Could you please attach the page source content to this ticket? If you are concerned that may pose a security risk for your organization, you can e-mail it to me here:
cmeyers@cloudbees.com
or we can discuss a more secure mechanism in that e-mail thread.
Examining the page source content, I've noticed that the following preloader entries are missing:
// State Preloader: io.jenkins.blueocean.config.BlueOceanConfigStatePreloader setState('config', { ... }); // State Preloader: io.jenkins.blueocean.config.JenkinsJSExtensionsStatePreloader setState('jsExtensions', [ ... ]);
barnett2 I checked your plugin list and it appears that the "Config API for Blue Ocean" (aka "io.jenkins.blueocean.blueocean-config") is missing from the list. If it were not installed, it would explain the absence of this important data. Could you check to see if it's installed and if not, try adding it?
cliffmeyers I'm pretty sure it was there previously, but is not there now [after remove / restart above?]. I've added it, and now the error is different. I did not restart Jenkins as the plugin page did not dictate it was required.
First error:
/blue/rest/i18n/blueocean-web/1.1.2/jenkins.plugins.blueocean.web.Messages/en-US Failed to load resource: the server responded with a status of 404 (Not Found)
Second error:
blueocean.js:2439 Uncaught (in promise) Error: Not Found
at checkStatus (blueocean.js:2439)
at <anonymous>
Perhaps you could post the list of "Blue Ocean" plugins installed in your instance? I'm concerned that if one was missing previously that the full list may not be correct or you may have incompatible versions of other plugins. In particular check that "Web for Blue Ocean" is version 1.1.2 and not an older version.
cliffmeyers Please see below. I noticed a little bit ago that "Blue Ocean" isn't among the installed list. Perhaps removed during the remove / restart ... I have not added it, yet. Will wait for your feedback.
Below are 2 lists showing those installed and available which match "Blue Ocean".
Current list of installed plugins:
bouncycastle API Plugin
This plugin provides an stable API to Bouncy Castle related tasks.
2.16.1
Downgrade to 2.16.0
Uninstall
Branch API Plugin
This plugin provides an API for multiple branch based projects.
2.0.10
Downgrade to 2.0.8
Uninstall
Common API for Blue Ocean
This plugin is a part of Blue Ocean UI
1.1.2
Downgrade to 1.1.1
Uninstall
Config API for Blue Ocean
BlueOcean Analytics Tools plugin
1.1.2
Uninstall
Credentials Plugin
This plugin allows you to store credentials in Jenkins.
2.1.14
Downgrade to 2.1.13
Uninstall
Dashboard for Blue Ocean
Blue Ocean Dashboard
1.1.2
Downgrade to 1.1.1
Uninstall
Events API for Blue Ocean
Blue Ocean Events
1.1.2
Downgrade to 1.1.1
Uninstall
Favorite
This plugin allows users to favorite a job.
2.3.0
Uninstall
Folders Plugin
This plugin allows users to create "folders" to organize jobs. Users can define custom taxonomies (like by project type, organization type etc). Folders are nestable and you can define views within folders. Maintained by CloudBees, Inc.
6.0.4
Downgrade to 6.0.3
Uninstall
Git plugin
This plugin integrates Git with Jenkins.
3.3.0
Downgrade to 3.1.0
Uninstall
GitHub Branch Source Plugin
Multibranch projects and organization folders from GitHub. Maintained by CloudBees, Inc.
2.0.6
Uninstall
JUnit Plugin
Allows JUnit-format test results to be published.
1.20
Downgrade to 1.19
Uninstall
JWT for Blue Ocean
BlueOcean JWT plugin: Enables JWT based BlueOcean API authentication
1.1.2
Downgrade to 1.1.1
Uninstall
Mailer Plugin
This plugin allows you to configure email notifications for build results
1.20
Downgrade to 1.19
Uninstall
Metrics Plugin
This plugin exposes the Metrics API to Jenkins plugins.
3.1.2.10
Uninstall
Pipeline Graph Analysis Plugin
Provides a REST API to access pipeline and pipeline run data.
1.4
Downgrade to 1.3
Uninstall
Pipeline implementation for Blue Ocean
This plugin is a part of BlueOcean Plugin
1.1.2
Downgrade to 1.1.1
Uninstall
Pipeline SCM API for Blue Ocean
This plugin is a part of BlueOcean Plugin
1.1.2
Downgrade to 1.1.1
Uninstall
Pipeline: API
Plugin that defines Pipeline API.
2.17
Downgrade to 2.13
Uninstall
Pipeline: Groovy
Pipeline execution engine based on continuation passing style transformation of Groovy scripts.
2.36
Downgrade to 2.35
Uninstall
Pipeline: Input Step
Adds the Pipeline step input to wait for human input or approval.
2.7
Downgrade to 2.5
Uninstall
Pipeline: Job
Defines a new job type for pipelines and provides their generic user interface.
2.11
Downgrade to 2.10
Uninstall
Pipeline: Model Definition
An opinionated, declarative Pipeline.
1.1.6
Downgrade to 1.1.3
Uninstall
Pipeline: Multibranch
Enhances Pipeline plugin to handle branches better by automatically grouping builds from different branches.
2.15
Downgrade to 2.14
Uninstall
Pipeline: Nodes and Processes
Pipeline steps locking agents and workspaces, and running external processes that may survive a Jenkins restart or slave reconnection.
2.12
Downgrade to 2.11
Uninstall
Pipeline: Stage Step
Adds the Pipeline step stage to delineate portions of a build.
2.2
Uninstall
Pipeline: Step API
API for asynchronous build step primitive.
2.11
Downgrade to 2.9
Uninstall
Pipeline: Supporting APIs
Common utility implementations to build Pipeline Plugin
2.14
Downgrade to 2.13
Uninstall
Pub-Sub "light" Bus
A simple Publish-Subscribe light-weight event bus for Jenkins
1.8
Uninstall
REST API for Blue Ocean
This plugin is a part of Blue Ocean UI
1.1.2
Downgrade to 1.1.1
Uninstall
REST Implementation for Blue Ocean
This plugin is a part of Blue Ocean UI
1.1.2
Downgrade to 1.1.1
Uninstall
SCM API Plugin
This plugin provides a new enhanced API for interacting with SCM systems.
2.1.1
Downgrade to 2.1.0
Uninstall
Server Sent Events (SSE) Gateway Plugin
Server Sent Events (SSE) Gateway.
1.15
Uninstall
Variant Plugin
This user-invisible library plugin allows other multi-modal plugins to behave differently depending on where they run.
1.1
Uninstall
Web for Blue Ocean
Blue Ocean core
1.1.2
Downgrade to 1.1.1
Uninstall
"Available" plugins matching "Blue Ocean" :
Blue Ocean
Blue Ocean is a new project that rethinks the user experience of Jenkins. Designed from the ground up for Jenkins Pipeline and compatible with Freestyle jobs, Blue Ocean reduces clutter and increases clarity for every member of your team.
1.1.2
Git Pipeline for Blue Ocean
1.1.2
GitHub Pipeline for Blue Ocean
1.1.2
i18n for Blue Ocean
1.1.2
Personalization for Blue Ocean
1.1.2
Blue Ocean Pipeline Editor
The Blue Ocean Pipeline Editor is the simplest way for anyone wanting to get started with creating Pipelines in Jenkins
0.2.0
Autofavorite for Blue Ocean
Automatically favorites multibranch pipeline jobs when user is the author
1.0.0
Yes, please install "Blue Ocean" as it should pull in all the other plugin dependencies required for proper operation. After install / restart you should see the "available plugins matching blue ocean list" slim down considerably if not entirely.
cliffmeyers Thanks. I don't know which part of this solved the issue, but one [or more] of the following have resolved the problem and all errors are now gone:
1. Stop Jenkins, remove plugins/blueocean*, Start Jenkins, install some of the Blue Ocean components – apparently, I missed some.
2. Restart Jenkins.
3. Install the "Config API for Blue Ocean"
4. Install the "Blue Ocean" plugin – apparently missed during a prior step
5. Restart Jenkins
One thing I note is that the [Blue Ocean] link across the top of the Jenkins header is removed and is replaced by a "Open Blue Ocean" link in the left-hand navigation pane.
Not 100% sure which of the above steps solved the issue, but Blue Ocean is now working.
Thank you.
Glad that it's working! The "Open Blue Ocean" link was moved to the left navigation (in 1.1, IIRC) based on some user feedback.
From the issues you were facing, it sounds like the following problems occurred:
1. "Config API for Blue Ocean" was removed at some point, which led to the "Must call ExtensionStore.init() " error
2. "Web for Blue Ocean" was using an older incompatible version, which led to the 404 for the blueocean-web@1.1.2 I18N bundle.
Please let us know if you have any further issues.
yes plugins that bring in other dependencies can be tricky when you switch between beta versions, or want to remove (it is never easy). I suspected it may be this issue.
If you install the "Blue Ocean plugin" from the UC it will bring in the correct dependencies.
barnett2 sorry to hear that
Could you please
1. Check that all the blue ocean plugins installed without failures
2. Post a list of all of your installed plugins as a comment to this ticket
3. Capture a HAR file of the failed browser load and email it to me at jdumay@cloudbees.com