Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not get result when analyzed #100

Open
2 tasks done
kinarobin opened this issue Dec 19, 2024 · 10 comments
Open
2 tasks done

Not get result when analyzed #100

kinarobin opened this issue Dec 19, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@kinarobin
Copy link

kinarobin commented Dec 19, 2024

New Issue Checklist

  • Updated the plugin to the latest version
  • I searched for existing GitHub issues

Issue Description

Command executed
Complete output when running sonar-scanner, including the stack trace and command used
 [14:30:53.536 INFO  Scanner configuration file: /Users/mac/Documents/sonar-scanner-6.2.1.4610-macosx-aarch64/conf/sonar-scanner.properties
14:30:53.538 INFO  Project root configuration file: /Users/mac/Desktop/DemoApp/sonar-project.properties
14:30:53.549 INFO  SonarScanner CLI 6.2.1.4610
14:30:53.550 INFO  Java 17.0.12 Eclipse Adoptium (64-bit)
14:30:53.550 INFO  Mac OS X 15.1 aarch64
14:30:53.554 DEBUG Scanner max available memory: 4 GB
14:30:53.572 DEBUG uname -m returned 'arm64'
14:30:53.573 DEBUG Create: /Users/mac/.sonar/cache
14:30:53.573 INFO  User cache: /Users/mac/.sonar/cache
14:30:53.573 DEBUG Create: /Users/mac/.sonar/cache/_tmp
14:30:53.679 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [8] entries
14:30:53.800 DEBUG Loaded [169] system trusted certificates
14:30:53.884 DEBUG --> GET http://localhost:9000/api/v2/analysis/version
14:30:54.059 DEBUG <-- 404 http://localhost:9000/api/v2/analysis/version (175ms, unknown-length body)
14:30:54.060 DEBUG --> GET http://localhost:9000/api/server/version
14:30:54.061 DEBUG <-- 200 http://localhost:9000/api/server/version (1ms, 12-byte body)
14:30:54.063 DEBUG Extract sonar-scanner-java-library-batch in temp...
14:30:54.064 DEBUG Get bootstrap index...
14:30:54.064 DEBUG --> GET http://localhost:9000/batch/index
14:30:54.065 DEBUG <-- 200 http://localhost:9000/batch/index (0ms, 82-byte body)
14:30:54.065 DEBUG Get bootstrap completed
14:30:54.066 DEBUG Create isolated classloader...
14:30:54.068 DEBUG Start temp cleaning...
14:30:54.071 DEBUG Temp cleaning done
14:30:54.074 INFO  Communicating with SonarQube Server 9.9.8.100196
14:30:54.075 DEBUG Work directory: /Users/mac/Desktop/DemoApp/.scannerwork
14:30:54.075 DEBUG Execution execute
14:30:54.168 DEBUG Community 9.9.8.100196
14:30:54.255 INFO  Load global settings
14:30:54.432 DEBUG GET 200 http://localhost:9000/api/settings/values.protobuf | time=176ms
14:30:54.444 INFO  Load global settings (done) | time=189ms
14:30:54.445 INFO  Server id: 147B411E-AZPY8P1M23bEq6amUBLy
14:30:54.447 INFO  User cache: /Users/mac/.sonar/cache
14:30:54.448 INFO  Load/download plugins
14:30:54.448 INFO  Load plugins index
14:30:54.606 DEBUG GET 200 http://localhost:9000/api/plugins/installed | time=158ms
14:30:54.619 INFO  Load plugins index (done) | time=171ms
14:30:54.652 INFO  Load/download plugins (done) | time=204ms
14:30:54.679 DEBUG Plugins:
14:30:54.679 DEBUG   * Python Code Quality and Security 3.24.1.11916 (python)
14:30:54.679 DEBUG   * Go Code Quality and Security 1.11.0.3905 (go)
14:30:54.679 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)
14:30:54.679 DEBUG   * Kotlin Code Quality and Security 2.12.0.1956 (kotlin)
14:30:54.679 DEBUG   * IaC Code Quality and Security 1.11.0.2847 (iac)
14:30:54.679 DEBUG   * Swift/Objective-C Code Quality and Security 0.5.1-SNAPSHOT (sonarapple)
14:30:54.679 DEBUG   * JavaScript/TypeScript/CSS Code Quality and Security 9.13.0.20537 (javascript)
14:30:54.679 DEBUG   * Ruby Code Quality and Security 1.11.0.3905 (ruby)
14:30:54.679 DEBUG   * Scala Code Quality and Security 1.11.0.3905 (sonarscala)
14:30:54.679 DEBUG   * C# Code Quality and Security 8.51.0.59060 (csharp)
14:30:54.679 DEBUG   * Java Code Quality and Security 7.16.0.30901 (java)
14:30:54.679 DEBUG   * HTML Code Quality and Security 3.7.1.3306 (web)
14:30:54.679 DEBUG   * Flex Code Quality and Security 2.8.0.3166 (flex)
14:30:54.679 DEBUG   * XML Code Quality and Security 2.7.0.3820 (xml)
14:30:54.679 DEBUG   * PHP Code Quality and Security 3.27.1.9352 (php)
14:30:54.679 DEBUG   * Text Code Quality and Security 2.0.2.1090 (text)
14:30:54.679 DEBUG   * VB.NET Code Quality and Security 8.51.0.59060 (vbnet)
14:30:54.679 DEBUG   * Configuration detection fot Code Quality and Security 1.2.0.267 (config)
14:30:54.921 INFO  Process project properties
14:30:54.924 INFO  Process project properties (done) | time=3ms
14:30:54.926 INFO  Execute project builders
14:30:54.926 DEBUG Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
14:30:54.926 DEBUG Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
14:30:54.926 INFO  Execute project builders (done) | time=0ms
14:30:54.928 INFO  Project key: DemoApp
14:30:54.928 INFO  Base dir: /Users/mac/Desktop/DemoApp
14:30:54.928 INFO  Working dir: /Users/mac/Desktop/DemoApp/.scannerwork
14:30:54.929 DEBUG Project global encoding: UTF-8, default locale: zh_CN_#Hans
14:30:54.932 INFO  Load project settings for component key: 'DemoApp'
14:30:55.100 DEBUG GET 200 http://localhost:9000/api/settings/values.protobuf?component=DemoApp | time=168ms
14:30:55.100 INFO  Load project settings for component key: 'DemoApp' (done) | time=168ms
14:30:55.133 DEBUG Creating module hierarchy
14:30:55.133 DEBUG   Init module 'DemoApp Project'
14:30:55.134 DEBUG     Base dir: /Users/mac/Desktop/DemoApp
14:30:55.134 DEBUG     Working dir: /Users/mac/Desktop/DemoApp/.scannerwork
14:30:55.134 DEBUG     Module global encoding: UTF-8, default locale: zh_CN_#Hans
14:30:55.141 DEBUG Available languages:
14:30:55.141 DEBUG   * Python => "py"
14:30:55.141 DEBUG   * Go => "go"
14:30:55.141 DEBUG   * Kotlin => "kotlin"
14:30:55.141 DEBUG   * Terraform => "terraform"
14:30:55.141 DEBUG   * CloudFormation => "cloudformation"
14:30:55.141 DEBUG   * Kubernetes => "kubernetes"
14:30:55.141 DEBUG   * Docker => "docker"
14:30:55.141 DEBUG   * Swift => "swift"
14:30:55.141 DEBUG   * Objective-C => "objc"
14:30:55.141 DEBUG   * JavaScript => "js"
14:30:55.141 DEBUG   * TypeScript => "ts"
14:30:55.141 DEBUG   * CSS => "css"
14:30:55.141 DEBUG   * Ruby => "ruby"
14:30:55.141 DEBUG   * Scala => "scala"
14:30:55.141 DEBUG   * C# => "cs"
14:30:55.141 DEBUG   * Java => "java"
14:30:55.141 DEBUG   * HTML => "web"
14:30:55.141 DEBUG   * JSP => "jsp"
14:30:55.141 DEBUG   * Flex => "flex"
14:30:55.141 DEBUG   * XML => "xml"
14:30:55.141 DEBUG   * PHP => "php"
14:30:55.141 DEBUG   * Text => "text"
14:30:55.141 DEBUG   * Secrets => "secrets"
14:30:55.141 DEBUG   * VB.NET => "vbnet"
14:30:55.141 DEBUG   * YAML => "yaml"
14:30:55.141 DEBUG   * JSON => "json"
14:30:55.156 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
14:30:55.161 INFO  Load quality profiles
14:30:55.330 DEBUG GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=DemoApp | time=169ms
14:30:55.340 INFO  Load quality profiles (done) | time=179ms
14:30:55.342 INFO  Load active rules
14:30:55.514 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8S_d23bEq6amUJhR&ps=500&p=1 | time=172ms
14:30:55.720 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TAR23bEq6amUJiP&ps=500&p=1 | time=165ms
14:30:55.893 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TA_23bEq6amUJjs&ps=500&p=1 | time=170ms
14:30:56.057 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TBl23bEq6amUJkM&ps=500&p=1 | time=162ms
14:30:56.269 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TDq23bEq6amUJxH&ps=500&p=1 | time=212ms
14:30:56.491 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TE023bEq6amUJ6j&ps=500&p=1 | time=211ms
14:30:56.664 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TG123bEq6amUJ_m&ps=500&p=1 | time=166ms
14:30:56.914 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TJq23bEq6amUKbg&ps=500&p=1 | time=249ms
14:30:57.098 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TKu23bEq6amUKj5&ps=500&p=1 | time=170ms
14:30:57.270 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TL723bEq6amUKnH&ps=500&p=1 | time=171ms
14:30:57.441 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TLX23bEq6amUKlI&ps=500&p=1 | time=170ms
14:30:57.602 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TMm23bEq6amUKn4&ps=500&p=1 | time=160ms
14:30:57.765 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TOd23bEq6amUKzb&ps=500&p=1 | time=163ms
14:30:57.966 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TPK23bEq6amUK3e&ps=500&p=1 | time=201ms
14:30:58.142 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TQB23bEq6amUK6O&ps=500&p=1 | time=174ms
14:30:58.325 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPZAB-PyDCPqTGqKaSr&ps=500&p=1 | time=182ms
14:30:58.488 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TQt23bEq6amUK6q&ps=500&p=1 | time=161ms
14:30:58.654 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TBq23bEq6amUJlH&ps=500&p=1 | time=165ms
14:30:58.845 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TCh23bEq6amUJon&ps=500&p=1 | time=190ms
14:30:59.011 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TFj23bEq6amUJ9q&ps=500&p=1 | time=165ms
14:30:59.180 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TGN23bEq6amUJ-3&ps=500&p=1 | time=169ms
14:30:59.394 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TH923bEq6amUKIC&ps=500&p=1 | time=213ms
14:30:59.600 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TM523bEq6amUKuK&ps=500&p=1 | time=203ms
14:30:59.789 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TN223bEq6amUKym&ps=500&p=1 | time=187ms
14:30:59.958 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPZACDYyDCPqTGqKaZs&ps=500&p=1 | time=168ms
14:31:00.174 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TRL23bEq6amULBW&ps=500&p=1 | time=215ms
14:31:00.185 INFO  Load active rules (done) | time=4843ms
14:31:00.188 INFO  Load analysis cache
14:31:00.350 DEBUG GET 404 http://localhost:9000/api/analysis_cache/get?project=DemoApp | time=162ms
14:31:00.352 INFO  Load analysis cache (404) | time=164ms
14:31:00.380 WARN  Property 'sonar.password' is deprecated. It will not be supported in the future. Please instead use the 'sonar.login' parameter with a token.
14:31:00.385 INFO  Load project repositories
14:31:00.547 DEBUG GET 200 http://localhost:9000/batch/project.protobuf?key=DemoApp | time=162ms
14:31:00.552 INFO  Load project repositories (done) | time=167ms
14:31:00.562 DEBUG Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
14:31:00.562 DEBUG Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
14:31:00.562 DEBUG Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
14:31:00.562 DEBUG Declared extensions of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
14:31:00.562 DEBUG Declared extensions of language CloudFormation were converted to sonar.lang.patterns.cloudformation :
14:31:00.562 DEBUG Declared extensions of language Kubernetes were converted to sonar.lang.patterns.kubernetes :
14:31:00.562 DEBUG Declared extensions of language Docker were converted to sonar.lang.patterns.docker :
14:31:00.562 DEBUG Declared extensions of language Swift were converted to sonar.lang.patterns.swift : **/*.swift
14:31:00.562 DEBUG Declared extensions of language Objective-C were converted to sonar.lang.patterns.objc : **/*.h,**/*.m,**/*.mm
14:31:00.562 DEBUG Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
14:31:00.562 DEBUG Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
14:31:00.562 DEBUG Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
14:31:00.563 DEBUG Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
14:31:00.563 DEBUG Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
14:31:00.563 DEBUG Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
14:31:00.563 DEBUG Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
14:31:00.563 DEBUG Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
14:31:00.563 DEBUG Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
14:31:00.563 DEBUG Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
14:31:00.563 DEBUG Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
14:31:00.563 DEBUG Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
14:31:00.563 DEBUG Declared extensions of language Text were converted to sonar.lang.patterns.text :
14:31:00.563 DEBUG Declared extensions of language Secrets were converted to sonar.lang.patterns.secrets :
14:31:00.563 DEBUG Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
14:31:00.563 DEBUG Declared extensions of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
14:31:00.563 DEBUG Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json
14:31:00.566 DEBUG Will ignore generated code
14:31:00.567 DEBUG Will ignore generated code
14:31:00.568 INFO  Indexing files...
14:31:00.568 INFO  Project configuration:
14:31:00.576 DEBUG 'DemoApp/AppDelegate.h' indexed with language 'objc'
14:31:00.579 DEBUG 'DemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json' indexed with language 'json'
14:31:00.580 DEBUG 'DemoApp/Assets.xcassets/AccentColor.colorset/Contents.json' indexed with language 'json'
14:31:00.581 DEBUG 'DemoApp/Assets.xcassets/Contents.json' indexed with language 'json'
14:31:00.581 DEBUG 'DemoApp/ViewController.m' indexed with language 'objc'
14:31:00.582 DEBUG 'DemoApp/SceneDelegate.m' indexed with language 'objc'
14:31:00.582 DEBUG 'DemoApp/Base.lproj/LaunchScreen.storyboard' indexed with no language
14:31:00.583 DEBUG 'DemoApp/Base.lproj/Main.storyboard' indexed with no language
14:31:00.583 DEBUG 'DemoApp/main.m' indexed with language 'objc'
14:31:00.584 DEBUG 'DemoApp/AppDelegate.m' indexed with language 'objc'
14:31:00.584 DEBUG 'DemoApp/Info.plist' indexed with no language
14:31:00.585 DEBUG 'DemoApp/ViewController.h' indexed with language 'objc'
14:31:00.585 DEBUG 'DemoApp/SceneDelegate.h' indexed with language 'objc'
14:31:00.586 INFO  13 files indexed
14:31:00.587 INFO  Quality profile for json: Sonar way
14:31:00.587 INFO  Quality profile for objc: Objective-C
14:31:00.587 INFO  ------------- Run sensors on module DemoApp Project
14:31:00.636 INFO  Load metrics repository
14:31:00.798 DEBUG GET 200 http://localhost:9000/api/metrics/search?ps=500&p=1 | time=161ms
14:31:00.806 INFO  Load metrics repository (done) | time=170ms
14:31:01.492 DEBUG 'JavaSensor' skipped because there is no related file in current project
14:31:01.492 DEBUG 'Import external issues report' skipped because one of the required properties is missing
14:31:01.493 DEBUG 'Import external issues report from SARIF file.' skipped because one of the required properties is missing
14:31:01.493 DEBUG 'Python Sensor' skipped because there is no related file in current project
14:31:01.493 DEBUG 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
14:31:01.493 DEBUG 'PythonXUnitSensor' skipped because there is no related file in current project
14:31:01.493 DEBUG 'Import of Pylint issues' skipped because there is no related file in current project
14:31:01.493 DEBUG 'Import of Bandit issues' skipped because there is no related file in current project
14:31:01.493 DEBUG 'Import of Flake8 issues' skipped because there is no related file in current project
14:31:01.493 DEBUG 'Code Quality and Security for Go' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Go Unit Test Report' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
14:31:01.494 DEBUG 'Import of go vet issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Import of Golint issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Import of GoMetaLinter issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Kotlin Sensor' skipped because there is no related file in current project
14:31:01.494 DEBUG 'KotlinSurefireSensor' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Import of detekt issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Import of Android Lint issues' skipped because one of the required properties is missing
14:31:01.494 DEBUG 'Import of ktlint issues' skipped because there is no related file in current project
14:31:01.494 DEBUG 'IaC Terraform Sensor' skipped because there is no related file in current project
14:31:01.494 DEBUG 'Swift Sensor' skipped because there is no related file in current project
14:31:01.495 DEBUG 'Xcode Tests' skipped because there is no related file in current project
14:31:01.495 DEBUG 'SwiftLint Sensor' skipped because there is no related file in current project
14:31:01.495 DEBUG 'Periphery Sensor' skipped because there is no related file in current project
14:31:01.495 DEBUG 'JavaScript analysis' skipped because there is no related file in current project
14:31:01.495 DEBUG 'TypeScript analysis' skipped because there is no related file in current project
14:31:01.495 DEBUG 'JavaScript inside YAML analysis' skipped because there is no related file in current project
14:31:01.495 DEBUG 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
14:31:01.495 DEBUG 'Import of ESLint issues' skipped because one of the required properties is missing
14:31:01.495 DEBUG 'Import of TSLint issues' skipped because one of the required properties is missing
14:31:01.495 DEBUG 'CSS Metrics' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of stylelint issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Ruby Sensor' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of RuboCop issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Scala Sensor' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Scoverage sensor for Scala coverage' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of Scalastyle issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of Scapegoat issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of Checkstyle issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Import of PMD issues' skipped because one of the required properties is missing
14:31:01.496 DEBUG 'Import of SpotBugs issues' skipped because there is no related file in current project
14:31:01.496 DEBUG 'SurefireSensor' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Removed properties sensor' skipped because there is no related file in current project
14:31:01.496 DEBUG 'Flex' skipped because there is no related file in current project
14:31:01.497 DEBUG 'Flex Cobertura' skipped because there is no related file in current project
14:31:01.497 DEBUG 'XML Sensor' skipped because there is no related file in current project
14:31:01.497 DEBUG 'PHP sensor' skipped because there is no related file in current project
14:31:01.497 DEBUG 'Analyzer for "php.ini" files' skipped because there is no related file in current project
14:31:01.497 DEBUG 'Import of PHPStan issues' skipped because there is no related file in current project
14:31:01.497 DEBUG 'Import of Psalm issues' skipped because there is no related file in current project
14:31:01.498 DEBUG 'Generic Test Executions Report' skipped because one of the required properties is missing
14:31:01.498 DEBUG Sensors : JaCoCo XML Report Importer -> IaC CloudFormation Sensor -> IaC Kubernetes Sensor -> Objective-C Sensor -> Xcode Coverage -> Xcode Warnings -> MobSFScan Sensor -> OCLint Sensor -> CSS Rules -> C# Project Type Information -> C# Analysis Log -> C# Properties -> HTML -> TextAndSecretsSensor -> VB.NET Project Type Information -> VB.NET Analysis Log -> VB.NET Properties -> IaC Docker Sensor
14:31:01.498 INFO  Sensor JaCoCo XML Report Importer [jacoco]
14:31:01.499 INFO  'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
14:31:01.499 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer
14:31:01.499 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
14:31:01.499 INFO  Sensor IaC CloudFormation Sensor [iac]
14:31:01.504 DEBUG 'DemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json' generated metadata with charset 'UTF-8'
14:31:01.506 DEBUG 'DemoApp/Assets.xcassets/AccentColor.colorset/Contents.json' generated metadata with charset 'UTF-8'
14:31:01.506 DEBUG 'DemoApp/Assets.xcassets/Contents.json' generated metadata with charset 'UTF-8'
14:31:01.507 INFO  0 source files to be analyzed
14:31:01.512 INFO  0/0 source files have been analyzed
14:31:01.512 INFO  Sensor IaC CloudFormation Sensor [iac] (done) | time=13ms
14:31:01.512 INFO  Sensor IaC Kubernetes Sensor [iac]
14:31:01.513 INFO  0 source files to be analyzed
14:31:01.515 INFO  0/0 source files have been analyzed
14:31:01.515 INFO  Sensor IaC Kubernetes Sensor [iac] (done) | time=3ms
14:31:01.515 INFO  Sensor Objective-C Sensor [sonarapple]
14:31:01.591 DEBUG 'DemoApp/SceneDelegate.h' generated metadata with charset 'UTF-8'
14:31:01.598 DEBUG 'DemoApp/SceneDelegate.m' generated metadata with charset 'UTF-8'
14:31:01.643 DEBUG 'DemoApp/main.m' generated metadata with charset 'UTF-8'
14:31:01.645 DEBUG 'DemoApp/ViewController.h' generated metadata with charset 'UTF-8'
14:31:01.645 DEBUG Not enough content in 'DemoApp/ViewController.h' to have CPD blocks, it will not be part of the duplication detection
14:31:01.646 DEBUG 'DemoApp/AppDelegate.h' generated metadata with charset 'UTF-8'
14:31:01.647 DEBUG Not enough content in 'DemoApp/AppDelegate.h' to have CPD blocks, it will not be part of the duplication detection
14:31:01.649 DEBUG 'DemoApp/AppDelegate.m' generated metadata with charset 'UTF-8'
14:31:01.656 DEBUG 'DemoApp/ViewController.m' generated metadata with charset 'UTF-8'
14:31:01.660 INFO  Sensor Objective-C Sensor [sonarapple] (done) | time=145ms
14:31:01.660 INFO  Sensor Xcode Coverage [sonarapple]
14:31:01.661 DEBUG Command that will be executed: xcrun xccov view --archive --json /Users/mac/Desktop/DemoApp/build/result.xcresult 1>&2 2>/dev/null
14:31:02.456 INFO  Parsed 5 file(s) with coverage data
14:31:02.456 INFO  Mapped to 5 value(s)
14:31:02.456 INFO  5 code coverage data to handle
14:31:02.456 DEBUG Collecting coverage data for /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoAppTests/DemoAppTests.m
14:31:02.457 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoAppTests/DemoAppTests.m
14:31:02.457 DEBUG Collecting coverage data for /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/AppDelegate.m
14:31:02.457 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/AppDelegate.m
14:31:02.457 DEBUG Collecting coverage data for /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/main.m
14:31:02.457 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/main.m
14:31:02.457 DEBUG Collecting coverage data for /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/SceneDelegate.m
14:31:02.457 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/SceneDelegate.m
14:31:02.457 DEBUG Collecting coverage data for /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/ViewController.m
14:31:02.457 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/ViewController.m
14:31:02.457 INFO  Sensor Xcode Coverage [sonarapple] (done) | time=797ms
14:31:02.457 INFO  Sensor Xcode Warnings [sonarapple]
14:31:02.457 DEBUG Command that will be executed: xcrun xcresulttool version
14:31:02.480 DEBUG Command that will be executed: xcrun xcresulttool get --format json --path /Users/mac/Desktop/DemoApp/build/result.xcresult --legacy
14:31:02.517 INFO  Parsed 1 warning(s)
14:31:02.518 INFO  Mapped to 1 value(s)
14:31:02.518 INFO  Mapped to 1 value(s)
14:31:02.521 WARN  File not included in SonarQube sources /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/ViewController.m
14:31:02.521 INFO  Sensor Xcode Warnings [sonarapple] (done) | time=64ms
14:31:02.521 INFO  Sensor MobSFScan Sensor [sonarapple]
14:31:02.522 DEBUG Command that will be executed: mobsfscan --json DemoApp
14:31:02.528 ERROR Running failed. Run in verbose to get more information.
14:31:02.529 DEBUG {}
org.buildobjects.process.StartupException: Could not startup process 'mobsfscan --json DemoApp'.
	at org.buildobjects.process.Proc.(Proc.java:77)
	at org.buildobjects.process.ProcBuilder.run(ProcBuilder.java:223)
	at fr.insideapp.sonarqube.apple.commons.cli.CommandLineToolRunner.execute(CommandLineToolRunner.java:51)
	at fr.insideapp.sonarqube.apple.commons.cli.SingleCommandLineToolRunner.run(SingleCommandLineToolRunner.java:33)
	at fr.insideapp.sonarqube.apple.commons.cli.StaticSingleCommandLineToolRunner.run(StaticSingleCommandLineToolRunner.java:33)
	at fr.insideapp.sonarqube.apple.mobsfscan.MobSFScanSensor.execute(MobSFScanSensor.java:74)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.lib.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:41)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.sonarsource.scanner.lib.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:62)
	at jdk.proxy3/jdk.proxy3.$Proxy2.execute(Unknown Source)
	at org.sonarsource.scanner.lib.InProcessScannerEngineFacade.doAnalyze(InProcessScannerEngineFacade.java:39)
	at org.sonarsource.scanner.lib.ScannerEngineFacade.analyze(ScannerEngineFacade.java:61)
	at org.sonarsource.scanner.cli.Main.analyze(Main.java:77)
	at org.sonarsource.scanner.cli.Main.main(Main.java:63)
Caused by: java.io.IOException: Cannot run program "mobsfscan": error=2, No such file or directory
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at org.buildobjects.process.Proc.(Proc.java:63)
	... 34 common frames omitted
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.(Unknown Source)
	at java.base/java.lang.ProcessImpl.start(Unknown Source)
	... 37 common frames omitted

14:31:02.530 ERROR Parsing failed. Run in verbose to get more information.
14:31:02.530 DEBUG {}
com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1]
at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4996)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4898)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3848)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3816)
at fr.insideapp.sonarqube.apple.mobsfscan.parser.MobSFScanReportParser.perform(MobSFScanReportParser.java:48)
at fr.insideapp.sonarqube.apple.commons.parser.ReportListParser.parse(ReportListParser.java:38)
at fr.insideapp.sonarqube.apple.commons.parser.ReportListParser.parse(ReportListParser.java:27)
at fr.insideapp.sonarqube.apple.mobsfscan.MobSFScanSensor.execute(MobSFScanSensor.java:75)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:61)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
at org.sonarsource.scanner.lib.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:41)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.sonarsource.scanner.lib.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:62)
at jdk.proxy3/jdk.proxy3.$Proxy2.execute(Unknown Source)
at org.sonarsource.scanner.lib.InProcessScannerEngineFacade.doAnalyze(InProcessScannerEngineFacade.java:39)
at org.sonarsource.scanner.lib.ScannerEngineFacade.analyze(ScannerEngineFacade.java:61)
at org.sonarsource.scanner.cli.Main.analyze(Main.java:77)
at org.sonarsource.scanner.cli.Main.main(Main.java:63)

14:31:02.530 INFO Parsed 0 MobSF issue(s)
14:31:02.530 INFO Mapped to 0 value(s)
14:31:02.530 INFO Sensor MobSFScan Sensor [sonarapple] (done) | time=9ms
14:31:02.530 INFO Sensor OCLint Sensor [sonarapple]
14:31:02.530 DEBUG JSON Compilation Database folder path according to the configuration is /Users/mac/Desktop/DemoApp/build/json_compilation_database
14:31:02.530 ERROR Failed to retrieve the JSON Compilation Database folder
14:31:02.530 DEBUG Exception: The JSON Compilation Database folder does not exist.
14:31:02.530 INFO Sensor OCLint Sensor [sonarapple] (done) | time=0ms
14:31:02.530 INFO Sensor CSS Rules [javascript]
14:31:02.531 INFO No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
14:31:02.531 INFO Sensor CSS Rules [javascript] (done) | time=1ms
14:31:02.531 INFO Sensor C# Project Type Information [csharp]
14:31:02.531 INFO Sensor C# Project Type Information [csharp] (done) | time=0ms
14:31:02.531 INFO Sensor C# Analysis Log [csharp]
14:31:02.538 DEBUG Project 'DemoApp': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
14:31:02.538 INFO Sensor C# Analysis Log [csharp] (done) | time=7ms
14:31:02.538 INFO Sensor C# Properties [csharp]
14:31:02.538 DEBUG Project 'DemoApp': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
14:31:02.538 DEBUG Project 'DemoApp': No Roslyn issues reports have been found.
14:31:02.538 INFO Sensor C# Properties [csharp] (done) | time=0ms
14:31:02.538 INFO Sensor HTML [web]
14:31:02.539 INFO Sensor HTML [web] (done) | time=1ms
14:31:02.539 INFO Sensor TextAndSecretsSensor [text]
14:31:02.544 INFO 10 source files to be analyzed
14:31:02.555 INFO 10/10 source files have been analyzed
14:31:02.555 INFO Sensor TextAndSecretsSensor [text] (done) | time=16ms
14:31:02.555 INFO Sensor VB.NET Project Type Information [vbnet]
14:31:02.556 INFO Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
14:31:02.556 INFO Sensor VB.NET Analysis Log [vbnet]
14:31:02.563 DEBUG Project 'DemoApp': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
14:31:02.563 INFO Sensor VB.NET Analysis Log [vbnet] (done) | time=7ms
14:31:02.563 INFO Sensor VB.NET Properties [vbnet]
14:31:02.563 DEBUG Project 'DemoApp': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
14:31:02.563 DEBUG Project 'DemoApp': No Roslyn issues reports have been found.
14:31:02.563 INFO Sensor VB.NET Properties [vbnet] (done) | time=0ms
14:31:02.563 INFO Sensor IaC Docker Sensor [iac]
14:31:02.563 INFO 0 source files to be analyzed
14:31:02.587 INFO 0/0 source files have been analyzed
14:31:02.587 INFO Sensor IaC Docker Sensor [iac] (done) | time=24ms
14:31:02.589 INFO ------------- Run sensors on project
14:31:02.609 DEBUG 'Generic Coverage Report' skipped because one of the required properties is missing
14:31:02.609 DEBUG 'C#' skipped because there is no related file in current project
14:31:02.609 DEBUG 'C# File Caching Sensor' skipped because there is no related file in current project
14:31:02.609 DEBUG 'C# Tests Coverage Report Import' skipped because there is no related file in current project
14:31:02.609 DEBUG '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
14:31:02.609 DEBUG 'C# Unit Test Results Import' skipped because there is no related file in current project
14:31:02.610 DEBUG 'VB.NET' skipped because there is no related file in current project
14:31:02.610 DEBUG 'VB.NET File Caching Sensor' skipped because there is no related file in current project
14:31:02.610 DEBUG 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
14:31:02.610 DEBUG '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
14:31:02.610 DEBUG 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
14:31:02.610 DEBUG 'Java CPD Block Indexer' skipped because there is no related file in current project
14:31:02.610 DEBUG Sensors : Analysis Warnings import -> Zero Coverage Sensor
14:31:02.610 INFO Sensor Analysis Warnings import [csharp]
14:31:02.610 INFO Sensor Analysis Warnings import [csharp] (done) | time=0ms
14:31:02.610 INFO Sensor Zero Coverage Sensor
14:31:02.610 INFO Sensor Zero Coverage Sensor (done) | time=0ms
14:31:02.611 INFO SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
14:31:02.612 INFO CPD Executor 2 files had no CPD blocks
14:31:02.613 INFO CPD Executor Calculating CPD for 5 files
14:31:02.613 DEBUG Detection of duplications for /Users/mac/Desktop/DemoApp/DemoApp/SceneDelegate.h
14:31:02.616 DEBUG Detection of duplications for /Users/mac/Desktop/DemoApp/DemoApp/SceneDelegate.m
14:31:02.616 DEBUG Detection of duplications for /Users/mac/Desktop/DemoApp/DemoApp/AppDelegate.m
14:31:02.616 DEBUG Detection of duplications for /Users/mac/Desktop/DemoApp/DemoApp/ViewController.m
14:31:02.617 DEBUG Detection of duplications for /Users/mac/Desktop/DemoApp/DemoApp/main.m
14:31:02.617 INFO CPD Executor CPD calculation finished (done) | time=4ms
14:31:02.653 INFO Analysis report generated in 33ms, dir size=164.3 kB
14:31:02.670 INFO Analysis report compressed in 17ms, zip size=31.8 kB
14:31:02.671 INFO Analysis report generated in /Users/mac/Desktop/DemoApp/.scannerwork/scanner-report
14:31:02.671 DEBUG Upload report
14:31:02.835 DEBUG POST 200 http://localhost:9000/api/ce/submit?projectKey=DemoApp&projectName=DemoApp%20Project | time=164ms
14:31:02.837 INFO Analysis report uploaded in 166ms
14:31:02.838 DEBUG Report metadata written to /Users/mac/Desktop/DemoApp/.scannerwork/report-task.txt
14:31:02.838 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=DemoApp
14:31:02.838 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
14:31:02.838 INFO More about the report processing at http://localhost:9000/api/ce/task?id=AZPdnNOwWhV0-__yUJKJ
14:31:02.840 DEBUG Post-jobs :
14:31:02.842 INFO Analysis total time: 8.140 s
14:31:02.843 INFO EXECUTION SUCCESS
14:31:02.843 INFO Total time: 9.309s]

