Open remal opened 3 weeks ago
Thanks for the report. This should never be null, which suggest either something is very wrong, or there's a problem with the configuration file that we're not handling.
Could you please attach a dump of your config? (normally .idea/checkstyle-idea.xml
)
I've added some extra code to the new release to try and better detect when we get invalid data and fall back upon a default value. Does this help in your scenario?
Sorry for the late response. This is the content of my .idea/checkstyle-idea.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CheckStyle-IDEA" serialisationVersion="2">
<scanScope>JavaOnlyWithTests</scanScope>
<suppressErrors>true</suppressErrors>
<copyLibs>true</copyLibs>
<option name="thirdPartyClasspath" />
<option name="activeLocationIds">
<option value="9def2c7d-d4fd-424e-98c4-51570869e7b1" />
</option>
<option name="locations">
<list>
<ConfigurationLocation description="Sun Checks" id="bundled-sun-checks" scope="All" type="BUNDLED">(bundled)</ConfigurationLocation>
<ConfigurationLocation description="Google Checks" id="bundled-google-checks" scope="All" type="BUNDLED">(bundled)</ConfigurationLocation>
<ConfigurationLocation id="9def2c7d-d4fd-424e-98c4-51570869e7b1" type="PROJECT_RELATIVE" scope="All" description="Project file - checkstyle.xml">$PROJECT_DIR$/checkstyle.xml</ConfigurationLocation>
</list>
</option>
</component>
</project>
Thanks for adding extra code! I'll check if it works for me as soon as I can.
I have this plugin error in logs:
Versions: IntelliJ IDEA: 2024.2.0.2 (Ultimate Edition) CheckStyle-IDEA: 5.93.4