This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201603 - com.puppycrawl.tools.checkstyle.api.CheckstyleException: TreeWalker is not allowed as a parent of FileLength
Summary: com.puppycrawl.tools.checkstyle.api.CheckstyleException: TreeWalker is not al...
Status: RESOLVED DUPLICATE of bug 185018
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 19:33 UTC by jocke
Modified: 2012-04-12 12:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179993


Attachments
stacktrace (1.14 KB, text/plain)
2011-09-04 19:33 UTC, jocke
Details
stacktrace (1.06 KB, text/plain)
2011-09-15 14:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2011-09-04 19:33:12 UTC
Build: NetBeans IDE Dev (Build 201109040600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
jocke: installing findbugs, pmd and checkstyle from sqe




Stacktrace: 
com.puppycrawl.tools.checkstyle.api.CheckstyleException: TreeWalker is not allowed as a parent of FileLength
   at com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:163)
   at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
   at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:157)
   at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
   at org.nbheaven.sqe.tools.checkstyle.codedefects.core.CheckstyleScannerJob.init(CheckstyleScannerJob.java:130)
   at org.nbheaven.sqe.tools.checkstyle.codedefects.core.CheckstyleScannerJob.scan(CheckstyleScannerJob.java:151)
Comment 1 jocke 2011-09-04 19:33:15 UTC
Created attachment 110380 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-09-15 14:46:28 UTC
Created attachment 110793 [details]
stacktrace

Running Checkstyle from the SQE plugin
Comment 3 Marian Mirilovic 2012-04-12 12:22:29 UTC

*** This bug has been marked as a duplicate of bug 185018 ***