Environment

 
sonar.projectKey=DemoApp
sonar.projectName=DemoApp Project
sonar.projectVersion=1.0

sonar.host.url=http://localhost:9000

sonar.login=xxxx
sonar.password=xxxx

sonar.sources=DemoApp
sonar.language=Objective-C

sonar.apple.periphery.indexStorePath=derivedData/Index.noindex/DataStore
sonar.sourceEncoding=UTF-8

sonar-scanner -v
14:36:56.353 INFO  Scanner configuration file: /Users/mac/Documents/sonar-scanner-6.2.1.4610-macosx-aarch64/conf/sonar-scanner.properties
14:36:56.355 INFO  Project root configuration file: /Users/mac/Desktop/DemoApp/sonar-project.properties
14:36:56.369 INFO  SonarScanner CLI 6.2.1.4610
14:36:56.370 INFO  Java 17.0.12 Eclipse Adoptium (64-bit)
14:36:56.370 INFO  Mac OS X 15.1 aarch64
@kinarobin kinarobin added the bug Something isn't working label Dec 19, 2024
@gaelfoppolo
Copy link
Contributor

Please add a description, we can't help you with only a raw log.

@kinarobin
Copy link
Author

@gaelfoppolo sonarqube had no result. image

@kinarobin kinarobin changed the title Don't get errors when analyzed Not get result when analyzed Dec 19, 2024
@gaelfoppolo
Copy link
Contributor

You have a project with only Objective-C files, with no tests.
So no coverage, no SwiftLint and no Periphery. Also you don't have mobsfscan installed.
So this is normal to have no results.

@kinarobin
Copy link
Author

You have a project with only Objective-C files, with no tests. So no coverage, no SwiftLint and no Periphery. Also you don't have mobsfscan installed. So this is normal to have no results.

I just want to analysis Objective-C source files with sonar-apple? could you help?

@gaelfoppolo
Copy link
Contributor

Well you have it, on your screen we can see you have 165 lines of Objective-C :)

@kinarobin
Copy link
Author

19:58:15.228 INFO  Scanner configuration file: /Users/mac/Documents/sonar-scanner-6.2.1.4610-macosx-aarch64/conf/sonar-scanner.properties
19:58:15.232 INFO  Project root configuration file: /Users/mac/Desktop/DemoApp/sonar-project.properties
19:58:15.247 INFO  SonarScanner CLI 6.2.1.4610
19:58:15.248 INFO  Java 17.0.12 Eclipse Adoptium (64-bit)
19:58:15.248 INFO  Mac OS X 15.1 aarch64
19:58:15.276 INFO  User cache: /Users/mac/.sonar/cache
19:58:15.813 INFO  Communicating with SonarQube Server 9.9.8.100196
19:58:16.028 INFO  Load global settings
19:58:16.221 INFO  Load global settings (done) | time=194ms
19:58:16.222 INFO  Server id: 147B411E-AZPY8P1M23bEq6amUBLy
19:58:16.224 INFO  User cache: /Users/mac/.sonar/cache
19:58:16.225 INFO  Load/download plugins
19:58:16.225 INFO  Load plugins index
19:58:16.397 INFO  Load plugins index (done) | time=172ms
19:58:16.446 INFO  Load/download plugins (done) | time=221ms
19:58:16.723 INFO  Process project properties
19:58:16.727 INFO  Process project properties (done) | time=4ms
19:58:16.728 INFO  Execute project builders
19:58:16.728 INFO  Execute project builders (done) | time=0ms
19:58:16.730 INFO  Project key: DemoApp
19:58:16.730 INFO  Base dir: /Users/mac/Desktop/DemoApp
19:58:16.730 INFO  Working dir: /Users/mac/Desktop/DemoApp/.scannerwork
19:58:16.734 INFO  Load project settings for component key: 'DemoApp'
19:58:16.898 INFO  Load project settings for component key: 'DemoApp' (done) | time=164ms
19:58:16.952 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
19:58:16.955 INFO  Load quality profiles
19:58:17.135 INFO  Load quality profiles (done) | time=180ms
19:58:17.137 INFO  Load active rules
19:58:21.944 INFO  Load active rules (done) | time=4807ms
19:58:21.946 INFO  Load analysis cache
19:58:22.116 INFO  Load analysis cache (404) | time=170ms
19:58:22.140 WARN  Property 'sonar.password' is deprecated. It will not be supported in the future. Please instead use the 'sonar.login' parameter with a token.
19:58:22.146 INFO  Load project repositories
19:58:22.312 INFO  Load project repositories (done) | time=166ms
19:58:22.328 INFO  Indexing files...
19:58:22.329 INFO  Project configuration:
19:58:22.731 INFO  2843 files indexed
19:58:22.732 INFO  Quality profile for json: Sonar way
19:58:22.732 INFO  Quality profile for objc: Objective-C
19:58:22.732 INFO  Quality profile for yaml: Sonar way
19:58:22.732 INFO  ------------- Run sensors on module DemoApp Project
19:58:22.782 INFO  Load metrics repository
19:58:22.948 INFO  Load metrics repository (done) | time=166ms
19:58:23.689 INFO  Sensor JaCoCo XML Report Importer [jacoco]
19:58:23.689 INFO  'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
19:58:23.690 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer
19:58:23.690 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
19:58:23.690 INFO  Sensor IaC CloudFormation Sensor [iac]
19:58:23.772 INFO  0 source files to be analyzed
19:58:23.802 INFO  0/0 source files have been analyzed
19:58:23.802 INFO  Sensor IaC CloudFormation Sensor [iac] (done) | time=112ms
19:58:23.803 INFO  Sensor IaC Kubernetes Sensor [iac]
19:58:23.829 INFO  0 source files to be analyzed
19:58:23.857 INFO  0/0 source files have been analyzed
19:58:23.857 INFO  Sensor IaC Kubernetes Sensor [iac] (done) | time=54ms
19:58:23.857 INFO  Sensor Objective-C Sensor [sonarapple]
19:58:23.996 INFO  Sensor Objective-C Sensor [sonarapple] (done) | time=139ms
19:58:23.996 INFO  Sensor Xcode Coverage [sonarapple]
19:58:24.658 INFO  Parsed 5 file(s) with coverage data
19:58:24.658 INFO  Mapped to 5 value(s)
19:58:24.658 INFO  5 code coverage data to handle
19:58:24.659 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/SceneDelegate.m
19:58:24.659 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/main.m
19:58:24.659 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/ViewController.m
19:58:24.659 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoAppTests/DemoAppTests.m
19:58:24.659 WARN  Can't find file /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/AppDelegate.m
19:58:24.659 INFO  Sensor Xcode Coverage [sonarapple] (done) | time=663ms
19:58:24.659 INFO  Sensor Xcode Warnings [sonarapple]
19:58:24.729 INFO  Parsed 1 warning(s)
19:58:24.730 INFO  Mapped to 1 value(s)
19:58:24.730 INFO  Mapped to 1 value(s)
19:58:24.743 WARN  File not included in SonarQube sources /Users/mac/Documents/sonarqube-9.9.8.100196/DemoApp/DemoApp/ViewController.m
19:58:24.743 INFO  Sensor Xcode Warnings [sonarapple] (done) | time=84ms
19:58:24.743 INFO  Sensor MobSFScan Sensor [sonarapple]
19:58:25.538 INFO  Parsed 6 MobSF issue(s)
19:58:25.539 INFO  Mapped to 20 value(s)
19:58:25.562 INFO  Sensor MobSFScan Sensor [sonarapple] (done) | time=819ms
19:58:25.562 INFO  Sensor OCLint Sensor [sonarapple]
19:58:25.562 ERROR Failed to retrieve the JSON Compilation Database folder
19:58:25.562 INFO  Sensor OCLint Sensor [sonarapple] (done) | time=0ms
19:58:25.562 INFO  Sensor JavaScript inside YAML analysis [javascript]
19:58:25.565 INFO  No input files found for analysis
19:58:25.566 INFO  Hit the cache for 0 out of 0
19:58:25.566 INFO  Miss the cache for 0 out of 0
19:58:25.566 INFO  Sensor JavaScript inside YAML analysis [javascript] (done) | time=4ms
19:58:25.566 INFO  Sensor CSS Rules [javascript]
19:58:25.568 INFO  No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
19:58:25.568 INFO  Sensor CSS Rules [javascript] (done) | time=2ms
19:58:25.568 INFO  Sensor C# Project Type Information [csharp]
19:58:25.569 INFO  Sensor C# Project Type Information [csharp] (done) | time=1ms
19:58:25.569 INFO  Sensor C# Analysis Log [csharp]
19:58:25.576 INFO  Sensor C# Analysis Log [csharp] (done) | time=7ms
19:58:25.576 INFO  Sensor C# Properties [csharp]
19:58:25.576 INFO  Sensor C# Properties [csharp] (done) | time=0ms
19:58:25.576 INFO  Sensor HTML [web]
19:58:25.581 INFO  Sensor HTML [web] (done) | time=5ms
19:58:25.581 INFO  Sensor TextAndSecretsSensor [text]
19:58:25.587 INFO  24 source files to be analyzed
19:58:25.691 INFO  24/24 source files have been analyzed
19:58:25.691 INFO  Sensor TextAndSecretsSensor [text] (done) | time=110ms
19:58:25.691 INFO  Sensor VB.NET Project Type Information [vbnet]
19:58:25.692 INFO  Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
19:58:25.692 INFO  Sensor VB.NET Analysis Log [vbnet]
19:58:25.700 INFO  Sensor VB.NET Analysis Log [vbnet] (done) | time=8ms
19:58:25.700 INFO  Sensor VB.NET Properties [vbnet]
19:58:25.700 INFO  Sensor VB.NET Properties [vbnet] (done) | time=0ms
19:58:25.700 INFO  Sensor IaC Docker Sensor [iac]
19:58:25.711 INFO  0 source files to be analyzed
19:58:25.747 INFO  0/0 source files have been analyzed
19:58:25.747 INFO  Sensor IaC Docker Sensor [iac] (done) | time=47ms
19:58:25.750 INFO  ------------- Run sensors on project
19:58:25.772 INFO  Sensor Analysis Warnings import [csharp]
19:58:25.773 INFO  Sensor Analysis Warnings import [csharp] (done) | time=1ms
19:58:25.773 INFO  Sensor Zero Coverage Sensor
19:58:25.782 INFO  Sensor Zero Coverage Sensor (done) | time=9ms
19:58:25.783 INFO  SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
19:58:25.785 INFO  CPD Executor 3 files had no CPD blocks
19:58:25.785 INFO  CPD Executor Calculating CPD for 6 files
19:58:25.791 INFO  CPD Executor CPD calculation finished (done) | time=6ms
19:58:25.831 INFO  Analysis report generated in 37ms, dir size=168.4 kB
19:58:25.851 INFO  Analysis report compressed in 20ms, zip size=34.9 kB
19:58:26.020 INFO  Analysis report uploaded in 169ms
19:58:26.021 INFO  ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=DemoApp
19:58:26.021 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
19:58:26.021 INFO  More about the report processing at http://localhost:9000/api/ce/task?id=AZPeyI7eWhV0-__yUJKP
19:58:26.028 INFO  Analysis total time: 9.529 s
19:58:26.029 INFO  EXECUTION SUCCESS
19:58:26.029 INFO  Total time: 10.803s

@kinarobin
Copy link
Author

@gaelfoppolo install mobsfscan , but no result

@gaelfoppolo
Copy link
Contributor

According to the logs, you have.

19:58:24.743 INFO  Sensor MobSFScan Sensor [sonarapple]
19:58:25.538 INFO  Parsed 6 MobSF issue(s)
19:58:25.539 INFO  Mapped to 20 value(s)
19:58:25.562 INFO  Sensor MobSFScan Sensor [sonarapple] (done) | time=819ms

@kinarobin
Copy link
Author

kinarobin commented Dec 19, 2024

image

image

But there is a problem with the display on it

@kinarobin
Copy link
Author

kinarobin commented Dec 19, 2024

@gaelfoppolo

Test Code

- (void)testExample {
    BGPersonal *p = [BGPersonal new];
    XCTAssertNotNil(p);
    NSString *s = @"";
    XCTAssertNil(s);
}

xcrun run:

