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

Error log

Aug 21, 2008 at 9:20 AM
Hi,
i try it on my small website project and it ends up with
Clone Detective did not produce a clone report. Please review the log file.
And open projectname.clonedetective.log.user, but it doesn't contain any interesting info, is there any other log file ?

Coordinator
Aug 21, 2008 at 11:26 AM
Hi PetrSnobelt, no projectname.clonedetective.log.user is the only log file. Could you still post the entire log file?
Aug 28, 2008 at 2:53 PM
Hi,

I'm having the same issue. Here is the log file:

java.lang.UnsupportedClassVersionError: edu/tum/cs/conqat/driver/Driver (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main"

**** Error ****

System.InvalidOperationException: Clone Detective did not produce a clone report. Please review the log file.

at CloneDetective.CloneReporting.CloneDetectiveRunner.<>c__DisplayClassb.<RunAsync>b__6(Object )

**** Result ****

CD_STATUS: Failed

CD_MEMORY: 0

CD_TIME: 00:00:00.8723196

Aug 28, 2008 at 5:31 PM
I have the same issue and here is my logfile:

* 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.klocwork 1.3

* INFO : Loading bundle edu.tum.cs.conqat.architecture 1.3

* INFO : Loading bundle edu.tum.cs.conqat.commons 1.3

* INFO : Loading bundle edu.tum.cs.conqat.self 1.3

* INFO : Loading bundle edu.tum.cs.conqat.junit 1.3

* INFO : Loading bundle edu.tum.cs.conqat.html_presentation 1.3

* INFO : Loading bundle edu.tum.cs.conqat.clonedetective 1.3

* INFO : Loading bundle edu.tum.cs.conqat.cpp 1.3

* INFO : Loading bundle edu.tum.cs.conqat.model_clones 1.3

* INFO : Loading bundle edu.tum.cs.conqat.dotnet 1.3

* INFO : Loading bundle edu.tum.cs.conqat.filesystem 1.3

* INFO : Loading bundle edu.tum.cs.conqat.identifier 1.3

* INFO : Loading bundle edu.tum.cs.conqat.sourcecode 1.3

* INFO : Loading bundle edu.tum.cs.conqat.graph 1.3

* INFO : Loading bundle edu.tum.cs.conqat.bugzilla 1.3

* INFO : Loading bundle edu.tum.cs.conqat.findbugs 1.3

* INFO : Loading bundle edu.tum.cs.conqat.io 1.3

* INFO : Loading bundle edu.tum.cs.conqat.svn 1.3

* INFO : Loading bundle edu.tum.cs.conqat.blocklib 1.3

* INFO : Loading bundle edu.tum.cs.conqat.database 1.3

* INFO : Loading bundle edu.tum.cs.conqat.simulink 1.3

* INFO : Loading bundle edu.tum.cs.conqat.java 1.3

* INFO : Loading bundle edu.tum.cs.conqat.scripting 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 78ms 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.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 15ms 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.filtered-scope (DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope)

* INFO : 0 regions found (DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope)

* INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.filtered-scope' used 16ms 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 : 0 regions found (DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker)

* INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker' used 16ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.repetitive-statements-region-marker)

* INFO : Executing processor: DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)

* WARN : Could not read file: File 'C:\h\jalisngdotnet\Solutions\JALISNG_Website_Solution' not found[C:\h\jalisngdotnet\Solutions\JALISNG_Website_Solution (Access is denied)] (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)

* ERROR : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered' failed gracefully: Empty input encountered! Clone detection aborted. (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)

* INFO : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered' used 109ms and 0kB. (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter (DefaultCloneDetection.cqa.clonedetection.detection.black-list-filter)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.cloneclasses-list)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-list.html-cloneclasses-list)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.xml-output (DefaultCloneDetection.cqa.clonedetection.detection.xml-output)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.filename-extractor)

* WARN : Skipping element: 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)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.rating-aggregator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loc-aggregator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneloc-aggregator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.loccoverage-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.units-aggregator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.cloneunit-aggregator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.unitcoverage-annotator)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.metric-annotation.description-annotator)

* WARN : Skipping element: 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)

* WARN : Skipping element: 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)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-colorized)

* 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)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.test-pattern)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-map.coverage-map)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.description-annotation)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage-list)

* WARN : Skipping element: DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage (DefaultCloneDetection.cqa.clonedetection.detection.clone-coverage.coverage)

* INFO : Max memory: 5,056kB.

* INFO : Total time: 1s

