org.apache.velocity.exception.MethodInvocationException: Invocation of method 'url' in class org.owasp.dependencycheck.reporting.EscapeTool threw exception java.lang.NullPointerException at templates/HtmlReport.vsl[line 568, column 122]

Google Groups | Tim Webster | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    error during analysis

    Google Groups | 2 years ago | Tim Webster
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'url' in class org.owasp.dependencycheck.reporting.EscapeTool threw exception java.lang.NullPointerException at templates/HtmlReport.vsl[line 568, column 122]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. marcbouvierdav 2 times, last 3 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.net.URLEncoder.encode()
  2. Java RT
    URLEncoder.encode
    1. java.net.URLEncoder.encode(URLEncoder.java:205)[16:27:54]
    1 frame
  3. Dependency-Check Core
    EscapeTool.url
    1. org.owasp.dependencycheck.reporting.EscapeTool.url(EscapeTool.java:47)[16:27:54]
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[16:27:54]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[16:27:54]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[16:27:54]
    4. java.lang.reflect.Method.invoke(Method.java:606)[16:27:54]
    4 frames
  5. Apache Velocity
    VelocityEngine.evaluate
    1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)[16:27:54]
    2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)[16:27:54]
    3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)[16:27:54]
    4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)[16:27:54]
    5. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)[16:27:54]
    6. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)[16:27:54]
    7. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)[16:27:54]
    8. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)[16:27:54]
    9. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)[16:27:54]
    10. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)[16:27:54]
    11. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)[16:27:54]
    12. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)[16:27:54]
    13. org.apache.velocity.runtime.RuntimeInstance.render(RuntimeInstance.java:1378)[16:27:54]
    14. org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1314)[16:27:54]
    15. org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:272)[16:27:54]
    15 frames
  6. Dependency-Check Core
    ReportGenerator.generateReports
    1. org.owasp.dependencycheck.reporting.ReportGenerator.generateReport(ReportGenerator.java:255)[16:27:54]
    2. org.owasp.dependencycheck.reporting.ReportGenerator.generateReport(ReportGenerator.java:307)[16:27:54]
    3. org.owasp.dependencycheck.reporting.ReportGenerator.generateReports(ReportGenerator.java:173)[16:27:54]
    4. org.owasp.dependencycheck.reporting.ReportGenerator.generateReports(ReportGenerator.java:203)[16:27:54]
    4 frames
  7. Dependency-Check Maven Plugin
    BaseDependencyCheckMojo.execute
    1. org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.writeReports(BaseDependencyCheckMojo.java:817)[16:27:54]
    2. org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:83)[16:27:54]
    3. org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:342)[16:27:54]
    3 frames
  8. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)[16:27:54]
    1 frame
  9. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)[16:27:54]
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)[16:27:54]
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)[16:27:54]
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)[16:27:54]
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)[16:27:54]
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)[16:27:54]
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)[16:27:54]
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)[16:27:54]
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)[16:27:54]
    9 frames
  10. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)[16:27:54]
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)[16:27:54]
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)[16:27:54]
    3 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[16:27:54]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[16:27:54]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[16:27:54]
    4. java.lang.reflect.Method.invoke(Method.java:606)[16:27:54]
    4 frames
  12. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)[16:27:54]
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)[16:27:54]
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)[16:27:54]
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)[16:27:54]
    4 frames