xcrun xcodebuild -project SonaTest.xcodeproj -scheme SonaTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro' -derivedDataPath ./derivedData -resultBundlePath build/result.xcresult OTHER_CFLAGS="\$(inherited) -gen-cdb-fragment-path build/compilation_database" -quiet clean test
Writing result bundle at path:
	/Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/build/result.xcresult

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:35A6CD7C-9E57-4C1F-A4BB-37577F9E8E6F, OS:18.2, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:35A6CD7C-9E57-4C1F-A4BB-37577F9E8E6F, OS:18.2, name:iPhone 16 Pro }
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:35A6CD7C-9E57-4C1F-A4BB-37577F9E8E6F, OS:18.2, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:35A6CD7C-9E57-4C1F-A4BB-37577F9E8E6F, OS:18.2, name:iPhone 16 Pro }
Testing started
Test suite 'SonaTestTests' started on 'Clone 1 of iPhone 16 Pro - SonaTest (26490)'
Test case '-[SonaTestTests testExample]' failed on 'Clone 1 of iPhone 16 Pro - SonaTest (26490)' (0.555 seconds)
Test case '-[SonaTestTests testPerformanceExample]' passed on 'Clone 1 of iPhone 16 Pro - SonaTest (26490)' (0.255 seconds)
2024-12-19 23:36:09.598 xcodebuild[26140:4110164] [MT] IDETestOperationsObserverDebug: 72.175 elapsed -- Testing started completed.
2024-12-19 23:36:09.598 xcodebuild[26140:4110164] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2024-12-19 23:36:09.598 xcodebuild[26140:4110164] [MT] IDETestOperationsObserverDebug: 72.175 sec, +72.175 sec -- end
Failing tests:
	-[SonaTestTests testExample]

** TEST FAILED **

sonar-project.properties:

sonar.projectKey=SonaTest
sonar.projectName=SonaTest Project
sonar.projectVersion=1.0

sonar.host.url=http://localhost:9000

sonar.login=admin
sonar.password=616525

sonar.tests=SonaTestTests

sonar.language=objc

sonar.apple.periphery.indexStorePath=derivedData/Index.noindex/DataStore
sonar.sourceEncoding=UTF-8
sonar.verbose=true

Log:

