net.sf.eclipsecs.core.util.CheckstylePluginException: 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

eclipse-cs | djavetech | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Import control XML cannot be read

    eclipse-cs | 6 years ago | djavetech
    net.sf.eclipsecs.core.util.CheckstylePluginException: 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
  2. 0

    hibernate lazy true error

    Stack Overflow | 6 years ago | Noor
    org.xml.sax.SAXParseException: Attribute "lazy" with value "true" must have a value from the list "false proxy no-proxy ".
  3. 0

    Liferay starts up with errors on tomcat 6

    Stack Overflow | 4 years ago | user1782634
    org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    sessionFactory bean fail on 'persistence' element

    Stack Overflow | 4 years ago | user1554427
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Unable to read XML
  6. 0

    JDOMParseException on attempt to make project

    YouTrack | 4 years ago
    org.jdom.input.JDOMParseException: Error on line 20321: XML document structures must start and end within the same entity.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    Document root element "import-control", must match DOCTYPE root "module".

    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
    4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
    5. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1621)
    6. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1900)
    7. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:764)
    8. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
    9. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
    10. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
    11. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
    12. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    13. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    14. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    15. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    16. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    17. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    18. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    19. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    19 frames
  3. checkstyle
    ImportControlCheck.setFile
    1. com.puppycrawl.tools.checkstyle.api.AbstractLoader.parseInputSource(AbstractLoader.java:98)
    2. com.puppycrawl.tools.checkstyle.checks.imports.ImportControlLoader.load(ImportControlLoader.java:167)
    3. com.puppycrawl.tools.checkstyle.checks.imports.ImportControlLoader.load(ImportControlLoader.java:152)
    4. com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck.setFile(ImportControlCheck.java:144)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Apache Commons BeanUtils
    BeanUtilsBean.copyProperty
    1. org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2170)
    2. org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2151)
    3. org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:439)
    3 frames
  6. checkstyle
    AutomaticBean.configure
    1. com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:149)
    2. com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:168)
    3. com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
    4. com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:157)
    5. com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:184)
    5 frames
  7. net.sf.eclipsecs
    CheckstyleBuilder.build
    1. net.sf.eclipsecs.core.builder.CheckerFactory.createCheckerInternal(CheckerFactory.java:320)
    2. net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:143)
    3. net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:140)
    4. net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:287)
    5. net.sf.eclipsecs.core.builder.CheckstyleBuilder.build(CheckstyleBuilder.java:168)
    5 frames
  8. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    1 frame
  9. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  10. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
    3 frames
  11. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  12. Core Resource Management
    AutoBuildJob.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
    2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
    4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
    5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
    5 frames
  13. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame