When building the java project, I'm encountering an error while building the project itself.
"cannot initialize module TreeWalker - Unable to instantiate DoubleCheckLocking"
I tried the solution mentioned in the question below - Checkstyle Eclipse plugin doesn't work
But in my case the configuration options are read only!
I'm using eclipse Juno - Version: Juno Service Release 2 Build id: 20130225-0426
How make these options editable in case of using an external configuration file?
The Eclipse-Checkstyle integration plugin documentation does mention
External configurations can by default be edited if the configuration file is writable.
If you have a carefully crafted configuration file (with nice comments and all that) - which you don't want to "destroy" accidentally by using the configuration editor - you can use the Protect Checkstyle configuration file option. When enabled the configuration editor will not touch your file even if it is write enabled.
Of course, check if your externa config file is writable.
But also check if your external config isn't "protected", .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With