23:39:32.095 INFO  Scanner configuration file: /Users/mac/Documents/sonar-scanner-6.2.1.4610-macosx-aarch64/conf/sonar-scanner.properties
23:39:32.097 INFO  Project root configuration file: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/sonar-project.properties
23:39:32.107 INFO  SonarScanner CLI 6.2.1.4610
23:39:32.108 INFO  Java 17.0.12 Eclipse Adoptium (64-bit)
23:39:32.108 INFO  Mac OS X 15.1 aarch64
23:39:32.111 DEBUG Scanner max available memory: 4 GB
23:39:32.126 DEBUG uname -m returned 'arm64'
23:39:32.127 DEBUG Create: /Users/mac/.sonar/cache
23:39:32.127 INFO  User cache: /Users/mac/.sonar/cache
23:39:32.127 DEBUG Create: /Users/mac/.sonar/cache/_tmp
23:39:32.225 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [8] entries
23:39:32.331 DEBUG Loaded [169] system trusted certificates
23:39:32.410 DEBUG --> GET http://localhost:9000/api/v2/analysis/version
23:39:32.581 DEBUG <-- 404 http://localhost:9000/api/v2/analysis/version (170ms, unknown-length body)
23:39:32.581 DEBUG --> GET http://localhost:9000/api/server/version
23:39:32.582 DEBUG <-- 200 http://localhost:9000/api/server/version (1ms, 12-byte body)
23:39:32.584 DEBUG Extract sonar-scanner-java-library-batch in temp...
23:39:32.586 DEBUG Get bootstrap index...
23:39:32.586 DEBUG --> GET http://localhost:9000/batch/index
23:39:32.587 DEBUG <-- 200 http://localhost:9000/batch/index (0ms, 82-byte body)
23:39:32.587 DEBUG Get bootstrap completed
23:39:32.587 DEBUG Create isolated classloader...
23:39:32.589 DEBUG Start temp cleaning...
23:39:32.593 DEBUG Temp cleaning done
23:39:32.596 INFO  Communicating with SonarQube Server 9.9.8.100196
23:39:32.597 DEBUG Work directory: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/.scannerwork
23:39:32.597 DEBUG Execution execute
23:39:32.685 DEBUG Community 9.9.8.100196
23:39:32.774 INFO  Load global settings
23:39:32.947 DEBUG GET 200 http://localhost:9000/api/settings/values.protobuf | time=170ms
23:39:32.960 INFO  Load global settings (done) | time=186ms
23:39:32.960 INFO  Server id: 147B411E-AZPY8P1M23bEq6amUBLy
23:39:32.962 INFO  User cache: /Users/mac/.sonar/cache
23:39:32.963 INFO  Load/download plugins
23:39:32.963 INFO  Load plugins index
23:39:33.120 DEBUG GET 200 http://localhost:9000/api/plugins/installed | time=157ms
23:39:33.132 INFO  Load plugins index (done) | time=169ms
23:39:33.164 INFO  Load/download plugins (done) | time=201ms
23:39:33.188 DEBUG Plugins:
23:39:33.188 DEBUG   * Python Code Quality and Security 3.24.1.11916 (python)
23:39:33.188 DEBUG   * Go Code Quality and Security 1.11.0.3905 (go)
23:39:33.188 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)
23:39:33.188 DEBUG   * Kotlin Code Quality and Security 2.12.0.1956 (kotlin)
23:39:33.188 DEBUG   * IaC Code Quality and Security 1.11.0.2847 (iac)
23:39:33.188 DEBUG   * Swift/Objective-C Code Quality and Security 0.5.1-SNAPSHOT (sonarapple)
23:39:33.188 DEBUG   * JavaScript/TypeScript/CSS Code Quality and Security 9.13.0.20537 (javascript)
23:39:33.188 DEBUG   * Ruby Code Quality and Security 1.11.0.3905 (ruby)
23:39:33.188 DEBUG   * Scala Code Quality and Security 1.11.0.3905 (sonarscala)
23:39:33.188 DEBUG   * C# Code Quality and Security 8.51.0.59060 (csharp)
23:39:33.188 DEBUG   * Java Code Quality and Security 7.16.0.30901 (java)
23:39:33.188 DEBUG   * HTML Code Quality and Security 3.7.1.3306 (web)
23:39:33.188 DEBUG   * Flex Code Quality and Security 2.8.0.3166 (flex)
23:39:33.188 DEBUG   * XML Code Quality and Security 2.7.0.3820 (xml)
23:39:33.188 DEBUG   * PHP Code Quality and Security 3.27.1.9352 (php)
23:39:33.188 DEBUG   * Text Code Quality and Security 2.0.2.1090 (text)
23:39:33.188 DEBUG   * VB.NET Code Quality and Security 8.51.0.59060 (vbnet)
23:39:33.188 DEBUG   * Configuration detection fot Code Quality and Security 1.2.0.267 (config)
23:39:33.390 INFO  Process project properties
23:39:33.393 INFO  Process project properties (done) | time=3ms
23:39:33.394 INFO  Execute project builders
23:39:33.395 DEBUG Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
23:39:33.395 DEBUG Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
23:39:33.395 INFO  Execute project builders (done) | time=1ms
23:39:33.398 INFO  Project key: SonaTest
23:39:33.398 INFO  Base dir: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest
23:39:33.398 INFO  Working dir: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/.scannerwork
23:39:33.398 DEBUG Project global encoding: UTF-8, default locale: zh_CN_#Hans
23:39:33.401 INFO  Load project settings for component key: 'SonaTest'
23:39:33.566 DEBUG GET 200 http://localhost:9000/api/settings/values.protobuf?component=SonaTest | time=165ms
23:39:33.566 INFO  Load project settings for component key: 'SonaTest' (done) | time=165ms
23:39:33.597 DEBUG Creating module hierarchy
23:39:33.597 DEBUG   Init module 'SonaTest Project'
23:39:33.597 DEBUG     Base dir: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest
23:39:33.597 DEBUG     Working dir: /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/.scannerwork
23:39:33.597 DEBUG     Module global encoding: UTF-8, default locale: zh_CN_#Hans
23:39:33.604 DEBUG Available languages:
23:39:33.604 DEBUG   * Python => "py"
23:39:33.604 DEBUG   * Go => "go"
23:39:33.604 DEBUG   * Kotlin => "kotlin"
23:39:33.604 DEBUG   * Terraform => "terraform"
23:39:33.604 DEBUG   * CloudFormation => "cloudformation"
23:39:33.604 DEBUG   * Kubernetes => "kubernetes"
23:39:33.604 DEBUG   * Docker => "docker"
23:39:33.604 DEBUG   * Swift => "swift"
23:39:33.604 DEBUG   * Objective-C => "objc"
23:39:33.604 DEBUG   * JavaScript => "js"
23:39:33.604 DEBUG   * TypeScript => "ts"
23:39:33.604 DEBUG   * CSS => "css"
23:39:33.604 DEBUG   * Ruby => "ruby"
23:39:33.604 DEBUG   * Scala => "scala"
23:39:33.604 DEBUG   * C# => "cs"
23:39:33.604 DEBUG   * Java => "java"
23:39:33.604 DEBUG   * HTML => "web"
23:39:33.604 DEBUG   * JSP => "jsp"
23:39:33.604 DEBUG   * Flex => "flex"
23:39:33.604 DEBUG   * XML => "xml"
23:39:33.604 DEBUG   * PHP => "php"
23:39:33.604 DEBUG   * Text => "text"
23:39:33.604 DEBUG   * Secrets => "secrets"
23:39:33.604 DEBUG   * VB.NET => "vbnet"
23:39:33.604 DEBUG   * YAML => "yaml"
23:39:33.604 DEBUG   * JSON => "json"
23:39:33.617 WARN  SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
23:39:33.621 INFO  Load quality profiles
23:39:33.789 DEBUG GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=SonaTest | time=168ms
23:39:33.797 INFO  Load quality profiles (done) | time=176ms
23:39:33.799 INFO  Load active rules
23:39:33.963 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8S_d23bEq6amUJhR&ps=500&p=1 | time=164ms
23:39:34.170 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TAR23bEq6amUJiP&ps=500&p=1 | time=169ms
23:39:34.339 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TA_23bEq6amUJjs&ps=500&p=1 | time=166ms
23:39:34.500 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TBl23bEq6amUJkM&ps=500&p=1 | time=159ms
23:39:34.719 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TDq23bEq6amUJxH&ps=500&p=1 | time=219ms
23:39:34.933 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TE023bEq6amUJ6j&ps=500&p=1 | time=204ms
23:39:35.104 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TG123bEq6amUJ_m&ps=500&p=1 | time=165ms
23:39:35.362 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TJq23bEq6amUKbg&ps=500&p=1 | time=257ms
23:39:35.543 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TKu23bEq6amUKj5&ps=500&p=1 | time=167ms
23:39:35.713 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TL723bEq6amUKnH&ps=500&p=1 | time=169ms
23:39:35.881 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TLX23bEq6amUKlI&ps=500&p=1 | time=167ms
23:39:36.039 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TMm23bEq6amUKn4&ps=500&p=1 | time=157ms
23:39:36.199 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TOd23bEq6amUKzb&ps=500&p=1 | time=160ms
23:39:36.380 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TPK23bEq6amUK3e&ps=500&p=1 | time=181ms
23:39:36.552 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TQB23bEq6amUK6O&ps=500&p=1 | time=170ms
23:39:36.732 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPZAB-PyDCPqTGqKaSr&ps=500&p=1 | time=179ms
23:39:36.891 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TQt23bEq6amUK6q&ps=500&p=1 | time=157ms
23:39:37.056 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TBq23bEq6amUJlH&ps=500&p=1 | time=165ms
23:39:37.242 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TCh23bEq6amUJon&ps=500&p=1 | time=186ms
23:39:37.408 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TFj23bEq6amUJ9q&ps=500&p=1 | time=165ms
23:39:37.579 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TGN23bEq6amUJ-3&ps=500&p=1 | time=170ms
23:39:37.792 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TH923bEq6amUKIC&ps=500&p=1 | time=213ms
23:39:37.998 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TM523bEq6amUKuK&ps=500&p=1 | time=204ms
23:39:38.191 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TN223bEq6amUKym&ps=500&p=1 | time=191ms
23:39:38.361 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPZACDYyDCPqTGqKaZs&ps=500&p=1 | time=170ms
23:39:38.574 DEBUG GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AZPY8TRL23bEq6amULBW&ps=500&p=1 | time=212ms
23:39:38.580 INFO  Load active rules (done) | time=4781ms
23:39:38.582 INFO  Load analysis cache
23:39:38.744 DEBUG GET 404 http://localhost:9000/api/analysis_cache/get?project=SonaTest | time=162ms
23:39:38.744 INFO  Load analysis cache (404) | time=162ms
23:39:38.763 WARN  Property 'sonar.password' is deprecated. It will not be supported in the future. Please instead use the 'sonar.login' parameter with a token.
23:39:38.769 INFO  Load project repositories
23:39:38.930 DEBUG GET 200 http://localhost:9000/batch/project.protobuf?key=SonaTest | time=161ms
23:39:38.933 INFO  Load project repositories (done) | time=164ms
23:39:38.942 DEBUG Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
23:39:38.942 DEBUG Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
23:39:38.942 DEBUG Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
23:39:38.942 DEBUG Declared extensions of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
23:39:38.943 DEBUG Declared extensions of language CloudFormation were converted to sonar.lang.patterns.cloudformation :
23:39:38.943 DEBUG Declared extensions of language Kubernetes were converted to sonar.lang.patterns.kubernetes :
23:39:38.943 DEBUG Declared extensions of language Docker were converted to sonar.lang.patterns.docker :
23:39:38.943 DEBUG Declared extensions of language Swift were converted to sonar.lang.patterns.swift : **/*.swift
23:39:38.943 DEBUG Declared extensions of language Objective-C were converted to sonar.lang.patterns.objc : **/*.h,**/*.m,**/*.mm
23:39:38.943 DEBUG Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
23:39:38.943 DEBUG Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
23:39:38.943 DEBUG Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
23:39:38.943 DEBUG Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
23:39:38.943 DEBUG Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
23:39:38.943 DEBUG Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
23:39:38.943 DEBUG Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
23:39:38.943 DEBUG Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
23:39:38.943 DEBUG Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
23:39:38.943 DEBUG Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
23:39:38.943 DEBUG Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
23:39:38.943 DEBUG Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
23:39:38.943 DEBUG Declared extensions of language Text were converted to sonar.lang.patterns.text :
23:39:38.943 DEBUG Declared extensions of language Secrets were converted to sonar.lang.patterns.secrets :
23:39:38.943 DEBUG Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
23:39:38.943 DEBUG Declared extensions of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
23:39:38.943 DEBUG Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json
23:39:38.947 DEBUG Will ignore generated code
23:39:38.948 DEBUG Will ignore generated code
23:39:38.949 INFO  Indexing files...
23:39:38.949 INFO  Project configuration:
23:39:38.954 DEBUG 'SonaTestTests/SonaTestTests.m' indexed as test with language 'objc'
23:39:38.956 INFO  1 file indexed
23:39:38.957 INFO  Quality profile for objc: Objective-C
23:39:38.957 INFO  ------------- Run sensors on module SonaTest Project
23:39:38.997 INFO  Load metrics repository
23:39:39.156 DEBUG GET 200 http://localhost:9000/api/metrics/search?ps=500&p=1 | time=158ms
23:39:39.164 INFO  Load metrics repository (done) | time=167ms
23:39:39.841 DEBUG 'JavaSensor' skipped because there is no related file in current project
23:39:39.841 DEBUG 'Import external issues report' skipped because one of the required properties is missing
23:39:39.841 DEBUG 'Import external issues report from SARIF file.' skipped because one of the required properties is missing
23:39:39.841 DEBUG 'Python Sensor' skipped because there is no related file in current project
23:39:39.841 DEBUG 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
23:39:39.842 DEBUG 'PythonXUnitSensor' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Import of Pylint issues' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Import of Bandit issues' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Import of Flake8 issues' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Code Quality and Security for Go' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Go Unit Test Report' skipped because there is no related file in current project
23:39:39.842 DEBUG 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
23:39:39.843 DEBUG 'Import of go vet issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Import of Golint issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Import of GoMetaLinter issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Kotlin Sensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'KotlinSurefireSensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Import of detekt issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Import of Android Lint issues' skipped because one of the required properties is missing
23:39:39.843 DEBUG 'Import of ktlint issues' skipped because there is no related file in current project
23:39:39.843 DEBUG 'IaC Terraform Sensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'IaC CloudFormation Sensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'IaC Kubernetes Sensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Swift Sensor' skipped because there is no related file in current project
23:39:39.843 DEBUG 'Objective-C Sensor' skipped because there is no related file in current project
23:39:39.844 DEBUG 'Xcode Coverage' skipped because there is no related file in current project
23:39:39.844 DEBUG 'SwiftLint Sensor' skipped because there is no related file in current project
23:39:39.844 DEBUG 'Periphery Sensor' skipped because there is no related file in current project
23:39:39.844 DEBUG 'MobSFScan Sensor' skipped because there is no related file in current project
23:39:39.844 DEBUG 'OCLint Sensor' skipped because there is no related file in current project
23:39:39.844 DEBUG 'JavaScript analysis' skipped because there is no related file in current project
23:39:39.844 DEBUG 'TypeScript analysis' skipped because there is no related file in current project
23:39:39.844 DEBUG 'JavaScript inside YAML analysis' skipped because there is no related file in current project
23:39:39.844 DEBUG 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
23:39:39.844 DEBUG 'Import of ESLint issues' skipped because one of the required properties is missing
23:39:39.844 DEBUG 'Import of TSLint issues' skipped because one of the required properties is missing
23:39:39.844 DEBUG 'CSS Metrics' skipped because there is no related file in current project
23:39:39.844 DEBUG 'Import of stylelint issues' skipped because there is no related file in current project
23:39:39.844 DEBUG 'Ruby Sensor' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Import of RuboCop issues' skipped because there is no related file in current project
23:39:39.845 DEBUG 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Scala Sensor' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Scoverage sensor for Scala coverage' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Import of Scalastyle issues' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Import of Scapegoat issues' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Import of Checkstyle issues' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Import of PMD issues' skipped because one of the required properties is missing
23:39:39.845 DEBUG 'Import of SpotBugs issues' skipped because there is no related file in current project
23:39:39.845 DEBUG 'SurefireSensor' skipped because there is no related file in current project
23:39:39.845 DEBUG 'Removed properties sensor' skipped because there is no related file in current project
23:39:39.845 DEBUG 'HTML' skipped because there is no related file in current project
23:39:39.846 DEBUG 'Flex' skipped because there is no related file in current project
23:39:39.846 DEBUG 'Flex Cobertura' skipped because there is no related file in current project
23:39:39.846 DEBUG 'XML Sensor' skipped because there is no related file in current project
23:39:39.846 DEBUG 'PHP sensor' skipped because there is no related file in current project
23:39:39.846 DEBUG 'Analyzer for "php.ini" files' skipped because there is no related file in current project
23:39:39.846 DEBUG 'Import of PHPStan issues' skipped because there is no related file in current project
23:39:39.846 DEBUG 'Import of Psalm issues' skipped because there is no related file in current project
23:39:39.847 DEBUG 'Generic Test Executions Report' skipped because one of the required properties is missing
23:39:39.847 DEBUG Sensors : JaCoCo XML Report Importer -> Xcode Tests -> Xcode Warnings -> CSS Rules -> C# Project Type Information -> C# Analysis Log -> C# Properties -> TextAndSecretsSensor -> VB.NET Project Type Information -> VB.NET Analysis Log -> VB.NET Properties -> IaC Docker Sensor
23:39:39.848 INFO  Sensor JaCoCo XML Report Importer [jacoco]
23:39:39.848 INFO  'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
23:39:39.848 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer
23:39:39.848 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
23:39:39.848 INFO  Sensor Xcode Tests [sonarapple]
23:39:39.849 DEBUG Command that will be executed: xcrun xcresulttool version
23:39:39.872 DEBUG Command that will be executed: xcrun xcresulttool get --format json --path /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/build/result.xcresult --legacy
23:39:39.946 INFO  Parsed 2 action record(s)
23:39:39.946 DEBUG Command that will be executed: xcrun xcresulttool version
23:39:39.967 DEBUG Command that will be executed: xcrun xcresulttool get --format json --path /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/build/result.xcresult --id 0~lJ5VpfufdpvMZlUVebGzzkd8kWpp8JozvNwrPqH1K0nT15HffiVl56h8QwKgTK1Pvq534g-W94xjgqbxNIfy6g== --legacy
23:39:40.006 INFO  Parsed 1 summary test(s)
23:39:40.006 INFO  Mapped to 1 value(s)
23:39:40.007 INFO  1 test report(s) to handle
23:39:40.007 INFO  1 test group(s) to report
23:39:40.007 DEBUG Collecting data for SonaTestTests (SonaTestTests)
23:39:40.007 DEBUG Bundle name = SonaTestTests
23:39:40.007 DEBUG Class name = SonaTestTests
23:39:40.007 DEBUG Bundle name = SonaTestTests
23:39:40.007 DEBUG Class name = SonaTestTests
23:39:40.015 INFO  Sensor Xcode Tests [sonarapple] (done) | time=167ms
23:39:40.015 INFO  Sensor Xcode Warnings [sonarapple]
23:39:40.015 DEBUG Command that will be executed: xcrun xcresulttool version
23:39:40.034 DEBUG Command that will be executed: xcrun xcresulttool get --format json --path /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/build/result.xcresult --legacy
23:39:40.063 ERROR Parsing failed. Run in verbose to get more information.
23:39:40.064 DEBUG {}
java.lang.NullPointerException: Cannot invoke "java.util.Collection.toArray()" because "<parameter1>" is null
	at java.base/java.util.ArrayList.addAll(Unknown Source)
	at fr.insideapp.sonarqube.apple.commons.parser.ReportListParser.parse(ReportListParser.java:38)
	at fr.insideapp.sonarqube.apple.commons.parser.ReportListParser.parse(ReportListParser.java:27)
	at fr.insideapp.sonarqube.apple.xcode.warnings.XcodeWarningsSensor.execute(XcodeWarningsSensor.java:84)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:79)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:61)
	at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:403)
	at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:399)
	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:368)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.lib.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:41)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.sonarsource.scanner.lib.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:62)
	at jdk.proxy3/jdk.proxy3.$Proxy2.execute(Unknown Source)
	at org.sonarsource.scanner.lib.InProcessScannerEngineFacade.doAnalyze(InProcessScannerEngineFacade.java:39)
	at org.sonarsource.scanner.lib.ScannerEngineFacade.analyze(ScannerEngineFacade.java:61)
	at org.sonarsource.scanner.cli.Main.analyze(Main.java:77)
	at org.sonarsource.scanner.cli.Main.main(Main.java:63)

23:39:40.064 INFO  Parsed 0 warning(s)
23:39:40.064 INFO  Mapped to 0 value(s)
23:39:40.064 INFO  Mapped to 0 value(s)
23:39:40.065 INFO  Sensor Xcode Warnings [sonarapple] (done) | time=50ms
23:39:40.065 INFO  Sensor CSS Rules [javascript]
23:39:40.065 INFO  No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
23:39:40.065 INFO  Sensor CSS Rules [javascript] (done) | time=0ms
23:39:40.065 INFO  Sensor C# Project Type Information [csharp]
23:39:40.065 INFO  Sensor C# Project Type Information [csharp] (done) | time=0ms
23:39:40.065 INFO  Sensor C# Analysis Log [csharp]
23:39:40.071 INFO  Sensor C# Analysis Log [csharp] (done) | time=6ms
23:39:40.071 INFO  Sensor C# Properties [csharp]
23:39:40.071 DEBUG Project 'SonaTest': No Roslyn issues reports have been found.
23:39:40.071 INFO  Sensor C# Properties [csharp] (done) | time=0ms
23:39:40.071 INFO  Sensor TextAndSecretsSensor [text]
23:39:40.075 INFO  1 source file to be analyzed
23:39:40.078 DEBUG 'SonaTestTests/SonaTestTests.m' generated metadata as test  with charset 'UTF-8'
23:39:40.083 INFO  1/1 source file has been analyzed
23:39:40.083 INFO  Sensor TextAndSecretsSensor [text] (done) | time=12ms
23:39:40.083 INFO  Sensor VB.NET Project Type Information [vbnet]
23:39:40.084 INFO  Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
23:39:40.084 INFO  Sensor VB.NET Analysis Log [vbnet]
23:39:40.088 INFO  Sensor VB.NET Analysis Log [vbnet] (done) | time=4ms
23:39:40.088 INFO  Sensor VB.NET Properties [vbnet]
23:39:40.088 DEBUG Project 'SonaTest': No Roslyn issues reports have been found.
23:39:40.088 INFO  Sensor VB.NET Properties [vbnet] (done) | time=0ms
23:39:40.088 INFO  Sensor IaC Docker Sensor [iac]
23:39:40.089 INFO  0 source files to be analyzed
23:39:40.118 INFO  0/0 source files have been analyzed
23:39:40.118 INFO  Sensor IaC Docker Sensor [iac] (done) | time=30ms
23:39:40.120 INFO  ------------- Run sensors on project
23:39:40.139 DEBUG 'Generic Coverage Report' skipped because one of the required properties is missing
23:39:40.139 DEBUG 'C#' skipped because there is no related file in current project
23:39:40.139 DEBUG 'C# File Caching Sensor' skipped because there is no related file in current project
23:39:40.139 DEBUG 'C# Tests Coverage Report Import' skipped because there is no related file in current project
23:39:40.139 DEBUG '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
23:39:40.139 DEBUG 'C# Unit Test Results Import' skipped because there is no related file in current project
23:39:40.139 DEBUG 'VB.NET' skipped because there is no related file in current project
23:39:40.140 DEBUG 'VB.NET File Caching Sensor' skipped because there is no related file in current project
23:39:40.140 DEBUG 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
23:39:40.140 DEBUG '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
23:39:40.140 DEBUG 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
23:39:40.140 DEBUG 'Java CPD Block Indexer' skipped because there is no related file in current project
23:39:40.140 DEBUG Sensors : Analysis Warnings import -> Zero Coverage Sensor
23:39:40.140 INFO  Sensor Analysis Warnings import [csharp]
23:39:40.141 INFO  Sensor Analysis Warnings import [csharp] (done) | time=1ms
23:39:40.141 INFO  Sensor Zero Coverage Sensor
23:39:40.141 INFO  Sensor Zero Coverage Sensor (done) | time=0ms
23:39:40.141 INFO  SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
23:39:40.142 INFO  CPD Executor Calculating CPD for 0 files
23:39:40.142 INFO  CPD Executor CPD calculation finished (done) | time=0ms
23:39:40.174 INFO  Analysis report generated in 30ms, dir size=149.4 kB
23:39:40.185 INFO  Analysis report compressed in 11ms, zip size=21.4 kB
23:39:40.185 INFO  Analysis report generated in /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/.scannerwork/scanner-report
23:39:40.185 DEBUG Upload report
23:39:40.345 DEBUG POST 200 http://localhost:9000/api/ce/submit?projectKey=SonaTest&projectName=SonaTest%20Project | time=160ms
23:39:40.347 INFO  Analysis report uploaded in 162ms
23:39:40.348 DEBUG Report metadata written to /Users/mac/Documents/sonarqube-9.9.8.100196/SonaTest/.scannerwork/report-task.txt
23:39:40.348 INFO  ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=SonaTest
23:39:40.348 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
23:39:40.348 INFO  More about the report processing at http://localhost:9000/api/ce/task?id=AZPfkxu3XtLeEr7kKDSu
23:39:40.350 DEBUG Post-jobs :
23:39:40.352 INFO  Analysis total time: 7.146 s
23:39:40.353 INFO  EXECUTION SUCCESS
23:39:40.353 INFO  Total time: 8.260s

Result:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants