-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins: 2.462.2.2 (CloudBees CI Client Controller)
Pipeline Github plugin Version: 2.8-159.09e4403bc62f
OS: Amazon Linux 2
Java:
openjdk version "17.0.6" 2023-01-17 LTS
OpenJDK Runtime Environment Zulu17.40+19-CA (build 17.0.6+10-LTS)
OpenJDK 64-Bit Server VM Zulu17.40+19-CA (build 17.0.6+10-LTS, mixed mode, sharing)Jenkins: 2.462.2.2 (CloudBees CI Client Controller) Pipeline Github plugin Version: 2.8-159.09e4403bc62f OS: Amazon Linux 2 Java: openjdk version "17.0.6" 2023-01-17 LTS OpenJDK Runtime Environment Zulu17.40+19-CA (build 17.0.6+10-LTS) OpenJDK 64-Bit Server VM Zulu17.40+19-CA (build 17.0.6+10-LTS, mixed mode, sharing)
I 'm using the issueCommentTrigger in my Multibranch pipeline. Works as expected for me. But I'm observed the following exception in Jenkins log when Jenkins was restarted. There was no trigger from GitHub so not sure why the pipeline tried to start at this moment.
Sep 11, 2024 7:24:45 AM SEVERE org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty startTriggersCan't start trigger.java.lang.NullPointerException: Cannot invoke "org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.getRepoOwner()" because "scmSource" is null at PluginClassLoader for pipeline-github//org.jenkinsci.plugins.pipeline.github.trigger.IssueCommentTrigger.getKey(IssueCommentTrigger.java:69) at PluginClassLoader for pipeline-github//org.jenkinsci.plugins.pipeline.github.trigger.IssueCommentTrigger.start(IssueCommentTrigger.java:50) at PluginClassLoader for pipeline-github//org.jenkinsci.plugins.pipeline.github.trigger.IssueCommentTrigger.start(IssueCommentTrigger.java:34) at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty.startTriggers(PipelineTriggersJobProperty.java:113) at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowJob.onLoad(WorkflowJob.java:151) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.AbstractFolder.loadChildren(AbstractFolder.java:381) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.AbstractFolder.onLoad(AbstractFolder.java:472) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.onLoad(ComputedFolder.java:211) at PluginClassLoader for branch-api//jenkins.branch.MultiBranchProject.onLoad(MultiBranchProject.java:185) at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject.onLoad(WorkflowMultiBranchProject.java:85) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.AbstractFolder.loadChildren(AbstractFolder.java:381) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.AbstractFolder.onLoad(AbstractFolder.java:472) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:113) at hudson.model.Items.load(Items.java:376) at jenkins.model.Jenkins$13.run(Jenkins.java:3525) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)