[BlueOcean] -> No matching rule was found on <hudson.model.AllView@257fc1dc[view/All/]> for "/blue"

404 views
Skip to first unread message

Ian Ceicys

unread,
Jun 1, 2016, 9:59:48 PM6/1/16
to Jenkins Developers
I was able to successfully build the latest version of source on my mac and I was able to successfully run the commands:
  1. mvn clean install
  2. mvn hpi:run
Jenkins is up and running and accessible at http://localhost:8080/jenkins/

However when I try to follow the instructions from the readme: https://github.com/jenkinsci/blueocean-plugin


I get the following error: 

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

-> evaluate(<hudson.model.Hudson@2b46dffb> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@2b46dffb>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@2b46dffb>.getDynamic("blue",...),"")
            hudson.mo...@2b46dffb.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@2b46dffb>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@257fc1dc[view/All/].getDynamic("blue",...)==null. Back tracking.
-> No matching rule was found on <hudson.model.AllView@257fc1dc[view/All/]> for "/blue"


I am must be missing something pretty obvious. I've tried the bath /blue and /blueocean but those don't work. 

Thanks for the help. 

Ian Ceicys

unread,
Jun 1, 2016, 10:29:35 PM6/1/16
to Jenkins Developers
I tried again and ran mvn hpi:run and it looks like the plugin is not loading correctly here is my log. 

XQA-Yosemite-1:blueocean-plugin ianceicys$ mvn hpi:run

[INFO] Scanning for projects...

[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 is missing, no dependency information available

[WARNING] Failed to build parent project for io.jenkins.blueocean:blueocean-parent:pom:1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Build Order:

[INFO] 

[INFO] Blue Ocean UI Parent

[INFO] BlueOcean :: Commons API

[INFO] BlueOcean :: Web module

[INFO] BlueOcean :: Rest module

[INFO] BlueOcean :: Dashboard

[INFO] BlueOcean :: REST API implementation

[INFO] BlueOcean :: Aggregator

[INFO]                                                                         

[INFO] ------------------------------------------------------------------------

[INFO] Building Blue Ocean UI Parent 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO] 

[INFO] >>> maven-hpi-plugin:1.117:run (default-cli) > compile @ blueocean-parent >>>

[INFO] 

[INFO] --- maven-enforcer-plugin:1.3.1:display-info (display-info) @ blueocean-parent ---

[INFO] Maven Version: 3.3.9

[INFO] JDK Version: 1.7.0_71 normalized as: 1.7.0-71

[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.11.5

[INFO] 

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (display-info) @ blueocean-parent ---

[INFO] 

[INFO] --- maven-localizer-plugin:1.23:generate (default) @ blueocean-parent ---

[INFO] 

[INFO] >>> maven-javadoc-plugin:2.10.1:javadoc (default) > generate-sources @ blueocean-parent >>>

[INFO] 

[INFO] --- maven-enforcer-plugin:1.3.1:display-info (display-info) @ blueocean-parent ---

[INFO] Maven Version: 3.3.9

[INFO] JDK Version: 1.7.0_71 normalized as: 1.7.0-71

[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.11.5

[INFO] 

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (display-info) @ blueocean-parent ---

[INFO] 

[INFO] --- maven-localizer-plugin:1.23:generate (default) @ blueocean-parent ---

[INFO] 

[INFO] <<< maven-javadoc-plugin:2.10.1:javadoc (default) < generate-sources @ blueocean-parent <<<

[INFO] 

[INFO] --- maven-javadoc-plugin:2.10.1:javadoc (default) @ blueocean-parent ---

[INFO] 

[INFO] <<< maven-hpi-plugin:1.117:run (default-cli) < compile @ blueocean-parent <<<

[INFO] 

[INFO] --- maven-hpi-plugin:1.117:run (default-cli) @ blueocean-parent ---

[INFO] Logging initialized @10802ms

[WARNING] Please use `webApp/contextPath` configuration parameter in place of the deprecated `contextPath` parameter

[INFO] Skipping Blue Ocean UI Parent because it's not <packaging>hpi</packaging>

[INFO] Copying dependency Jenkins plugin /Users/ianceicys/.m2/repository/org/jenkins-ci/ui/bootstrap/1.3.2/bootstrap-1.3.2.hpi

[WARNING] will not overwrite /Users/ianceicys/Documents/github/blueocean-plugin/work/plugins/jquery-detached.jpi with /Users/ianceicys/.m2/repository/org/jenkins-ci/ui/jquery-detached/1.2/jquery-detached-1.2.hpi because it is newer

[INFO] Copying dependency Jenkins plugin /Users/ianceicys/.m2/repository/org/jenkins-ci/ui/jquery-detached/1.2.1/jquery-detached-1.2.1.hpi

[INFO] Copying dependency Jenkins plugin /Users/ianceicys/.m2/repository/org/jenkins-ci/ui/handlebars/1.1.1/handlebars-1.1.1.hpi

[INFO] Configuring Jetty for project: Blue Ocean UI Parent

[INFO] /Users/ianceicys/Documents/github/blueocean-plugin/target/tmp/webapp already up to date with respect to /Users/ianceicys/.m2/repository/org/jenkins-ci/main/jenkins-war/2.2/jenkins-war-2.2.war

[INFO] Context path = /jenkins

[INFO] Tmp directory = /Users/ianceicys/Documents/github/blueocean-plugin/target/tmp

[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml

[INFO] Web overrides =  none

[INFO] jetty-9.2.15.v20160210

[WARNING] No value for env-entry-name HUDSON_HOME

Jenkins home directory: /Users/ianceicys/Documents/github/blueocean-plugin/work found at: System.getProperty("JENKINS_HOME")

[INFO] Started o.e.j.m.p.JettyWebAppContext@6b638323{/jenkins,file:/Users/ianceicys/Documents/github/blueocean-plugin/target/tmp/webapp/,AVAILABLE}{/Users/ianceicys/.m2/repository/org/jenkins-ci/main/jenkins-war/2.2/jenkins-war-2.2.war}

[WARNING] !RequestLog

[INFO] Started ServerConnector@7b61ba2d{HTTP/1.1}{0.0.0.0:8080}

[INFO] Started @16040ms

[INFO] Started Jetty Server

[INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.

Jun 01, 2016 10:21:40 PM jenkins.InitReactorRunner$1 onAttained

INFO: Started initialization

Jun 01, 2016 10:21:41 PM jenkins.InitReactorRunner$1 onAttained

INFO: Listed all plugins

Jun 01, 2016 10:21:41 PM jenkins.InitReactorRunner$1 onTaskFailed

SEVERE: Failed Loading plugin blueocean-rest

java.io.IOException: Dependency blueocean-commons (1.0-SNAPSHOT), blueocean-web (1.0-SNAPSHOT) doesn't exist

at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:523)

at hudson.PluginManager$2$1$1.run(PluginManager.java:414)

at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)

at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

at jenkins.model.Jenkins$7.runTask(Jenkins.java:996)

at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

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)


Jun 01, 2016 10:21:41 PM jenkins.InitReactorRunner$1 onTaskFailed

SEVERE: Failed Loading plugin blueocean-rest-impl

java.io.IOException: Dependency blueocean-rest (1.0-SNAPSHOT) doesn't exist

at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:523)

