Please provide
- Operating system: Windows Server
- SonarLint plugin version: 7.5.0.54140
- Programming language you’re coding in: Java
- Is connected mode used:
- Connected to SonarCloud or SonarQube (and which version): SonarQube, Data Center Edition, Version 9.6.1 (build 59531)
And a thorough description of the problem / question:
Hi everyone,
I am having issue with SonarLint connected mode, which previously did not happen with older version of SonarLint (6.x). The workspace are in Citrix/network drive. Now whenever we do an analysis, it failed with the message “Database on remote storage is not allowed”.
The issue is not with SonarQube. Connecting to the same server using local Eclipse workspace and there are no issue. In fact, the path .sonarlint\work\sesvc.xxx.com does not have any folder or files.
Compared to the Citrix/network drive, there are a lot of folders that starts with “xodus-issue-store”.
SonarLint console, with obfuscated names:
Trigger: MANUAL
Clear markers on 0 excluded files
SonarLint processing file /Library/src/Notepad_Plus_Plus.java...
Connected mode (using configuration of 'com.xxx.yyy' in connection 'sesvc.xxx.com')
Starting analysis with configuration:
[
projectKey: com.xxx.yyy
baseDir: V:\_git\SE_yyy1\zzz\Library
extraProperties: {xxxxx}
moduleKey: null
inputFiles: [
file:/V:/_git/SE_yyy1/zzz/Library/src/Notepad_Plus_Plus.java (UTF-8)
]
]
* scala: 28 active rules
* jsp: 0 active rules
* kotlin: 69 active rules
* rpg: 29 active rules
* js: 133 active rules
Rule javascript:S3785 is enabled on the server, but not available in SonarLint
Rule javascript:S1121 is enabled on the server, but not available in SonarLint
Rule javascript:S3782 is enabled on the server, but not available in SonarLint
Rule javascript:S1481 is enabled on the server, but not available in SonarLint
Rule javascript:S2692 is enabled on the server, but not available in SonarLint
Rule javascript:S1526 is enabled on the server, but not available in SonarLint
Rule javascript:S1527 is enabled on the server, but not available in SonarLint
Rule javascript:S2737 is enabled on the server, but not available in SonarLint
Rule javascript:S1128 is enabled on the server, but not available in SonarLint
Rule javascript:S1126 is enabled on the server, but not available in SonarLint
Rule javascript:S1764 is enabled on the server, but not available in SonarLint
Rule javascript:S1125 is enabled on the server, but not available in SonarLint
Rule javascript:S1488 is enabled on the server, but not available in SonarLint
Rule javascript:S1763 is enabled on the server, but not available in SonarLint
Rule javascript:S3786 is enabled on the server, but not available in SonarLint
Rule javascript:S1528 is enabled on the server, but not available in SonarLint
Rule javascript:S1529 is enabled on the server, but not available in SonarLint
Rule javascript:S108 is enabled on the server, but not available in SonarLint
Rule javascript:S107 is enabled on the server, but not available in SonarLint
Rule javascript:S1871 is enabled on the server, but not available in SonarLint
Rule javascript:S2201 is enabled on the server, but not available in SonarLint
Rule javascript:S2685 is enabled on the server, but not available in SonarLint
Rule javascript:S3531 is enabled on the server, but not available in SonarLint
Rule javascript:S1472 is enabled on the server, but not available in SonarLint
Rule javascript:S1110 is enabled on the server, but not available in SonarLint
Rule javascript:S2681 is enabled on the server, but not available in SonarLint
Rule javascript:S1515 is enabled on the server, but not available in SonarLint
Rule javascript:S1516 is enabled on the server, but not available in SonarLint
Rule javascript:S3812 is enabled on the server, but not available in SonarLint
Rule javascript:S905 is enabled on the server, but not available in SonarLint
Rule javascript:S2688 is enabled on the server, but not available in SonarLint
Rule javascript:S1116 is enabled on the server, but not available in SonarLint
Rule javascript:S1479 is enabled on the server, but not available in SonarLint
Rule javascript:S4624 is enabled on the server, but not available in SonarLint
Rule javascript:S1751 is enabled on the server, but not available in SonarLint
Rule javascript:S3776 is enabled on the server, but not available in SonarLint
Rule javascript:S1994 is enabled on the server, but not available in SonarLint
Rule javascript:S104 is enabled on the server, but not available in SonarLint
Rule javascript:S103 is enabled on the server, but not available in SonarLint
Rule javascript:S101 is enabled on the server, but not available in SonarLint
Rule javascript:S2310 is enabled on the server, but not available in SonarLint
Rule javascript:S3003 is enabled on the server, but not available in SonarLint
Rule javascript:S878 is enabled on the server, but not available in SonarLint
Rule javascript:S2432 is enabled on the server, but not available in SonarLint
Rule javascript:S117 is enabled on the server, but not available in SonarLint
Rule javascript:S3001 is enabled on the server, but not available in SonarLint
Rule javascript:S3760 is enabled on the server, but not available in SonarLint
Rule javascript:S2392 is enabled on the server, but not available in SonarLint
Rule javascript:S3923 is enabled on the server, but not available in SonarLint
Rule javascript:S3801 is enabled on the server, but not available in SonarLint
Rule javascript:S3403 is enabled on the server, but not available in SonarLint
Rule javascript:S3800 is enabled on the server, but not available in SonarLint
Rule javascript:S1226 is enabled on the server, but not available in SonarLint
Rule javascript:S1862 is enabled on the server, but not available in SonarLint
Rule javascript:S1192 is enabled on the server, but not available in SonarLint
Rule javascript:S113 is enabled on the server, but not available in SonarLint
Rule javascript:S888 is enabled on the server, but not available in SonarLint
Rule javascript:S128 is enabled on the server, but not available in SonarLint
Rule javascript:S3353 is enabled on the server, but not available in SonarLint
Rule javascript:S4165 is enabled on the server, but not available in SonarLint
Rule javascript:S4043 is enabled on the server, but not available in SonarLint
Rule javascript:S2428 is enabled on the server, but not available in SonarLint
Rule javascript:S2703 is enabled on the server, but not available in SonarLint
Rule javascript:S1219 is enabled on the server, but not available in SonarLint
Rule javascript:S1854 is enabled on the server, but not available in SonarLint
Rule javascript:S3516 is enabled on the server, but not available in SonarLint
Rule javascript:S3758 is enabled on the server, but not available in SonarLint
Rule javascript:S3757 is enabled on the server, but not available in SonarLint
Rule javascript:S2424 is enabled on the server, but not available in SonarLint
Rule javascript:S3512 is enabled on the server, but not available in SonarLint
Rule javascript:S4326 is enabled on the server, but not available in SonarLint
Rule javascript:S3358 is enabled on the server, but not available in SonarLint
Rule javascript:S122 is enabled on the server, but not available in SonarLint
Rule javascript:S881 is enabled on the server, but not available in SonarLint
Rule javascript:S121 is enabled on the server, but not available in SonarLint
Rule javascript:S125 is enabled on the server, but not available in SonarLint
Rule javascript:S1321 is enabled on the server, but not available in SonarLint
Rule javascript:S4158 is enabled on the server, but not available in SonarLint
Rule javascript:S3981 is enabled on the server, but not available in SonarLint
Rule javascript:S138 is enabled on the server, but not available in SonarLint
Rule javascript:S1440 is enabled on the server, but not available in SonarLint
Rule javascript:S930 is enabled on the server, but not available in SonarLint
Rule javascript:S2251 is enabled on the server, but not available in SonarLint
Rule javascript:S4275 is enabled on the server, but not available in SonarLint
Rule javascript:S2814 is enabled on the server, but not available in SonarLint
Rule javascript:S3626 is enabled on the server, but not available in SonarLint
Rule javascript:S2138 is enabled on the server, but not available in SonarLint
Rule javascript:S2259 is enabled on the server, but not available in SonarLint
Rule javascript:S2137 is enabled on the server, but not available in SonarLint
Rule javascript:S3500 is enabled on the server, but not available in SonarLint
Rule javascript:S3863 is enabled on the server, but not available in SonarLint
Rule javascript:S3984 is enabled on the server, but not available in SonarLint
Rule javascript:S2819 is enabled on the server, but not available in SonarLint
Rule javascript:S2123 is enabled on the server, but not available in SonarLint
Rule javascript:S3972 is enabled on the server, but not available in SonarLint
Rule javascript:S3696 is enabled on the server, but not available in SonarLint
Rule javascript:S4144 is enabled on the server, but not available in SonarLint
Rule javascript:S4143 is enabled on the server, but not available in SonarLint
Rule javascript:S1439 is enabled on the server, but not available in SonarLint
Rule javascript:S3616 is enabled on the server, but not available in SonarLint
Rule javascript:S3735 is enabled on the server, but not available in SonarLint
Rule javascript:S1314 is enabled on the server, but not available in SonarLint
Rule javascript:S3579 is enabled on the server, but not available in SonarLint
Rule javascript:S3854 is enabled on the server, but not available in SonarLint
Rule javascript:S3699 is enabled on the server, but not available in SonarLint
Rule javascript:S3973 is enabled on the server, but not available in SonarLint
Rule javascript:S4030 is enabled on the server, but not available in SonarLint
Rule javascript:S3686 is enabled on the server, but not available in SonarLint
Rule javascript:S2234 is enabled on the server, but not available in SonarLint
Rule javascript:S2990 is enabled on the server, but not available in SonarLint
Rule javascript:S1143 is enabled on the server, but not available in SonarLint
Rule javascript:S1264 is enabled on the server, but not available in SonarLint
Rule javascript:S2870 is enabled on the server, but not available in SonarLint
Rule javascript:S1788 is enabled on the server, but not available in SonarLint
Rule javascript:S2757 is enabled on the server, but not available in SonarLint
Rule javascript:S2999 is enabled on the server, but not available in SonarLint
Rule javascript:S1940 is enabled on the server, but not available in SonarLint
Rule javascript:S1301 is enabled on the server, but not available in SonarLint
Rule javascript:S4140 is enabled on the server, but not available in SonarLint
Rule javascript:S2189 is enabled on the server, but not available in SonarLint
Rule javascript:S3796 is enabled on the server, but not available in SonarLint
Rule javascript:S1134 is enabled on the server, but not available in SonarLint
Rule javascript:S1131 is enabled on the server, but not available in SonarLint
Rule javascript:S1656 is enabled on the server, but not available in SonarLint
Rule javascript:S3317 is enabled on the server, but not available in SonarLint
Rule javascript:S1536 is enabled on the server, but not available in SonarLint
Rule javascript:S3834 is enabled on the server, but not available in SonarLint
Rule javascript:S1533 is enabled on the server, but not available in SonarLint
Rule javascript:S2589 is enabled on the server, but not available in SonarLint
Rule javascript:S1534 is enabled on the server, but not available in SonarLint
Rule javascript:S3799 is enabled on the server, but not available in SonarLint
Rule javascript:S1135 is enabled on the server, but not available in SonarLint
Rule javascript:S4524 is enabled on the server, but not available in SonarLint
* py: 155 active rules
Rule pythonsecurity:S2091 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5131 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5135 is enabled on the server, but not available in SonarLint
Rule pythonbugs:S2259 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S2631 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S2078 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S2076 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S2083 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S6287 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5334 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S3649 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5144 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5146 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5145 is enabled on the server, but not available in SonarLint
Rule pythonsecurity:S5147 is enabled on the server, but not available in SonarLint
* pli: 16 active rules
* tsql: 53 active rules
* apex: 38 active rules
* plsql: 130 active rules
* ruby: 28 active rules
* java: 423 active rules
Rule javasecurity:S5144 is enabled on the server, but not available in SonarLint
Rule javasecurity:S5146 is enabled on the server, but not available in SonarLint
Rule javasecurity:S5145 is enabled on the server, but not available in SonarLint
Rule javasecurity:S5131 is enabled on the server, but not available in SonarLint
Rule javasecurity:S5135 is enabled on the server, but not available in SonarLint
Rule javasecurity:S2091 is enabled on the server, but not available in SonarLint
Rule javasecurity:S2083 is enabled on the server, but not available in SonarLint
Rule javasecurity:S2078 is enabled on the server, but not available in SonarLint
Rule javasecurity:S2076 is enabled on the server, but not available in SonarLint
Rule javasecurity:S5334 is enabled on the server, but not available in SonarLint
Rule javasecurity:S3649 is enabled on the server, but not available in SonarLint
Rule javasecurity:S2631 is enabled on the server, but not available in SonarLint
Rule javasecurity:S6096 is enabled on the server, but not available in SonarLint
* cobol: 72 active rules
Rule common-cobol:DuplicatedBlocks is enabled on the server, but not available in SonarLint
* web: 27 active rules
* xml: 15 active rules
* php: 153 active rules
Rule phpsecurity:S5883 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S2083 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S6287 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S2091 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S2631 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S2078 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5335 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S2076 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5334 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5144 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5146 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5145 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S3649 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5131 is enabled on the server, but not available in SonarLint
Rule phpsecurity:S5135 is enabled on the server, but not available in SonarLint
* abap: 62 active rules
Rule common-abap:DuplicatedBlocks is enabled on the server, but not available in SonarLint
* yaml: 0 active rules
Creating transient module container
Start analysis
Index files
Language of file 'file:/V:/_git/SE_yyy1/zzz/Library/src/Notepad_Plus_Plus.java' is detected to be 'Java'
1 file indexed
Setting filesystem encoding: UTF-8
Execute Sensor: JavaSensor
No workDir in SonarLint
Configured Java source version (sonar.java.source): 8
JavaClasspath initialization
Property 'sonar.java.jdkHome' resolved with:
[]
Property 'sonar.java.libraries' resolved with:
[xxxxx]
JavaClasspath initialization (done) | time=56ms
JavaTestClasspath initialization
Property 'sonar.java.jdkHome' resolved with:
[]
Property 'sonar.java.test.libraries' resolved with:
[xxxxx]
JavaTestClasspath initialization (done) | time=186ms
Server-side caching is not enabled. The Java analyzer will not try to leverage data from a previous analysis.
Java "Main" source files AST scan
1 source file to be analyzed
The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
Initializing metadata of file file:/V:/_git/SE_yyy1/zzz/Library/src/Notepad_Plus_Plus.java
[SE] Loaded 179 hardcoded method behaviors.
1/1 source file has been analyzed
Did not optimize analysis for any files, performed a full analysis for all 1 files.
Java "Main" source files AST scan (done) | time=214ms
No "Test" source files to scan.
No "Generated" source files to scan.
'CobolSquidSensor' skipped because there is no related files in the current project
'T-SQL Sensor' skipped because there is no related files in the current project
'Ruby Sensor' skipped because there is no related files in the current project
'Python Sensor' skipped because there is no related files in the current project
'Kotlin Sensor' skipped because there is no related files in the current project
Execute Sensor: Sonar Secrets Detection Sensor
'Scala Sensor' skipped because there is no related files in the current project
'Apex Sensor' skipped because there is no related files in the current project
'RPG sensor' skipped because there is no related files in the current project
'PliSquidSensor' skipped because there is no related files in the current project
'AbapSquidSensor' skipped because there is no related files in the current project
'PL/SQL Sensor' skipped because there is no related files in the current project
Execute Sensor: HTML
'XML Sensor' skipped because there is no related files in the current project
'PHP sensor' skipped because there is no related files in the current project
'Analyzer for "php.ini" files' skipped because there is no related files in the current project
Found 2 issue(s)
Download server issues for /Library/src/Notepad_Plus_Plus.java
GET 200 https://sesvc.xxx.com/api/system/status | response time=22ms
Downloaded server infos in 21ms
Skip downloading file issues on SonarQube 9.6+
Starting server issue database from V:\_git\SE_yyy1\zzz\.sonarlint\work\sesvc.xxx.com\xodus-issue-store9775614625181881521
Error during execution of SonarLint analysis
jetbrains.exodus.io.StorageTypeNotAllowedException: Database on remote storage is not allowed
at jetbrains.exodus.env.EnvironmentImpl.checkStorageType(EnvironmentImpl.java:1134)
at jetbrains.exodus.env.EnvironmentImpl.<init>(EnvironmentImpl.java:124)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments.prepare(Environments.kt:120)
at jetbrains.exodus.env.Environments.newInstance(Environments.kt:46)
at jetbrains.exodus.entitystore.PersistentEntityStores.newInstance(PersistentEntityStores.java:64)
at jetbrains.exodus.entitystore.PersistentEntityStores.newInstance(PersistentEntityStores.java:70)
at org.sonarsource.sonarlint.core.serverconnection.storage.XodusServerIssueStore.<init>(XodusServerIssueStore.java:120)
at org.sonarsource.sonarlint.core.serverconnection.storage.ServerIssueStoresManager.lambda$get$0(ServerIssueStoresManager.java:44)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
at org.sonarsource.sonarlint.core.serverconnection.storage.ServerIssueStoresManager.get(ServerIssueStoresManager.java:41)
at org.sonarsource.sonarlint.core.serverconnection.IssueStoreReader.getServerIssues(IssueStoreReader.java:43)
at org.sonarsource.sonarlint.core.serverconnection.ServerConnection.getServerIssues(ServerConnection.java:135)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.getServerIssues(ConnectedSonarLintEngineImpl.java:373)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$30(ConnectedEngineFacade.java:555)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.withEngine(ConnectedEngineFacade.java:200)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.downloadAllServerIssuesForFile(ConnectedEngineFacade.java:551)
at org.sonarlint.eclipse.core.internal.tracking.ServerIssueUpdater.fetchServerIssues(ServerIssueUpdater.java:125)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.trackServerIssuesSync(AnalyzeConnectedProjectJob.java:111)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.trackFileIssues(AnalyzeConnectedProjectJob.java:92)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.trackIssues(AbstractAnalyzeProjectJob.java:317)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.trackIssues(AnalyzeConnectedProjectJob.java:81)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.lambda$19(AbstractAnalyzeProjectJob.java:296)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2312)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.updateMarkers(AbstractAnalyzeProjectJob.java:296)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:203)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:157)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.run(AbstractSonarProjectJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)