Will do, thanks Vivek.

FWIW, I was able to fix this myself and now understand what caused the 
issue. Huge props to all of you involved in making this thing "just work". 
It's still rare when I can get clone a GH repo, follow the README, and have 
everything work as advertised. Great job, everyone.

Marc 

On Saturday, June 18, 2016 at 3:04:31 AM UTC-4, vivek wrote:
>
> Line number is different as this class has gone thru some changes recently 
> but there is one place that could possibly cause NPE, I will get fix going 
> for this. Please open an Issue under blueocean-plugin at 
> issues.jenkins-ci.org.
>
> Caused by: java.lang.NullPointerException
>  at io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl.getCommitId
> (AbstractRunImpl.java:176)
>  ... 94 more
>
> thanks for reporting.,
>
> Vivek.
>
> On Sat, Jun 18, 2016 at 7:00 AM, Marc Esher <marc....@gmail.com 
> <javascript:>> wrote:
>
>> Hey all,
>>
>> I've installed all the blue ocean hpis, and all dependencies, into an 
>> existing Jenkins 2.9 server running on RHEL.
>>
>> Jenkins starts fine, and I get the "try blue ocean" button at the top of 
>> the screen.
>>
>> However, when I go to /blue, I get "no pipelines found", and if I go to 
>> the XHR that failed (http://myjenkins/blue/rest/search/?q=type:pipeline), 
>> I see the following stack trace.
>>
>> Any ideas?
>>
>> thanks!
>>
>> Marc
>>
>>
>>
>>
>> java.io.IOException: Failed to write commitId
>>  at org.kohsuke.stapler.export.Property.safeGetValue(Property.java:151)
>>  at org.kohsuke.stapler.export.Property.writeTo(Property.java:126)
>>  at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:227)
>>  at org.kohsuke.stapler.export.Property.writeValue(Property.java:279)
>>  at org.kohsuke.stapler.export.Property.writeValue(Property.java:168)
>>  at org.kohsuke.stapler.export.Property.writeTo(Property.java:139)
>>  at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:227)
>>  at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:223)
>>  at org.kohsuke.stapler.export.Model.writeTo(Model.java:198)
>>  at org.kohsuke.stapler.ResponseImpl.writeOne(ResponseImpl.java:285)
>>  at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:
>> 273)
>>  at hudson.model.Api.doJson(Api.java:211)
>>  at io.jenkins.blueocean.rest.pageable.PagedResponse$Processor$1.
>> generateResponse(PagedResponse.java:55)
>>  at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(
>> HttpResponseRenderer.java:124)
>>  at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(
>> HttpResponseRenderer.java:69)
>>  at org.kohsuke.stapler.Function.renderResponse(Function.java:119)
>>  at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.
>> java:102)
>>  at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
>>  at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.
>> java:58)
>>  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>>  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>>  at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>>  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>>  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>>  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686)
>>  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>>  at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>>  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>>  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>>  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:812
>> )
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1669)
>>  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:
>> 135)
>>  at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.
>> doFilter(Endpoint.java:209)
>>  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:
>> 132)
>>  at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.
>> doFilter(LessCSS.java:47)
>>  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:
>> 132)
>>  at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter
>> .java:95)
>>  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:126
>> )
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  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:93)
>>  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:76)
>>  at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  at org.kohsuke.stapler.compression.CompressionFilter.doFilter(
>> CompressionFilter.java:49)
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.
>> java:82)
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(
>> DiagnosticThreadNameFilter.java:30)
>>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
>> ServletHandler.java:1652)
>>  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
>> :585)
>>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.
>> java:143)
>>  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.
>> java:553)
>>  at org.eclipse.jetty.server.session.SessionHandler.doHandle(
>> SessionHandler.java:223)
>>  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
>> ContextHandler.java:1127)
>>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
>> 515)
>>  at org.eclipse.jetty.server.session.SessionHandler.doScope(
>> SessionHandler.java:185)
>>  at org.eclipse.jetty.server.handler.ContextHandler.doScope(
>> ContextHandler.java:1061)
>>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.
>> java:141)
>>  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
>> .java:97)
>>  at org.eclipse.jetty.server.Server.handle(Server.java:499)
>>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
>>  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.
>> java:257)
>>  at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java
>> :544)
>>  at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
>>  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.reflect.InvocationTargetException
>>  at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:606)
>>  at org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.
>> java:66)
>>  at org.kohsuke.stapler.export.Property.safeGetValue(Property.java:145)
>>  ... 89 more
>> Caused by: java.lang.NullPointerException
>>  at io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl.
>> getCommitId(AbstractRunImpl.java:176)
>>  ... 94 more
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/60a0e8af-e606-44b4-a60e-d0296f019063%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/60a0e8af-e606-44b4-a60e-d0296f019063%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/6e611ee0-3420-4eaf-934f-445da0320932%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to