incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry Metske <harry.met...@gmail.com>
Subject JSPWiki checkstyle does not work anymore, Unable to instantiate TabCharacterCheck
Date Tue, 15 Dec 2009 20:03:40 GMT
Since a couple of months (I think after updating Eclipse's checkstyle
plugin), I'm getting the following error when performing a checkstyle with
the jspwiki-checkstyle.xml :
(checkstyle with the default sun_checks.xml works fine)

net.sf.eclipsecs.core.util.CheckstylePluginException: cannot initialize
module TreeWalker - Unable to instantiate TabCharacter
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:164)
at
net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:286)
at
net.sf.eclipsecs.core.jobs.RunCheckstyleOnFilesJob.runInWorkspace(RunCheckstyleOnFilesJob.java:96)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot
initialize module TreeWalker - Unable to instantiate TabCharacter
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:177)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:207)
at
net.sf.eclipsecs.core.builder.CheckerFactory.createCheckerInternal(CheckerFactory.java:309)
at
net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:143)
at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:140)
... 4 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable
to instantiate TabCharacter
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:156)
at
com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:159)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:207)
at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:156)
... 8 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable
to instantiate TabCharacterCheck
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:99)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:153)
... 11 more

Are there any checkstyle experts on the list that have an elegant solution
for this ?

thanks,
Harry

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message