Nullpointer exception in Jenkins 2.46.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nullpointer exception in Jenkins 2.46.3

Madhawa Gunasekara
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 [hidden email]
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,

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d6c58495-dbc1-421f-b38d-5207f9207ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Nullpointer exception in Jenkins 2.46.3

Daniel Beck

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

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.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/E032D2A7-5EB4-4A43-A2F0-9114C2DF3423%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.