Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NullPointerException at com.qulice.checkstyle.DiamondOperatorCheck.isDiamondOperatorUsed #1198

Closed
yegor256 opened this issue Mar 7, 2024 · 3 comments · Fixed by #1200

Comments

@yegor256
Copy link
Owner

yegor256 commented Mar 7, 2024

Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Exception was thrown while processing /home/r/repo/eo-parser/src/main/java/org/eolang/parser/CheckPack.java
    at com.puppycrawl.tools.checkstyle.Checker.processFiles (Checker.java:302)
    at com.puppycrawl.tools.checkstyle.Checker.process (Checker.java:221)
    at com.qulice.checkstyle.CheckstyleValidator.validate (CheckstyleValidator.java:111)
    at com.qulice.maven.CheckMojo$ValidatorCallable.call (CheckMojo.java:237)
    at com.qulice.maven.CheckMojo$ValidatorCallable.call (CheckMojo.java:205)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
Caused by: java.lang.NullPointerException
    at com.qulice.checkstyle.DiamondOperatorCheck.isDiamondOperatorUsed (DiamondOperatorCheck.java:143)
    at com.qulice.checkstyle.DiamondOperatorCheck.visitToken (DiamondOperatorCheck.java:110)
    at com.puppycrawl.tools.checkstyle.TreeWalker.notifyVisit (TreeWalker.java:335)
    at com.puppycrawl.tools.checkstyle.TreeWalker.processIter (TreeWalker.java:406)
    at com.puppycrawl.tools.checkstyle.TreeWalker.walk (TreeWalker.java:273)
    at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered (TreeWalker.java:154)
    at com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process (AbstractFileSetCheck.java:87)
    at com.puppycrawl.tools.checkstyle.Checker.processFile (Checker.java:328)
    at com.puppycrawl.tools.checkstyle.Checker.processFiles (Checker.java:289)
    at com.puppycrawl.tools.checkstyle.Checker.process (Checker.java:221)
    at com.qulice.checkstyle.CheckstyleValidator.validate (CheckstyleValidator.java:111)
    at com.qulice.maven.CheckMojo$ValidatorCallable.call (CheckMojo.java:237)
    at com.qulice.maven.CheckMojo$ValidatorCallable.call (CheckMojo.java:205)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
yegor256 added a commit that referenced this issue Mar 7, 2024
yegor256 added a commit that referenced this issue Mar 7, 2024
yegor256 added a commit that referenced this issue Mar 7, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 11, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 11, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 11, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
pnatashap added a commit to pnatashap/qulice that referenced this issue Mar 12, 2024
@yegor256
Copy link
Owner Author

@rultor release, tag is 0.22.2

@rultor
Copy link
Collaborator

rultor commented Mar 13, 2024

@rultor release, tag is 0.22.2

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Mar 13, 2024

@rultor release, tag is 0.22.2

@yegor256 Done! FYI, the full log is here (took me 1hr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants