DiamondOperatorForVariableDefinitionCheck throws NullPointerException #348
Comments
Btw, we have a lot of constructs using
|
@stephanenicolas , thanks a lot. If you can send share with us exact file - it will be great help, we will recheck code chunk that you have provided. |
@stephanenicolas , we already have that case in our UTs - https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/master/sevntu-checks/src/test/resources/com/github/sevntu/checkstyle/checks/coding/InputDiamondOperatorForVariableDefinitionCheck.java#L62 , works fine. please provide exact file to reproduce a problem, you can obfuscate code if you afraid to share source. |
reproduced on code: and
|
Thx guys, I couldn't have shared the code.
|
fixed, released as 1.13.2 |
When running 'com.github.sevntu.checkstyle:sevntu-checks:1.13.0', we get a stack trace :
The problem comes from :
The text was updated successfully, but these errors were encountered: