NPE is always a bug, please fill issue for artifactory-plugin component On Thursday, May 21, 2015 at 11:09:05 PM UTC+3, John Lemp wrote: > > Not sure if it is the same issue but we had the same error after upgrading > Jenkins and the artifactory plugin. The project settings for the > Artifactory plugin had no/empty values for "Resolution releases repository" > and "Resolution snapshots repository". After we set those values it > worked. > > On Tuesday, April 21, 2015 at 4:48:48 AM UTC-4, Alexander Dvorsky wrote: >> >> Hi there, >> >> >> >> Since this weekend we are encountering the following problem when we try >> to execute a maven project right after the SVN Update traces in the console >> output: >> >> >> >> ERROR: Processing failed due to a bug in the code. Please report this to >> ...... jenkinsci google group..... >> >> java.lang.RuntimeException: java.lang.NullPointerException >> >> at >> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) >> >> at >> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:926) >> >> at >> hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) >> >> at >> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) >> >> at >> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622) >> >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) >> >> at hudson.model.Run.execute(Run.java:1741) >> >> at >> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) >> >> at >> hudson.model.ResourceController.execute(ResourceController.java:98) >> >> at hudson.model.Executor.run(Executor.java:374) >> >> Caused by: java.lang.NullPointerException >> >> at >> org.jfrog.hudson.util.ExtractorUtils.setResolverInfo(ExtractorUtils.java:184) >> >> at >> org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:150) >> >> at >> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:128) >> >> ... 9 more >> >> project=hudson.maven.MavenModuleSet@49bcf9f0[3.8-IAS-Inc-Webadmin] >> >> >> project.getModules()=[hudson.maven.MavenModule@3252a7b0[3.8-IAS-Inc-Webadmin/com.vasco:webadmin][3.8-IAS-Inc-Webadmin/com.vasco:webadmin][relativePath:]] >> >> project.getRootModule() >> =hudson.maven.MavenModule@3252a7b0[3.8-IAS-Inc-Webadmin/com.vasco:webadmin][3.8-IAS-Inc-Webadmin/com.vasco:webadmin][relativePath >> :] >> >> FATAL: java.lang.NullPointerException >> >> java.lang.RuntimeException: java.lang.NullPointerException >> >> at >> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) >> >> at >> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:926) >> >> at >> hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) >> >> at >> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167) >> >> at >> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622) >> >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) >> >> at hudson.model.Run.execute(Run.java:1741) >> >> at >> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) >> >> at >> hudson.model.ResourceController.execute(ResourceController.java:98) >> >> at hudson.model.Executor.run(Executor.java:374) >> >> Caused by: java.lang.NullPointerException >> >> at >> org.jfrog.hudson.util.ExtractorUtils.setResolverInfo(ExtractorUtils.java:184) >> >> at >> org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:150) >> >> at >> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:128) >> >> ... 9 more >> >> >> >> I have never seen an error like this. Even our java guy is out of ideas… >> >> Have anyone of you encountered something like this and know how to >> "revive" my Maven Jobs? >> >> >> best regards, >> >> Alexander D. >> ... > >
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/95d3d71c-9802-4c96-880a-2c3a1f7e6f1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
