Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 86074 invoked from network); 16 Dec 2009 10:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 10:49:54 -0000 Received: (qmail 48867 invoked by uid 500); 16 Dec 2009 10:49:53 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 48807 invoked by uid 500); 16 Dec 2009 10:49:53 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 48791 invoked by uid 99); 16 Dec 2009 10:49:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 10:49:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of juanpablo.santos@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-px0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 10:49:44 +0000 Received: by pxi9 with SMTP id 9so577830pxi.32 for ; Wed, 16 Dec 2009 02:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/DeQ6IaiIfRUkjueBqmSW9VsBER0ElZagWpnpdC73+Y=; b=wON7DArH5qtB1kW5QfuGrfzZ9G/RW+syanPkTHSQaxpo/Fz9IsJ1K0wVazxlrz0ehK VLcQwg4ubOfm3LY5qh+nCOesSEGBnvnwxMt/MaRHOk2/gtDu62OnwRzXBikHbdlb2anm +C/xM0QJ5qRw8W3dtISRfUeX2Pnf1McUmrAp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EbpAM/iYcDspWCOy2evy9JqeIl2wwhA4RDv+84/XIHosgIaPuA1CsSEKM1lAgf/3wL z5Vo/PO0rIFr5flxW1hDVH79qswWkA8TD4rOerbMw12wTs98HL066zNL1/hMWKRA2mqF mMe2ZUORcbBwkarBc86FCcxjc9O1wcY4AZt/0= MIME-Version: 1.0 Received: by 10.141.89.4 with SMTP id r4mr616463rvl.217.1260960563354; Wed, 16 Dec 2009 02:49:23 -0800 (PST) In-Reply-To: <3a6c97f00912151203l4b8cc502w4e19b3779ab9570b@mail.gmail.com> References: <3a6c97f00912151203l4b8cc502w4e19b3779ab9570b@mail.gmail.com> Date: Wed, 16 Dec 2009 11:49:23 +0100 Message-ID: Subject: Re: JSPWiki checkstyle does not work anymore, Unable to instantiate TabCharacterCheck From: =?ISO-8859-1?Q?Juan_Pablo_Santos_Rodr=EDguez?= To: jspwiki-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=000e0cd139a8745d48047ad642d2 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd139a8745d48047ad642d2 Content-Type: text/plain; charset=ISO-8859-1 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 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 > --000e0cd139a8745d48047ad642d2--