Please provide
- Operating system: Win 11
- Visual Studio version: 17.14.21
- SonarQube for Visual Studio plugin version: 9.4.0.16052
- Programming language you’re coding in: C++
- Is connected mode used: No
Very recently, maybe the past week or so, analysis is failing because it seemingly cannot find the file to analyze. Sonar has worked for me previously and very little has changed.
Error is “File to analyze was not found in the file system: file:/// … rest of path …“
Verbose logs below:
[ThreadId 1] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\cl.exe
[DEBUG] [ThreadId 1] Compile command: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\cl.exe" /I"C:\Users\jesse\source\blender-git\blender\source\blender\io\usd" /I"C:\Users\jesse\source\blender-git\blender\source\blender\io\common" /I"C:\Users\jesse\source\blender-git\blender\source\blender\editors\include" /I"C:\Users\jesse\source\blender-git\blender\source\blender\makesrna" /I"C:\Users\jesse\source\blender-git\blender\source\blender\python\intern" /I"C:\Users\jesse\source\blender-git\blender\intern\utfconv" /I"C:\Users\jesse\source\blender-git\build-lite\source\blender\makesrna" /I"C:\Users\jesse\source\blender-git\blender\source\blender\blenkernel" /I"C:\Users\jesse\source\blender-git\blender\intern\openvdb" /I"C:\Users\jesse\source\blender-git\blender\intern\mikktspace\." /I"C:\Users\jesse\source\blender-git\blender\source\blender\makesdna" /I"C:\Users\jesse\source\blender-git\build-lite\source\blender\makesdna\intern" /I"C:\Users\jesse\source\blender-git\blender\source\blender\blenlib" /I"C:\Users\jesse\source\blender-git\blender\source\blender\blenloader" /I"C:\Users\jesse\source\blender-git\blender\source\blender\blenloader_core" /I"C:\Users\jesse\source\blender-git\blender\source\blender\blentranslation" /I"C:\Users\jesse\source\blender-git\blender\source\blender\bmesh" /I"C:\Users\jesse\source\blender-git\blender\source\blender\depsgraph" /I"C:\Users\jesse\source\blender-git\blender\source\blender\animrig" /I"C:\Users\jesse\source\blender-git\blender\source\blender\imbuf" /I"C:\Users\jesse\source\blender-git\blender\intern\clog" /I"C:\Users\jesse\source\blender-git\blender\intern\guardedalloc" /I"C:\Users\jesse\source\blender-git\blender\source\blender\nodes" /I"C:\Users\jesse\source\blender-git\blender\source\blender\windowmanager" /D"_MBCS" /D"WIN32" /D"_WINDOWS" /D"NDEBUG" /DBLENDER_WIN_APPID="blender.5.1" /DBLENDER_WIN_APPID_FRIENDLY_NAME="Blender 5.1" /D"_CRT_NONSTDC_NO_DEPRECATE" /D"_CRT_SECURE_NO_DEPRECATE" /D"_SCL_SECURE_NO_DEPRECATE" /D"_CONSOLE" /D"_LIB" /D"_ALLOW_KEYWORD_MACROS" /D"_WIN32_WINNT=0x603" /D"WITH_TBB_MALLOC" /D"__MMX__" /D"__SSE__" /D"__SSE2__" /D"_SSE3__" /D"__SSE4_1__" /D"__SSE4_2__" /D"__LITTLE_ENDIAN__" /D"NOMINMAX" /D"WIN32_LEAN_AND_MEAN" /D"BOOST_DEBUG_PYTHON" /D"BOOST_ALL_NO_LIB" /D"TBB_SUPPRESS_DEPRECATED_MESSAGES=1" /D"WITH_MATERIALX" /D"WITH_OPENVDB" /D"WITH_OPENVDB_BLOSC" /D"WITH_TBB" /D"WITH_PYTHON" /D"WITH_USD" /DCMAKE_INTDIR="RelWithDebInfo" /FI"C:\Users\jesse\source\blender-git\build-lite\source\blender\io\usd\CMakeFiles\bf_io_usd.dir\RelWithDebInfo\cmake_pch.hxx" /Yu"C:\Users\jesse\source\blender-git\build-lite\source\blender\io\usd\CMakeFiles\bf_io_usd.dir\RelWithDebInfo\cmake_pch.hxx" /Zc:preprocessor /permissive- /TP /std:c++17 /EHsc /MD /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/pthreads/include" /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/openVDB/include" /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/tbb/include" /external:I "C:/Users/jesse/source/blender-git/blender/extern/fmtlib/include" /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/materialx/include" /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/python/311/include" /external:I "C:/Users/jesse/source/blender-git/blender/lib/windows_x64/usd/include" /w34062 /w34115 /w34189 /w35038 /J /bigobj /Zc:__cplusplus /utf-8 /experimental:external /external:I C:/Users/jesse/source/blender-git/blender/lib/windows_x64 "C:\Users\jesse\source\blender-git\blender\source\blender\io\usd\intern\usd_capi_export.cc"
[DEBUG] [ThreadId 1] [CompilationDatabaseEntryGenerator] File configuration 'C:\Users\jesse\source\blender-git\blender\source\blender\io\usd\intern\usd_capi_export.cc' defines 'INCLUDE'. Value: 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include;;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\atlmfc\include;;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;;C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt;;;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\UnitTest\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared;C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\winrt;C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\cppwinrt;Include\um;'
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Post: SonarLint Server RPC sequential executor 27
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@75530c6c
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@75530c6c
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@75530c6c, new size is 1
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Picked command from the queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@75530c6c, 0 remaining
[ThreadId 13] [SLCore] [sonarlint > sonarlint-analysis-scheduler] File to analyze was not found in the file system: file:///C:/Users/jesse/source/blender-git/blender/source/blender/io/usd/intern/usd_capi_export.cc
[DEBUG] [ThreadId 13] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Filtered out URIs having no file: file:///C:/Users/jesse/source/blender-git/blender/source/blender/io/usd/intern/usd_capi_export.cc
[DEBUG] [ThreadId 23] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Starting analysis with configuration: [
baseDir: C:\Users\jesse\source\blender-git\blender\source\blender\io\usd\intern
extraProperties: {sonar.cfamily.compile-commands=C:\Users\jesse\AppData\Local\Temp\SLVS\VCXCD\36a2469c-4a49-4d9d-9cb1-9f4480f47f42\0cda6244-73ee-4a6c-9c7a-7ed971aa6652.json, sonar.js.internal.bundlePath=C:\USERS\JESSE\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_60947E12\EXTENSIONS\TAZABKYF.DQO\EmbeddedEsLintBridge, sonar.sqvsRoslynPlugin.internal.serverPort=64110, sonar.sqvsRoslynPlugin.internal.serverToken=Gaj2ontPfTNVBGJHHFPAn//u1YueUdg1b1zDHnE40Oc=}
activeRules: [413 cpp, 189 c, 50 Web, 315 csharpsquid, 142 vbnet, 30 secrets]
inputFiles: [
]
]
[DEBUG] [ThreadId 42] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Git blame is not working. Falling back to detection date as the introduction date
[DEBUG] [ThreadId 42] [SLCore] [sonarlint > sonarlint-analysis-scheduler] No file to analyze
[DEBUG] [ThreadId 42] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Analysis detected 0 issues and 0 Security Hotspots in 0ms
[DEBUG] [ThreadId 8] [SLCore] [sonarlint > sonarlint-analysis-scheduler] AiCodeFix optional is present: false
[DEBUG] [ThreadId 16] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Reporting 0 issues over 0 files for configuration scope Blender
[DEBUG] [ThreadId 16] [RaiseFinding+RaisedIssueDto] Empty issuesByFileUri dictionary, ignoring...
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Post: SonarLint Server RPC sequential executor 27
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.NotifyModuleEventCommand@f75691e
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.NotifyModuleEventCommand@f75691e
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > SonarLint Server RPC sequential executor] Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.NotifyModuleEventCommand@f75691e, new size is 1
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > sonarlint-analysis-scheduler] Picked command from the queue: org.sonarsource.sonarlint.core.analysis.command.NotifyModuleEventCommand@f75691e, 0 remaining
[DEBUG] [ThreadId 20] [SLCore] [sonarlint > sonarlint-file-exclusions] Computing file exclusion for uri 'file:///C:/Users/jesse/source/blender-git/blender/source/blender/io/usd/intern/usd_capi_export.cc'