Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium failed. NullPointerException #13

Closed
SiKing opened this issue Apr 15, 2014 · 3 comments
Labels
Milestone

Comments

@SiKing
Copy link

SiKing commented Apr 15, 2014

Running with version 1.0.1 (verified on Windows and Linux), produces NullPointerException.

My pom is exactly as your "Basic Usage" at http://ardesco.lazerycode.com/index.php/2012/08/introducing-the-driver-binary-downloader-maven-plugin-for-selenium/

Full stacktrace is:

Failed to execute goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium (default) on project groovy: Execution default of goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium (default) on project groovy: Execution default of goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
    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:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal com.lazerycode.selenium:driver-binary-downloader-maven-plugin:1.0.1:selenium failed.
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
Caused by: java.lang.NullPointerException
    at javax.xml.transform.stream.StreamSource.<init>(StreamSource.java:147)
    at com.lazerycode.selenium.SeleniumServerMojo.checkRepositoryMapIsValid(SeleniumServerMojo.java:295)
    at com.lazerycode.selenium.SeleniumServerMojo.execute(SeleniumServerMojo.java:183)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    ... 20 more
@SiKing
Copy link
Author

SiKing commented Apr 21, 2014

If you need the log, I can do mvn -X, but can I upload files to here?

@Ardesco Ardesco added the bug label Apr 21, 2014
@Ardesco
Copy link
Owner

Ardesco commented Apr 21, 2014

Found and fixed. Version 1.0.2 has just been pushed out to maven, it usually takes up to 4 hours to sync.

@Ardesco Ardesco added this to the 1.0.2 milestone Apr 22, 2014
@SiKing
Copy link
Author

SiKing commented Apr 22, 2014

Works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants