walkmod-core icon indicating copy to clipboard operation
walkmod-core copied to clipboard

Code Transformation Chain Fails for Fixing Sonar Issues

Open Hitesh-Kirtane opened this issue 3 years ago • 0 comments

Hi Team,

I am trying to use Walkmod on one of my Java - Spring Boot projects to refactor the Sonar issues.

However, the code transformation chain fails when I run "walkmod apply" command with the following error.

Note: I have run the "walkmod apply -e" command to display the error stack trace on the command line (in the screenshot below).

image

The error message guides to check the log file for detailed error information but, I can't find any log files generated in my project folder.

Below are the contents of walkmod.xml file present in the project root folder.

<!DOCTYPE walkmod PUBLIC "-//WALKMOD//DTD" "http://www.walkmod.com/dtd/walkmod-1.1.dtd">
<walkmod>
    <transformation type="org.walkmod:walkmod-sonar-plugin:Sonar"/>
</walkmod>

Also, the detailed links for the documentation seem to be removed now, can't find any detailed documentation on walkmod usage other than the documentation available on http://walkmod.com/docs.html which only helps with the basic setup.

Please suggest some solution for this issue.

Thanks.

Hitesh-Kirtane avatar Sep 06 '21 16:09 Hitesh-Kirtane