**** Error ****

System.InvalidOperationException: Clone Detective did not produce a clone report. Please review the log file.

at CloneDetective.CloneReporting.CloneDetectiveRunner.<>c__DisplayClassb.<RunAsync>b__6(Object )

**** Result ****

CD_STATUS: Failed

CD_MEMORY: 5177344

CD_TIME: 00:00:03.1500341



And yes, I realize it says it can't read some directory, but it does successfully write the log file into that directory.

Coordinator
Aug 31, 2008 at 12:22 PM
Edited Aug 31, 2008 at 12:23 PM
Hi Loop,

your issue could be resolved by using a different Java Version. For details, see the comments in this issue.
Coordinator
Aug 31, 2008 at 12:27 PM
Hi cmason1234,

your problem could relate to this line:

* ERROR : Processor 'DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered' failed gracefully: Empty input encountered! Clone detection aborted. (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)

Are you using C# or a different language?
Sep 3, 2008 at 9:39 PM
I've upgraded Java to 1.6.0_07, but still have the same issue:

java.lang.UnsupportedClassVersionError: edu/tum/cs/conqat/driver/Driver (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main"

**** Error ****

System.InvalidOperationException: Clone Detective did not produce a clone report. Please review the log file.

at CloneDetective.CloneReporting.CloneDetectiveRunner.<>c__DisplayClassb.<RunAsync>b__6(Object )

**** Result ****

CD_STATUS: Failed

CD_MEMORY: 0

CD_TIME: 00:00:00.1464438

Sep 14, 2009 at 10:10 AM

I have this exact same problem too..

I have tried with 3 different versions of java 1.4.2_03, 1.5.0_01 and 1.6.0_15 all gave the same result. I even tried dowloading and building the latest developer version of Clone Detective (36394). That didn't help either.

It did, however, reveal that the exception is thrown at - CloneDetectiveRunner.cs:line 289

Here's the log:

 

java.lang.UnsupportedClassVersionError: edu/tum/cs/conqat/driver/Driver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" 
**** Error ****
System.InvalidOperationException: Clone Detective did not produce a clone report. Please review the log file.
   at CloneDetective.CloneReporting.CloneDetectiveRunner.<>c__DisplayClassb.<RunAsync>b__6(Object ) in c:\CloneDetective\Source\CloneDetective.CloneReporting\Clone Detective\CloneDetectiveRunner.cs:line 289
**** Result ****
CD_STATUS: Failed
CD_MEMORY: 0
CD_TIME: 00:00:00.2079130

java.lang.UnsupportedClassVersionError: edu/tum/cs/conqat/driver/Driver (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main" 

 

**** Error ****

System.InvalidOperationException: Clone Detective did not produce a clone report. Please review the log file.

   at CloneDetective.CloneReporting.CloneDetectiveRunner.<>c__DisplayClassb.<RunAsync>b__6(Object ) in c:\CloneDetective\Source\CloneDetective.CloneReporting\Clone Detective\CloneDetectiveRunner.cs:line 289

 

**** Result ****

CD_STATUS: Failed

CD_MEMORY: 0

CD_TIME: 00:00:00.2079130

 

Coordinator
Sep 14, 2009 at 10:05 PM

Hi,

could you please post the value of your PATH environment variable? Plus, what specific path did you try for the Java Home setting on the Visual Studio Tools -> Options -> Clone Detective option page?

Thanks, Thomas

Sep 15, 2009 at 7:15 AM

Hi Thomas,

Your question provided me with the answer :-)

I had the Java Home setting set up wrong. It was pointing at Java version 1.4.2_03. I set it up to point at version 1.6 and now Clone detective runs.

The way i had tried the different versions of Java, was to open up the java console, and disabling/enabling the various versions. This is a method i have used to control java versions with other applications with success, but since Clone Detective apparently uses a path directly to the java binaries, it wont work with Clone Detective.

Thanks for your time

/Jakob

 

Coordinator
Sep 15, 2009 at 9:40 PM

Hi Jakob,

Thanks for the feedback; I'm glad that you could get it to work :-)

Best regards, Thomas

Dec 23, 2009 at 2:55 AM

I set it up to point at version 1.6, the same problem,

The log like this:

* WARN : Could not read file: File 'C:\h\jalisngdotnet\Solutions\JALISNG_Website_Solution' not found[C:\h\jalisngdotnet\Solutions\JALISNG_Website_Solution (Access is denied)] (DefaultCloneDetection.cqa.clonedetection.detection.detection-unfiltered)