net.sf.eclipsecs.core.util.CheckstylePluginException

cannot initialize module StrictDuplicateCode - Unable to instantiate StrictDuplicateCode

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

  • via eclipse-cs by mobra66
    ,
  • Stack trace

    • net.sf.eclipsecs.core.util.CheckstylePluginException: cannot initialize module StrictDuplicateCode - Unable to instantiate StrictDuplicateCode at net.sf.eclipsecs.core.util.CheckstylePluginException.rethrow(CheckstylePluginException.java:66) at net.sf.eclipsecs.core.util.CheckstylePluginException.rethrow(CheckstylePluginException.java:77) at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:166) at net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:300) at net.sf.eclipsecs.core.jobs.RunCheckstyleOnFilesJob.runInWorkspace(RunCheckstyleOnFilesJob.java:116) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module StrictDuplicateCode - Unable to instantiate StrictDuplicateCode at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:179) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:185) at net.sf.eclipsecs.core.builder.CheckerFactory.createCheckerInternal(CheckerFactory.java:310) at net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:146) at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:142) ... 4 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to instantiate StrictDuplicateCode at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:156) at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:154) ... 8 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to instantiate StrictDuplicateCodeCheck at com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:98) at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:153) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.