com.puppycrawl.tools.checkstyle.api.CheckstyleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 427#301251881
    via GitHub by rnveach
    ,
  • GitHub comment 427#264918666
    via GitHub by rnveach
    ,
    • com.puppycrawl.tools.checkstyle.api.CheckstyleException: Exception was thrown while processing TestClass.java at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:287) at com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:205) at com.puppycrawl.tools.checkstyle.Main.runCheckstyle(Main.java:425) at com.puppycrawl.tools.checkstyle.Main.runCli(Main.java:359) at com.puppycrawl.tools.checkstyle.Main.main(Main.java:174) Caused by: java.lang.NullPointerException at com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck.getKeySetOrEntrySetNode(MapIterationInForEachLoopCheck.java:406) at com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck.validate(MapIterationInForEachLoopCheck.java:332) at com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck.visitToken(MapIterationInForEachLoopCheck.java:307) at com.puppycrawl.tools.checkstyle.TreeWalker.notifyVisit(TreeWalker.java:361) at com.puppycrawl.tools.checkstyle.TreeWalker.processIter(TreeWalker.java:498) at com.puppycrawl.tools.checkstyle.TreeWalker.walk(TreeWalker.java:303) at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:178) at com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process(AbstractFileSetCheck.java:78) at com.puppycrawl.tools.checkstyle.Checker.processFile(Checker.java:307) at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:278) ... 4 more
    No Bugmate found.