incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Pablo Santos Rodríguez <juanpablo.san...@gmail.com>
Subject Re: JSPWiki checkstyle does not work anymore, Unable to instantiate TabCharacterCheck
Date Wed, 16 Dec 2009 10:49:23 GMT
Hi,

we had a similar issue at work, what version of checkstyle (checkstyle &
eclipse plugin) are you using? v5.0.0 was released recenlty, and some checks
are not backwards compatible, i.e.: TabCharacter is replaced by
FileTabCharacter.

regards,
juan pablo

On Tue, Dec 15, 2009 at 9:03 PM, Harry Metske <harry.metske@gmail.com>wrote:

> 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