Nullpointer exception in Jenkins 2.46.3

60 views
Skip to first unread message

Madhawa Gunasekara

unread,
Jan 18, 2018, 6:43:42 AM1/18/18
to Jenkins Users
Hi Devs,

I found this NPE when we try to build one of our repo using Jenkins. Any idea to avoid this issue. I found a similar issue with Jenkins older version [1]. but that issue is all ready fixed.

[1] https://issues.jenkins-ci.org/browse/JENKINS-20929

[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.carbon.mediation.templates.ui ---
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.NullPointerException
    at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42)
    at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
    at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:902)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    at hudson.model.Run.execute(Run.java:1728)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:405)
project=hudson.maven.MavenModuleSet@5cd176f5[platform-builds/carbon-mediation]

Thanks,

Daniel Beck

unread,
Jan 18, 2018, 8:43:19 AM1/18/18
to jenkins...@googlegroups.com

> On 18. Jan 2018, at 10:14, 'Madhawa Gunasekara' via Jenkins Users <jenkins...@googlegroups.com> wrote:
>
> ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com

This error mostly means you're on Maven Plugin 2.16 or older, superseded by 2.17 since July 2017. Please update your plugins to current versions, and report a bug as described on https://jenkins.io/redirect/report-an-issue if the problem persists.


Reply all
Reply to author
Forward
0 new messages