question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting nullpointer with v 3.0.0

See original GitHub issue

I am getting this NPE with v 3.0.0:

15:13:04 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.6:site (default-site) on project jfr-srv: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.6:site failed. NullPointerException -> [Help 1]
15:13:04 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.6:site (default-site) on project jfr-srv: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.6:site failed.
15:13:04 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
15:13:04 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
15:13:04 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
15:13:04 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
15:13:04 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
15:13:04 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
15:13:04 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
15:13:04 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
15:13:04 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
15:13:04 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
15:13:04 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
15:13:04 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
15:13:04 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
15:13:04 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:13:04 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
15:13:04 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
15:13:04 	at java.lang.reflect.Method.invoke(Method.java:498)
15:13:04 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
15:13:04 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
15:13:04 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
15:13:04 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
15:13:04 Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.6:site failed.
15:13:04 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
15:13:04 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
15:13:04 	... 20 more
15:13:04 Caused by: java.lang.NullPointerException
15:13:04 	at org.owasp.dependencycheck.Engine.writeReports(Engine.java:1089)
15:13:04 	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.runCheck(BaseDependencyCheckMojo.java:924)
15:13:04 	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.generate(BaseDependencyCheckMojo.java:660)
15:13:04 	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.generate(BaseDependencyCheckMojo.java:609)
15:13:04 	at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:238)
15:13:04 	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:337)
15:13:04 	at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:178)
15:13:04 	at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:132)
15:13:04 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
15:13:04 	... 21 more

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeremylongcommented, Oct 18, 2017

I’ll push a release shortly.

0reactions
lock[bot]commented, Sep 27, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting a null pointer Exception when updating JasperReports ...
Previously i was using JasperReports Version 3.0.0 and POI-2.5.1-final. Now, project requires a higher version of POI so i updated POI to 3.10.1 ......
Read more >
Springfox 3.0.0 is not working with Spring Boot 2.6.0 [duplicate]
I have this issue with SpringBoot 2.6.1 too (springfox-boot-starter 3.0.0). – Nicolas. Dec 9, 2021 at 17:12 · Only add @EnableWebMvc in main ......
Read more >
Null Pointer Exception Analyzing org.bouncycastle:bcprov ...
When I try to upgrade from 1.65.01 to 1.66 of this library: <dependency> <groupId>org.bouncycastle</groupId> ...
Read more >
WSM Server Throws Null Pointer Error After Upgrading To ...
The NullPointerException generated in the diagnostic log file is causing some concern even though the wsm_server shows its status to be in ...
Read more >
Predicting a data set fails with Java Null Pointer Exception
When predicting a data set, the process fails with a Null Pointer ... Returning corrupt email address - "v.3.0.6.1","1","0","500","0","0" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found