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

Facing dependency issues while trying to run Walkmod #9

Open
rajkrm opened this issue Apr 28, 2020 · 0 comments
Open

Facing dependency issues while trying to run Walkmod #9

rajkrm opened this issue Apr 28, 2020 · 0 comments

Comments

@rajkrm
Copy link

rajkrm commented Apr 28, 2020

I'm trying to use walkmod in one of our project for auto fixing of the issues reported by static code analysis tools.

Following the instructions provided on the Walkmod website on the git repository, I have installed Walkmod in my machine and tried to test on quickstart project from the git and ran commands provided in Basic usage section in www.walkmod.com. I'm facing the issue which is attached in the email(CLI_log.txt) in my local when I ran the walkmod apply command.

ERROR [main] - Invalid configuration
org.walkmod.conf.ConfigurationException: Ivy can not resolve the artifacts. Cause: unresolved dependency: org.walkmod#walkmod-imports-cleaner-plugin;latest.integration: not found;unresolved dependency: org.walkmod#walkmod-maven-plugin;latest.integration: not found;unresolved dependency: org.walkmod#walkmod-javalang-plugin;latest.integration: not found;unresolved dependency: org.walkmod#walkmod-javalang-plugin;[2.0, 4.0): not found
at org.walkmod.conf.providers.IvyConfigurationProvider.resolveArtifacts(IvyConfigurationProvider.java:233)
at org.walkmod.conf.providers.IvyConfigurationProvider.load(IvyConfigurationProvider.java:156)
at org.walkmod.conf.ConfigurationManager.executeConfigurationProviders(ConfigurationManager.java:124)
at org.walkmod.conf.ConfigurationManager.addProviders(ConfigurationManager.java:61)
at org.walkmod.conf.ConfigurationManager.(ConfigurationManager.java:75)
at org.walkmod.conf.ConfigurationManager.(ConfigurationManager.java:79)
at org.walkmod.WalkModFacade.readConfig(WalkModFacade.java:181)
at org.walkmod.WalkModFacade.run(WalkModFacade.java:256)
at org.walkmod.WalkModFacade.apply(WalkModFacade.java:142)
at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:172)
at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:197)
ERROR [main] - Invalid configuration
java.lang.NullPointerException
at org.walkmod.WalkModFacade.run(WalkModFacade.java:264)
at org.walkmod.WalkModFacade.apply(WalkModFacade.java:142)
at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:172)
at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:197)
Exception in thread "main" java.lang.NullPointerException
at org.walkmod.WalkModFacade.run(WalkModFacade.java:284)
at org.walkmod.WalkModFacade.apply(WalkModFacade.java:142)
at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:172)
at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:197)

I have followed your responses to similar github issues which were reported and applied resolution steps mentioned but can't able to resolve the issue.

Maven dependencies: Please find the screenshot of my .m2 folder, all the dependencies downloaded from Maven repository.
image
image

Can you please look into the issue and provide the solution. Your help and response will be greatly appreciated.

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

1 participant