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

NPE on configuration mismatch #25

Open
fiveop opened this issue Oct 26, 2015 · 1 comment
Open

NPE on configuration mismatch #25

fiveop opened this issue Oct 26, 2015 · 1 comment

Comments

@fiveop
Copy link

fiveop commented Oct 26, 2015

If my config.xml contains entries for just one platform (in my case android) and the plugin configuration in my pom.xml mentions two platforms (in my case android and windows phone), I get the following exception:

Caused by: java.lang.NullPointerException
        at com.github.chrisprice.phonegapbuild.api.managers.AppsManagerImpl.downloadApp(AppsManagerImpl.java:107)
        at com.github.chrisprice.phonegapbuild.plugin.utils.AppDownloaderImpl.downloadArtifacts(AppDownloaderImpl.java:33)
        at com.github.chrisprice.phonegapbuild.plugin.BuildMojo.execute(BuildMojo.java:342)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

(Just in case it matters: I had windows phone in the config.xml previously for a few weeks and then commented it out)

@chrisprice
Copy link
Owner

Thanks for the report @fiveop. As I'm not using the plugin myself anymore and you've found a workaround I won't be fixing it. However, I'll leave the issue open in case it helps anyone else or someone feels inspired to fix it.

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

No branches or pull requests

2 participants