I was trying configure my old check style configuration file with the latest check style (Eclipse Checkstyle Plugin 5.6.1.201306282206) plugin. There is no issue during the configuration but during the activation of check style, it's throwing the below error.
cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking
After going through forums, what I understood was 'DoubleCheckedLocking' is not supported in the latest check style plug-in, since this attribute is exists in my old check style configuration file, it was throwing an error.
To resolve this, go to check style configuration file and remove the below line.
<module name="DoubleCheckedLocking"/>
Resource:
http://sourceforge.net/p/checkstyle/bugs/682/
http://checkstyle.sourceforge.net/releasenotes.html
cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking
After going through forums, what I understood was 'DoubleCheckedLocking' is not supported in the latest check style plug-in, since this attribute is exists in my old check style configuration file, it was throwing an error.
To resolve this, go to check style configuration file and remove the below line.
<module name="DoubleCheckedLocking"/>
Resource:
http://sourceforge.net/p/checkstyle/bugs/682/
http://checkstyle.sourceforge.net/releasenotes.html