Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via eclipse-cs by djavetech
, 1 year ago
cannot initialize module TreeWalker - Cannot set property 'file' in module ImportControl to 'C:/Projects/trunk/build/import-control.xml ': Unable to load C:/Projects/trunk/build/import-control.xml
via eclipse-cs by vko89
, 1 year ago
MismatchedTokenException occurred during the analysis of file C:\checkstyle_workspace\checkstyle_test\src\Test.java.
via GitHub by romani
, 2 years ago
cannot initialize module TreeWalker - Unable to instantiate ForbidReturnInFinalBlockCheck
via eclipse-cs by bensonmargulies
, 2 years ago
cannot initialize module TreeWalker - Unable to instantiate DoubleCheckedLocking
via eclipse-cs by *anonymous
, 1 year ago
cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader
via eclipse-cs by mobra66
, 1 year ago
cannot initialize module MyFilter - Unable to instantiate MyFilter
org.xml.sax.SAXParseException: Document root element "import-control", must match DOCTYPE root "module".	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)	at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1621)	at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1900)	at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:764)	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)	at com.puppycrawl.tools.checkstyle.api.AbstractLoader.parseInputSource(AbstractLoader.java:98)	at com.puppycrawl.tools.checkstyle.checks.imports.ImportControlLoader.load(ImportControlLoader.java:167)	at com.puppycrawl.tools.checkstyle.checks.imports.ImportControlLoader.load(ImportControlLoader.java:152)	at com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.setFile(ImportControlCheck.java:144)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2170)	at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2151)	at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:439)	at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:149)	at com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:168)	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 net.sf.eclipsecs.core.builder.CheckerFactory.createCheckerInternal(CheckerFactory.java:320)	at net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:143)	at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:140)	at net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:287)	at net.sf.eclipsecs.core.builder.CheckstyleBuilder.build(CheckstyleBuilder.java:168)	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)