[JIRA] (JENKINS-38844) NPE using the Plugin in a pipeline

1 view
Skip to first unread message

rabu@trash-mail.com (JIRA)

unread,
Oct 9, 2016, 2:41:01 PM10/9/16
to jenkinsc...@googlegroups.com
rabu rabu created an issue
 
Jenkins / Bug JENKINS-38844
NPE using the Plugin in a pipeline
Issue Type: Bug Bug
Assignee: Rafael Pestano
Components: last-changes-plugin
Created: 2016/Oct/09 6:40 PM
Environment: Jenkins 2.19.1
OpenJDK 1.8_102
Priority: Blocker Blocker
Reporter: rabu rabu

The plugin does not work in combination with a standard multibranch pipeline project. I have added a pipeline step for the LastChangesPublisher, which has been suggested by the snippet generator.

My Jenkinsfile looks like:

node('master') {
stage('prep')

{ checkout scm step([$class: 'LastChangesPublisher', format: 'LINE', matchWordsThreshold: '0.25', matching: 'NONE', matchingMaxComparisons: '1000', showFiles: true, synchronisedScroll: true]) }

}

My SCM system is Git and configured in the project configuration. As soon as Jenkins reaches the LastChangesPublisher step, the job exists with the following NPE:

java.lang.NullPointerException
at com.github.jenkins.lastchanges.LastChangesPublisher.perform(LastChangesPublisher.java:97)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
at hudson.security.ACL.impersonate(ACL.java:221)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
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)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

dzmitrykashlach@gmail.com (JIRA)

unread,
Oct 11, 2016, 5:47:05 AM10/11/16
to jenkinsc...@googlegroups.com
Zmicer Kashlach assigned an issue to Zmicer Kashlach
Change By: Zmicer Kashlach
Assignee: Rafael Pestano Zmicer Kashlach

dzmitrykashlach@gmail.com (JIRA)

unread,
Oct 11, 2016, 5:48:05 AM10/11/16
to jenkinsc...@googlegroups.com
Zmicer Kashlach assigned an issue to Rafael Pestano
Change By: Zmicer Kashlach
Assignee: Zmicer Kashlach Rafael Pestano

rmpestano@gmail.com (JIRA)

unread,
Oct 19, 2016, 12:32:01 PM10/19/16
to jenkinsc...@googlegroups.com
Rafael Pestano commented on Bug JENKINS-38844
 
Re: NPE using the Plugin in a pipeline

Hi guys,

I still have no time for this issue, maybe next month, meanwhile anyone wants to give a try and provide a pull request?

Thanks for the feedback.

s_destre@yahoo.fr (JIRA)

unread,
Feb 27, 2017, 6:54:01 AM2/27/17
to jenkinsc...@googlegroups.com

Hi,

any news on this issue ? I'll be glad to help, but this is out of my domain

Reply all
Reply to author
Forward
0 new messages