0

Duplicate Finder .Net report shows "Null"

Hi!

I setup DuplicateFinder .Net as a build step.

Duplicate Finder finds some duplicates and display the number of duplicates.

BUT, if we go to the "Duplicates" tab, the duplicate fragment shows "null" (in red)

We are running TeamCity version 6.0.3 (build 15925)

Please see screenshot, below:

DuplicateFinder_Null.jpg

Here is the build log of this step:

[03:08:28]: Step 3/3 (16s)
[03:08:28]: [Step 3/3] Using runner: dotnet-dupfinder
[03:08:28]: [Step 3/3] Searching for duplicates
[03:08:28]: [Step 3/3] Starting: C:\BuildAgent\plugins\dotnet-dupfinder\bin\dupfinder.exe --show-stats --show-text --discard-cost=70 --debug -e **/*generated*.cs -i Src/Emc.Dcc/_Root/Uim*/**/*.cs -o 05A1B22A-DE6E-49ae-AA30-DC52A074EF22\result.xml
[03:08:28]: [Step 3/3] in directory: D:\DCC
[03:08:29]: [Step 3/3] JetBrains Duplicates Finder for .NET. Version 0.0.0.0
[03:08:29]: [Step 3/3] Running in 32-bit mode, .NET runtime 2.0.50727.3620 under Microsoft Windows NT 5.1.2600 Service Pack 3
[03:08:29]: [Step 3/3] Running with options:
[03:08:30]: [Step 3/3] <DupFinderOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
[03:08:30]: [Step 3/3] <Debug>true</Debug>
[03:08:30]: [Step 3/3] <DiscardCost>70</DiscardCost>
[03:08:30]: [Step 3/3] <DiscardFieldsName>false</DiscardFieldsName>
[03:08:30]: [Step 3/3] <DiscardLiterals>false</DiscardLiterals>
[03:08:30]: [Step 3/3] <DiscardLocalVariablesName>false</DiscardLocalVariablesName>
[03:08:30]: [Step 3/3] <DiscardTypes>false</DiscardTypes>
[03:08:30]: [Step 3/3] <IdlePriority>false</IdlePriority>
[03:08:30]: [Step 3/3] <ExcludeFiles>
[03:08:30]: [Step 3/3] <Pattern>**/*generated*.cs</Pattern>
[03:08:30]: [Step 3/3] </ExcludeFiles>
[03:08:30]: [Step 3/3] <ExcludeFilesByStartingCommentSubstring />
[03:08:30]: [Step 3/3] <ExcludeCodeRegionsByNameSubstring />
[03:08:30]: [Step 3/3] <IncludeFiles>
[03:08:30]: [Step 3/3] <Pattern>-i</Pattern>
[03:08:30]: [Step 3/3] <Pattern>Src/Emc.Dcc/_Root/Uim*/**/*.cs</Pattern>
[03:08:30]: [Step 3/3] </IncludeFiles>
[03:08:30]: [Step 3/3] <NormalizeTypes>false</NormalizeTypes>
[03:08:30]: [Step 3/3] <OutputFile>05A1B22A-DE6E-49ae-AA30-DC52A074EF22\result.xml</OutputFile>
[03:08:30]: [Step 3/3] <ShowStats>true</ShowStats>
[03:08:30]: [Step 3/3] <ShowText>true</ShowText>
[03:08:30]: [Step 3/3] </DupFinderOptions>
[03:08:36]: [Step 3/3] DEBUG Will output to 05A1B22A-DE6E-49ae-AA30-DC52A074EF22\result.xml
[03:08:36]: [Step 3/3] DEBUG [PMM] Add project: Miscellaneous Files, provider: JetBrains.ReSharper.Psi.Impl.MiscFilesProjectPsiModuleProviderFactory+MiscFilesProjectPsiModuleProvider
[03:08:36]: [Step 3/3] DEBUG [PMM] Add project: &, provider: JetBrains.ReSharper.Psi.Impl.SolutionFolderPsiModuleProviderFactory+SolutionFolderPsiModuleProvider
[03:08:36]: [Step 3/3] DEBUG [PMM] Add: JetBrains.Annotations, Version=6.0.2008.71, Culture=neutral, PublicKeyToken=d650307557ffde1d
[03:08:36]: [Step 3/3] DEBUG [PMM] Add: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
[03:08:37]: [Step 3/3] DEBUG [JetDispatcher] Thread ApplicationMutices:7 created a synchro context marshaller.
[03:08:37]: [Step 3/3] DEBUG [JetDispatcher] Thread ApplicationMutices:7 pwned.
[03:08:37]: [Step 3/3] DEBUG [JetDispatcher] Thread <NULL>:5 created a synchro context marshaller.
[03:08:37]: [Step 3/3] DEBUG [JetDispatcher] Thread <NULL>:5 pwned.
[03:08:37]: [Step 3/3] DEBUG Scanning file system
[03:08:38]: [Step 3/3] DEBUG Matched files:
[03:08:38]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\MainControl.xaml.cs
...
[03:08:38]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimScriptSample\Properties\AssemblyInfo.cs
[03:08:38]: [Step 3/3] DEBUG Found 192 files by patterns
[03:08:38]: [Step 3/3] DEBUG Searching for duplicates
[03:08:38]: [Step 3/3] DEBUG Collecting fragments
[03:08:39]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimDesignerCore\DataAccess\DocumentEventArgs.cs (0/192) (ManagedMem 5MB)
...
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimScriptSample\ScriptTestUIMDocBestBerryCompany.cs (191/192) (ManagedMem 10MB)
[03:08:43]: [Step 3/3] DEBUG Top files by collected fragments:
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimScriptSample\ScriptTestUIMDocBestBerryCompany.cs - 1030 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\obj\Debug\UI\DocumentRibbon.g.cs - 511 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimDesignerCore\UI\Lib\FormCanvas\FormCanvas.cs - 352 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\UI\Lib\FormCanvas\FormCanvas.cs - 327 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\obj\Debug\UI\NewDocumentWindow.g.cs - 322 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\UIModel\DocumentViewModel.cs - 308 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\obj\Debug\UI\AllDocumentsTab.g.cs - 278 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimDesignerCore\UI\Lib\RichTextBoxWithIntellisense\ExpressionEditorForm.Designer.cs - 233 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimDesignerCore\UI\Lib\FormCanvas\FormGridDecorator.cs - 224 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\UI\Lib\FormCanvas\FormGridDecorator.cs - 224 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\obj\Debug\UI\ValidationRulesView.g.cs - 221 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\UIModel\SectionViewModel.cs - 178 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimDesignerCore\UI\Lib\GridViewSort.cs - 151 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UIMDesigner\UIModel\FieldControlViewModel.cs - 132 fragments
[03:08:43]: [Step 3/3] DEBUG D:\DCC\Src\Emc.Dcc\_Root\UimRecognitionDesigner\obj\Debug\UI\NewProjectWindow.g.cs - 116 fragments
[03:08:43]: [Step 3/3] DEBUG GC.GetTotalMemory() after hashing stage = 10,2 Mb
[03:08:43]: [Step 3/3] DEBUG Sorting duplicates
[03:08:43]: [Step 3/3] DEBUG Writing report
[03:08:43]: [Step 3/3] INFO Total time: 00:00:11.7031250
[03:08:43]: [Step 3/3] INFO User time: 00:00:09
[03:08:43]: [Step 3/3] INFO Peak virtual memory: 194MB
[03:08:43]: [Step 3/3] INFO Peak working set: 76MB
[03:08:43]: [Step 3/3] Process exited with code 0
[03:08:43]: [Step 3/3] Publishing artifacts
[03:08:43]: [Publishing artifacts] Paths to publish: [05A1B22A-DE6E-49ae-AA30-DC52A074EF22/result.xml]
[03:08:43]: [Publishing artifacts] Sending files
[03:08:43]: [Step 3/3] Importing results
[03:08:47]: [Step 3/3] Processing data
[03:08:43]: [Step 3/3] Sending fragments...
[03:08:43]: [Step 3/3] Sending duplicates...
[03:08:48]: [Step 3/3] updating diff...
[03:08:48]: [Step 3/3] Duplicates: 117 (+0 -0)
[03:08:46]: Publishing artifacts
[03:08:46]: [Publishing artifacts] Paths to publish: [teamcity-info.xml]
[03:08:46]: [Publishing artifacts] Sending files
[03:08:50]: Build finished
[03:08:50]: Total: 358 (+0 -0) Errors: 131 (+0 -0)


11 comments

Please sign in to leave a comment.