thanks David, latest pull have solved few but still it fails on "findbugs", any work-around I can try? on a hunch i'm thinking of commenting these lines of code, though not aware of the impact at the moment. ? ``` Downloaded: http://repo.jenkins-ci.org/public/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar (0 B at 0.0 KB/sec) [INFO] Fork Value is true [java] Warnings generated: 7 [INFO] Done FindBugs Analysis.... [INFO] [INFO] <<< findbugs-maven-plugin:3.0.3:check (findbugs) < :findbugs @ email-ext <<< [INFO] [INFO] — findbugs-maven-plugin:3.0.3:check (findbugs) @ email-ext — [INFO] BugInstance size is 7 [INFO] Error size is 0 [INFO] Total bugs: 7 [INFO] Possible null pointer dereference in hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisherContext) due to return value of called method [hudson.plugins.emailext.ExtendedEmailPublisher, hudson.plugins.emailext.ExtendedEmailPublisher] Dereferenced at ExtendedEmailPublisher.java:[line 595]Known null at ExtendedEmailPublisher.java:[line 595] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [INFO] Exception is caught when Exception is not thrown in hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisherContext) [hudson.plugins.emailext.ExtendedEmailPublisher] At ExtendedEmailPublisher.java:[line 462] REC_CATCH_EXCEPTION [INFO] Exception is caught when Exception is not thrown in hudson.plugins.emailext.plugins.EmailTriggerDescriptor._createDefault() [hudson.plugins.emailext.plugins.EmailTriggerDescriptor] At EmailTriggerDescriptor.java:[line 47] REC_CATCH_EXCEPTION [INFO] Found reliance on default encoding in hudson.plugins.emailext.plugins.content.AbstractEvalContent.getManagedFile(String): String.getBytes() [hudson.plugins.emailext.plugins.content.AbstractEvalContent] At AbstractEvalContent.java:[line 148] DM_DEFAULT_ENCODING [INFO] Possible null pointer dereference in hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider.addRecipients(ExtendedEmailPublisherContext, EnvVars, Set, Set, Set) due to return value of called method [hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider, hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider] Dereferenced at CulpritsRecipientProvider.java:[line 57]Known null at CulpritsRecipientProvider.java:[line 57] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [INFO] Possible null pointer dereference in hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider.addRecipients(ExtendedEmailPublisherContext, EnvVars, Set, Set, Set) due to return value of called method [hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider, hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider] Dereferenced at CulpritsRecipientProvider.java:[line 62]Known null at CulpritsRecipientProvider.java:[line 62] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [INFO] Possible null pointer dereference in hudson.plugins.emailext.plugins.recipients.FirstFailingBuildSuspectsRecipientProvider.addRecipients(ExtendedEmailPublisherContext, EnvVars, Set, Set, Set) due to return value of called method [hudson.plugins.emailext.plugins.recipients.FirstFailingBuildSuspectsRecipientProvider, hudson.plugins.emailext.plugins.recipients.FirstFailingBuildSuspectsRecipientProvider] Dereferenced at FirstFailingBuildSuspectsRecipientProvider.java:[line 87]Known null at FirstFailingBuildSuspectsRecipientProvider.java:[line 87] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [INFO] To see bug detail using the Findbugs GUI, use the following command "mvn findbugs:gui" [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:39 min [INFO] Finished at: 2016-07-24T11:08:52+05:30 [INFO] Final Memory: 58M/766M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:check (findbugs) on project email-ext: failed with 7 bugs and 0 errors -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:check (findbugs) on project email-ext: failed with 7 bugs and 0 errors at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: failed with 7 bugs and 0 errors at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:232) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:244) at org.codehaus.mojo.findbugs.FindbugsViolationCheckMojo.execute(FindbugsViolationCheckMojo.groovy:529) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException ``` |