This project has moved. For the latest updates, please go here.
1
Vote

Exception when starting the clone process

description

Hello, i have installed the clone detective to my system. I am working with winXP and Visual Studio 2008. When i start the clone process, i get an exception which looks like follows: * INFO : Logger configured by file: C:\Program Files\Clone Detective for Visual Studio\ConQAT\bin\..\config\logging.properties * INFO : ConQAT 1.3 (core 2.3) * INFO : Loading bundle edu.tum.cs.conqat.clonedetective 1.3 * INFO : Loading bundle edu.tum.cs.conqat.dotnet 1.3 * INFO : Loading bundle edu.tum.cs.conqat.svn 1.3 * INFO : Loading bundle edu.tum.cs.conqat.klocwork 1.3 * INFO : Loading bundle edu.tum.cs.conqat.html_presentation 1.3 * INFO : Loading bundle edu.tum.cs.conqat.graph 1.3 * INFO : Loading bundle edu.tum.cs.conqat.sourcecode 1.3 * INFO : Loading bundle edu.tum.cs.conqat.simulink 1.3 * INFO : Loading bundle edu.tum.cs.conqat.findbugs 1.3 * INFO : Loading bundle edu.tum.cs.conqat.blocklib 1.3 * INFO : Loading bundle edu.tum.cs.conqat.cpp 1.3 * INFO : Loading bundle edu.tum.cs.conqat.architecture 1.3 * INFO : Loading bundle edu.tum.cs.conqat.self 1.3 * INFO : Loading bundle edu.tum.cs.conqat.scripting 1.3 * INFO : Loading bundle edu.tum.cs.conqat.bugzilla 1.3 * INFO : Loading bundle edu.tum.cs.conqat.identifier 1.3 * INFO : Loading bundle edu.tum.cs.conqat.commons 1.3 * INFO : Loading bundle edu.tum.cs.conqat.model_clones 1.3 * INFO : Loading bundle edu.tum.cs.conqat.java 1.3 * INFO : Loading bundle edu.tum.cs.conqat.junit 1.3 * INFO : Loading bundle edu.tum.cs.conqat.database 1.3 * INFO : Loading bundle edu.tum.cs.conqat.filesystem 1.3 * INFO : Loading bundle edu.tum.cs.conqat.io 1.3 * INFO : ConQAT using config file 'C:\Program Files\Clone Detective for Visual Studio\DefaultCloneDetection.cqa'. * INFO : Executing processor: DefaultCloneDetection.cqa.src (DefaultCloneDetection.cqa.src) * INFO : Processor 'DefaultCloneDetection.cqa.src' used 969ms and 0kB. (DefaultCloneDetection.cqa.src) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.patterns (DefaultCloneDetection.cqa.clonedetection.patterns) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.patterns' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.patterns) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope (DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope) * INFO : 60 regions found (DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope' used 437ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker (DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker) * INFO : 5 regions found (DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker' used 578ms and 632kB. (DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.default-configuration (DefaultCloneDetection.cqa.clonedetection.detection.default-configuration) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.default-configuration' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.default-configuration) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.conservative-configuration (DefaultCloneDetection.cqa.clonedetection.detection.conservative-configuration) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.conservative-configuration' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.conservative-configuration) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.normalization.elements (DefaultCloneDetection.cqa.clonedetection.detection.normalization.elements) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.normalization.elements' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.normalization.elements) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens-unfiltered (DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens-unfiltered) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens-unfiltered' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens-unfiltered) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens (DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.normalization.tokens) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.normalization.normalization (DefaultCloneDetection.cqa.clonedetection.detection.normalization.normalization) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.normalization.normalization' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.normalization.normalization) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered) * INFO : # Units: 865 (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered) * INFO : # Clones: 54 (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered' used 219ms and 1.580kB. (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter (DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter) * INFO : Removed 0 from 9 clone classes, 9 clone classes left. (Removed 0 from 54 clones, 54 clones left.) (DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.diag (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.diag) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.diag' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.diag) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor' used 109ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.display-list-editor (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.display-list-editor) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.display-list-editor' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.display-list-editor) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator' used 109ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-annotator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-annotator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-annotator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-aggregator) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-aggregator' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.clone-count-aggregator) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map' used 891ms and 2.516kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage' used 15ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list' used 0ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list' used 16ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list) * INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.xml-output (DefaultCloneDetection.cqa.clonedetection.detection.xml-output) * INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.xml-output' used 359ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.xml-output) * INFO : Max memory: 7.308kB. * INFO : Total time: 4s **** Result **** CD_STATUS: Succeeded CD_MEMORY: 7483392 CD_TIME: 00:00:04.9762070 **** Error **** System.InvalidOperationException: The clone report "......\xxxx.CloneDetective.Clones.user" could not be loaded: Root element is missing. ---> System.Xml.XmlException: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at CloneDetective.CloneReporting.CloneReportReader.Read(String fileName) --- End of inner exception stack trace --- at CloneDetective.CloneReporting.CloneReportReader.Read(String fileName) at CloneDetective.CloneReporting.CloneDetectiveResult.FromSolutionPath(String solutionPath) **** Result **** CD_STATUS: Failed CD_MEMORY: 0 CD_TIME: 00:00:00 Did anyone know a solution for this problem?

file attachments

comments

Lorinio wrote Jun 16, 2010 at 11:55 AM

Add the Clones.user file.

Lorinio wrote Jun 16, 2010 at 12:01 PM

Hint: The current project is located at a network drive. When i am running clone detective within an project on on the local drive, it works fine.

Whats the problem?