at hudson.PluginManager$2$1$1.run(PluginManager.java:414)

at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)

at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

at jenkins.model.Jenkins$7.runTask(Jenkins.java:996)

at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

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)


Jun 01, 2016 10:21:41 PM jenkins.InitReactorRunner$1 onTaskFailed

SEVERE: Failed Loading plugin blueocean

java.io.IOException: Dependency blueocean-rest (1.0-SNAPSHOT), blueocean-dashboard (1.0-SNAPSHOT), blueocean-rest-impl (1.0-SNAPSHOT), blueocean-commons (1.0-SNAPSHOT), blueocean-web (1.0-SNAPSHOT) doesn't exist

at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:523)

at hudson.PluginManager$2$1$1.run(PluginManager.java:414)

at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)

at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

at jenkins.model.Jenkins$7.runTask(Jenkins.java:996)

at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

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)


Jun 01, 2016 10:21:45 PM jenkins.InitReactorRunner$1 onAttained

INFO: Prepared all plugins

Jun 01, 2016 10:21:46 PM jenkins.InitReactorRunner$1 onAttained

INFO: Started all plugins

Jun 01, 2016 10:21:46 PM jenkins.InitReactorRunner$1 onAttained

INFO: Augmented all extensions

Jun 01, 2016 10:21:46 PM jenkins.InitReactorRunner$1 onAttained

INFO: Loaded all jobs

Jun 01, 2016 10:21:46 PM hudson.model.AsyncPeriodicWork$1 run

INFO: Started Download metadata

Jun 01, 2016 10:21:46 PM hudson.model.AsyncPeriodicWork$1 run

INFO: Finished Download metadata. 2 ms

Jun 01, 2016 10:21:47 PM org.jenkinsci.main.modules.sshd.SSHD start

INFO: Started SSHD at port 55531

Jun 01, 2016 10:21:47 PM jenkins.InitReactorRunner$1 onAttained

INFO: Completed initialization

Jun 01, 2016 10:21:47 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh

INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@78b1d892: display name [Root WebApplicationContext]; startup date [Wed Jun 01 22:21:47 EDT 2016]; root of context hierarchy

Jun 01, 2016 10:21:47 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory

INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@78b1d892]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5fb1b82c

Jun 01, 2016 10:21:47 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons

INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5fb1b82c: defining beans [authenticationManager]; root of factory hierarchy

Jun 01, 2016 10:21:47 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh

INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@70cd7f42: display name [Root WebApplicationContext]; startup date [Wed Jun 01 22:21:47 EDT 2016]; root of context hierarchy

Jun 01, 2016 10:21:47 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory

INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@70cd7f42]: org.springframework.beans.factory.support.DefaultListableBeanFactory@70c82547

Jun 01, 2016 10:21:47 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons

INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@70c82547: defining beans [filter,legacy]; root of factory hierarchy

Jun 01, 2016 10:21:47 PM hudson.WebAppMain$3 run

INFO: Jenkins is fully up and running





On Wednesday, June 1, 2016 at 9:59:48 PM UTC-4, Ian Ceicys wrote:
I was able to successfully build the latest version of source on my mac and I was able to successfully run the commands:
  1. mvn clean install
  2. mvn hpi:run
Jenkins is up and running and accessible at http://localhost:8080/jenkins/

However when I try to follow the instructions from the readme: https://github.com/jenkinsci/blueocean-plugin


I get the following error: 

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

-> evaluate(<hudson.model.Hudson@2b46dffb> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@2b46dffb>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@2b46dffb>.getDynamic("blue",..
.),"")
            hudson.model.Hudson@2b46dffb.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@2b46dffb>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@257fc1dc[view/All/].getDynamic("blue",...)==null. Back tracking.
-> No matching rule was found on <hudson.model.AllView@257fc1dc[view/All/]> for "/blue"

Michael Neale

unread,
Jun 2, 2016, 12:10:19 AM6/2/16
to Jenkins Developers
Did you run "mvn clean install" from the parent, and then mvn hpi:run from blueocean-plugin directory?


On Thursday, June 2, 2016 at 11:59:48 AM UTC+10, Ian Ceicys wrote:
I was able to successfully build the latest version of source on my mac and I was able to successfully run the commands:
  1. mvn clean install
  2. mvn hpi:run
Jenkins is up and running and accessible at http://localhost:8080/jenkins/

However when I try to follow the instructions from the readme: https://github.com/jenkinsci/blueocean-plugin


I get the following error: 

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

-> evaluate(<hudson.model.Hudson@2b46dffb> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@2b46dffb>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@2b46dffb>.getDynamic("blue",..
.),"")
            hudson.model.Hudson@2b46dffb.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@2b46dffb>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@257fc1dc[view/All/].getDynamic("blue",...)==null. Back tracking.
-> No matching rule was found on <hudson.model.AllView@257fc1dc[view/All/]> for "/blue"

Michael Neale

unread,
Jun 2, 2016, 12:52:01 AM6/2/16
to Jenkins Developers
Hi - I did a fresh checkout of the latest, and wasn't able to see this. 

I am on OSX (El Capitain) with JDK8 installed. What is your environment? 

Tom Fennelly

unread,
Jun 2, 2016, 3:37:56 AM6/2/16
to Jenkins Developers
The error ....

java.io.IOException: Dependency blueocean-commons (1.0-SNAPSHOT), blueocean-web (1.0-SNAPSHOT) doesn't exist

... strongly suggests that "all" of the plugins are not built before doing hpi:run.

To fix this ... run "mvn clean install" from the top level folder of the blueocean repo clone i.e. the parent folder ot "blueocean-commons", "blueocean-rest" etc. After getting a successful here, cd into "blueocean-plugin" (sibling dir of "blueocean-rest" etc --- yes, it's confusing because the repo also has this name ... we will fix this) and run "mvn hpi:run".


On Thursday, June 2, 2016 at 2:59:48 AM UTC+1, Ian Ceicys wrote:
I was able to successfully build the latest version of source on my mac and I was able to successfully run the commands:
  1. mvn clean install
  2. mvn hpi:run
Jenkins is up and running and accessible at http://localhost:8080/jenkins/

However when I try to follow the instructions from the readme: https://github.com/jenkinsci/blueocean-plugin


I get the following error: 

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

-> evaluate(<hudson.model.Hudson@2b46dffb> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@2b46dffb>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@2b46dffb>.getDynamic("blue",..
.),"")
            hudson.model.Hudson@2b46dffb.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@2b46dffb>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@257fc1dc[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@257fc1dc[view/All/].getDynamic("blue",...)==null. Back tracking.
-> No matching rule was found on <hudson.model.AllView@257fc1dc[view/All/]> for "/blue"

Ian Ceicys

unread,
Jun 2, 2016, 7:39:03 AM6/2/16
to Jenkins Developers
Works! Those steps (cd into "blueocean-plugin" (sibling dir of "blueocean-rest") and running mvn hpi:run works. Can the readme be updated for future contributors?

Thanks for the assist much appreciated.

Jesse Glick

unread,
Jun 2, 2016, 9:13:40 AM6/2/16
to Jenkins Dev
On Thu, Jun 2, 2016 at 3:37 AM, Tom Fennelly <tom.fe...@gmail.com> wrote:
> run "mvn clean install" from the top level folder […]
> After getting a successful here, cd into "blueocean-plugin" […]
> and run "mvn hpi:run".

For the record:

https://issues.apache.org/jira/browse/MNG-5059
https://github.com/jenkinsci/maven-hpi-plugin/pull/25

Michael Neale

unread,
Jun 2, 2016, 9:59:17 PM6/2/16
to Jenkins Developers
Right yes, I can see that is confusing (given the rename of the repo). 

Will see if can make that clearer. It looks like there is a fix in the works for the hpi plugin that will make this problem go away at some point as well. 
Reply all
Reply to author
Forward
0 new messages