[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Kamil Mackow commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Nick Jones that solved my issue as well, thank you! Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189812.1523357354000.8367.1586376600397%40Atlassian.JIRA.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Nick Jones commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites In our case the culprit was not restarting the Jenkins instance after the initial install of all the Blue Ocean plugins (including Autofavorite), which is not normally required when installing a new plugin. Every first build of a new branch/PR failed with this problem after that. Our solution was uninstalling every one of the Blue Ocean plugins (which was painful, given how many there are), restarting Jenkins to complete the uninstall, installing Blue Ocean plugins again, and restarting Jenkins again (the step we'd missed before). After that, it has worked perfectly. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189812.1523357354000.4383.1579789385581%40Atlassian.JIRA.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Jay Ache I'm not aware of anyone working on it. If you have a Java development environment, you could propose a pull request. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189812.1523357354000.4335.1579786440909%40Atlassian.JIRA.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Jay Ache commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Still not fixed, Blue Ocean 1.21.0, Autofavorite for Blue Ocean 1.2.4, Jenkins 2.150.3 Anyone working on this? I probably have to completely remove Blue Ocean from our pipeline because of this little Autofavorite bug (I can't use Christian Häussler's suggestions of -DBLUEOCEAN_FEATURE_AUTOFAVORITE_ENABLED=false because I don't have admin access to my team's Jenkins instance). Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189812.1523357354000.4127.1579766280418%40Atlassian.JIRA.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Thanks for that pointer Christian Häussler! I have enough jobs in my Jenkins server that I find the Blue Ocean autofavorite plugin more of a hindrance than a help. You've now given me a setting that may avoid me getting favorites that aren't actually my favorites. JENKINS-47214 describes that property. It is also mentioned in the plugin release notes for release 1.2.1 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189812.1523357354000.19708.1557232201911%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Christian Häussler commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Could that help as a Workaround? -DBLUEOCEAN_FEATURE_AUTOFAVORITE_ENABLED=false Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Christian Häussler commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites We have the same issue with: Blue Ocean 1.9.1, Autofavorite 1.2.2 and Jenkins 2.138.41.0.1-fixed java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:70) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title J P commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Any plans to fix? Same issue today. Blue Ocean 1.14.0, Autofavorite 1.2.3. This got a lot of people really upset when we found out about it. Not a nice time. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Nick Jones edited a comment on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites We installed Blue Ocean this morning (latest released versions of all plugins) and immediately started having the first build of every new branch/PR fail due to this bug. I'm going to uninstall. In our case, it was Blue Ocean 1.14.0, Autofavorite 1.2.3, and Jenkins 2.164.1 LTS. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Nick Jones commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites We installed Blue Ocean this morning (latest released versions of all plugins) and immediately started having the first build of every new branch/PR fail due to this bug. I'm going to uninstall. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Guy Arad commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Mark Waite it didn't resolved the issue for me. Blue Ocean 1.13.2 Autofavorite 1.2.3 Jenkins 2.150.3 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Jacques-Etienne Beaudet have you installed the 1.2.3 version of Autofavorite for Blue Ocean? That resolved the issue for me. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Jacques-Etienne Beaudet commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Chiming in to report the same issue, jenkins 2.150.2 and blue 1.11.1 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Stewart Bryson you can either use the build from my github repository or build it yourself. That build resolves the issues I've seen. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Stewart Bryson edited a comment on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I get this with every single PR I open. And it only started in the last month... so I'm not exactly sure if it's related to this thread which was opened months ago. But... the error stack is exactly the same, which you can see below.Jenkins: 2.159 Blue Ocean: 1.10.1Autofavoriate: 1.2.2 Are people just dealing with this? I'm seriously looking at dumping Jenkins for this. Every single PR fails until I run it manually the first time.{code:java}java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:70) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Finished: FAILURE{code} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Stewart Bryson edited a comment on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I get this with every single PR I open. And it only started in the last month... so I'm not exactly sure if it's related to this thread which was opened months ago. But... there the error stack is exactly the same, which you can see below. Jenkins: 2.159 Are people just dealing with this? I'm seriously looking at dumping Jenkins for this. Every single PR fails until I run it manually the first time.{code:java}java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:70) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Finished: FAILURE{code} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Stewart Bryson commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I get this with every single PR I open. And it only started in the last month... so I'm not exactly sure if it's related to this thread which was opened months ago. But... there error stack is exactly the same, which you can see below. Are people just dealing with this? I'm seriously looking at dumping Jenkins for this. Every single PR fails until I run it manually the first time. java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:70) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite edited a comment on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I've seen the same problem with Jenkins 2.138.1, Blue Ocean 1.8.4, and autofavoriting plugin 1.2.2.I built the tip of the plugin development branch and confirmed that the tip of the branch does not fail the builds. The build is available in [my github repository|https://github.com/MarkEWaite/docker-lfs/blob/02b72ca50f00447fd9824624544f1d8581665dec/ref/plugins/blueocean-autofavorite.jpi] if someone else needs it before the official release. I recommend the tip of the branch be released so that this bug is fixed. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite edited a comment on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I've seen the same problem with Jenkins 2.138.1, Blue Ocean 1.8.4, and autofavoriting plugin 1.2.2 .I built the tip of the plugin development branch and confirmed that the tip of the branch does not fail the builds.I recommend the tip of the branch be released so that this bug is fixed. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Mark Waite commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites I've seen the same problem with Jenkins 2.138.1, Blue Ocean 1.8.4, and autofavoriting plugin 1.2.2 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Bhamidi Kishore commented on JENKINS-50715 Re: Pipeline fails with NPE due to Blue Ocean favorites Any update on this please? First build of new branch in multibranch build fails with below error java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:109) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:127) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:260) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) Jenkins version: 2.89.4 Blue Ocean Plugin: 1.5.0 Autofavorite for Blue Ocean: 1.2.2 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-50715) Pipeline fails with NPE due to Blue Ocean favorites
Title: Message Title Renato Rosa created an issue Jenkins / JENKINS-50715 Pipeline fails with NPE due to Blue Ocean favorites Issue Type: Bug Assignee: Unassigned Components: blueocean-plugin Created: 2018-04-10 10:49 Environment: Jenkins version: 2.114 Blue Ocean version: 1.4.2 Labels: blueocean Priority: Major Reporter: Renato Rosa This was a new branch, and this was the first time it was built in a multi-branch pipeline. [Pipeline] End of Pipeline java.lang.NullPointerException at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:109) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:127) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor