IndexOutOfBoundsException on Startup

Hello,

we ran an sonarqube server without any issues and problems. Until we activate yesterday your developer license. Now we get an IndexOutOfBoundException on server startup.

Version: 8.9.1.44547
Latest lts-developer Docker image.

2021-07-06T06:25:33.538423024Z 06:25:33.535 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties
2021-07-06T06:25:34.059463798Z 2021.07.06 06:25:34 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2021-07-06T06:25:34.160693151Z 2021.07.06 06:25:34 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:38693]
2021-07-06T06:25:34.304499720Z 2021.07.06 06:25:34 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2021-07-06T06:25:34.383731909Z warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
2021-07-06T06:25:34.403521357Z 2021.07.06 06:25:34 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021-07-06T06:25:35.762819063Z warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release
2021-07-06T06:25:36.370644481Z OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021-07-06T06:25:43.002390696Z 2021.07.06 06:25:42 INFO  es[][o.e.n.Node] version[7.12.1], pid[36], build[default/tar/3186837139b9c6b6d23c3200870651f10d3343b7/2021-04-20T20:56:39.040728659Z], OS[Linux/5.4.0-1031-azure/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/11.0.11/11.0.11+9]
2021-07-06T06:25:43.002420296Z 2021.07.06 06:25:42 INFO  es[][o.e.n.Node] JVM home [/opt/java/openjdk]
2021-07-06T06:25:43.062679221Z 2021.07.06 06:25:43 INFO  es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Dnode.store.allow_mmap=false, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2021-07-06T06:25:45.147338626Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2021-07-06T06:25:45.147365726Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2021-07-06T06:25:45.147370826Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2021-07-06T06:25:45.147374726Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] loaded module [percolator]
2021-07-06T06:25:45.147378526Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2021-07-06T06:25:45.147382426Z 2021.07.06 06:25:45 INFO  es[][o.e.p.PluginsService] no plugins loaded
2021-07-06T06:25:45.367346577Z 2021.07.06 06:25:45 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (//bmagsonarqube.file.core.windows.net/sonarqube-data)]], net usable_space [4.9tb], net total_space [5tb], types [cifs]
2021-07-06T06:25:45.367380277Z 2021.07.06 06:25:45 INFO  es[][o.e.e.NodeEnvironment] heap size [495.3mb], compressed ordinary object pointers [true]
2021-07-06T06:25:50.902840317Z 2021.07.06 06:25:50 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [S-86gGVgSWeHpQDrn9Kw3g], cluster name [sonarqube], roles [master, remote_cluster_client, data, ingest]
2021-07-06T06:26:00.491110598Z 2021.07.06 06:26:00 INFO  es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=false, g1gc_region_size=0b, heap_size=495.3mb}]
2021-07-06T06:26:00.821906135Z 2021.07.06 06:26:00 INFO  es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2021-07-06T06:26:02.291331115Z 2021.07.06 06:26:02 INFO  es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2021-07-06T06:26:02.961457249Z 2021.07.06 06:26:02 INFO  es[][o.e.n.Node] initialized
2021-07-06T06:26:02.961482949Z 2021.07.06 06:26:02 INFO  es[][o.e.n.Node] starting ...
2021-07-06T06:26:03.435084993Z 2021.07.06 06:26:03 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:38693}, bound_addresses {127.0.0.1:38693}
2021-07-06T06:26:07.027709332Z 2021.07.06 06:26:07 INFO  es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2021-07-06T06:26:07.038397506Z 2021.07.06 06:26:07 INFO  es[][o.e.c.c.Coordinator] cluster UUID [7YiXlKmxQ4yNed1By8Yfcw]
2021-07-06T06:26:07.476336137Z 2021.07.06 06:26:07 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{S-86gGVgSWeHpQDrn9Kw3g}{z0Fax5OARl67fvw-iagcaw}{127.0.0.1}{127.0.0.1:38693}{dimr}{rack_id=sonarqube} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 17, version: 200, delta: master node changed {previous [], current [{sonarqube}{S-86gGVgSWeHpQDrn9Kw3g}{z0Fax5OARl67fvw-iagcaw}{127.0.0.1}{127.0.0.1:38693}{dimr}{rack_id=sonarqube}]}
2021-07-06T06:26:08.520628664Z 2021.07.06 06:26:08 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{S-86gGVgSWeHpQDrn9Kw3g}{z0Fax5OARl67fvw-iagcaw}{127.0.0.1}{127.0.0.1:38693}{dimr}{rack_id=sonarqube}]}, term: 17, version: 200, reason: Publication{term=17, version=200}
2021-07-06T06:26:08.632308237Z 2021.07.06 06:26:08 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2021-07-06T06:26:08.632497738Z 2021.07.06 06:26:08 INFO  es[][o.e.n.Node] started
2021-07-06T06:26:09.138521539Z 2021.07.06 06:26:09 INFO  es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2021-07-06T06:27:31.820218441Z 2021.07.06 06:27:31 INFO  es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]]).
2021-07-06T06:27:33.445389916Z 2021.07.06 06:27:33 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2021-07-06T06:27:33.457520304Z 2021.07.06 06:27:33 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-8.9.1.44547.jar:/opt/sonarqube/lib/jdbc/mssql/mssql-jdbc-9.2.0.jre11.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process1581380979881946932properties
2021-07-06T06:27:34.602616157Z 2021.07.06 06:27:34 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
2021-07-06T06:27:40.432885886Z 2021.07.06 06:27:40 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2021-07-06T06:27:41.820674184Z 2021.07.06 06:27:41 INFO  web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, developer-scanner, developer-server, license
2021-07-06T06:27:42.032135049Z 2021.07.06 06:27:42 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2021-07-06T06:27:43.634499047Z 2021.07.06 06:27:43 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 8.9.1.44547 / d46c8de9adbb223e48c5bca3a7d1de7875d7ec12
2021-07-06T06:27:43.663997951Z 2021.07.06 06:27:43 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://bmagdevops.database.windows.net:1433;databaseName=BmagSonarQube
2021-07-06T06:27:48.743504017Z 2021.07.06 06:27:48 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2021-07-06T06:27:48.760931737Z 2021.07.06 06:27:48 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2021-07-06T06:27:50.655624491Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin ABAP Code Quality and Security / 3.9.1.3127 / a62ddf6ddd7379d398a58d32c9931a2feef61e24
2021-07-06T06:27:50.663634547Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021-07-06T06:27:50.663699448Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin CFamily Code Quality and Security / 6.20.1.32841 / cfe20794a83197d63a97c7310114b0bf8ba0a548
2021-07-06T06:27:50.664021250Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.4.2.2002 / faa7d4f1407df67df7ada53caf677ab783721173
2021-07-06T06:27:50.664030050Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.1.2564 / bb723840701bda72510b7a47742811d20daad331
2021-07-06T06:27:50.664034450Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021-07-06T06:27:50.664038550Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e
2021-07-06T06:27:50.664042450Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47
2021-07-06T06:27:50.664046250Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 6.15.1.26025 / 1b1e96715bfa9f6a4ae24e95cc5b91f0edce609f
2021-07-06T06:27:50.664059250Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 7.4.4.15624 / 481b2e69339b016b5d7d1eb27f0abf20dd6bd961
2021-07-06T06:27:50.674533923Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021-07-06T06:27:50.675177728Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.17.0.7439 / 44c7760147080c157fa0ff579772f92d3c8e1ebf
2021-07-06T06:27:50.675382329Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin PL/SQL Code Quality and Security / 3.6.1.3873 / 342f7fcf17ecb7fbf827a2aacf630be1f4157625
2021-07-06T06:27:50.675611531Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.4.1.8066 / 22139ec73fb2f32044f66477ea52734415683668
2021-07-06T06:27:50.676062134Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021-07-06T06:27:50.676624838Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021-07-06T06:27:50.676823539Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Swift Code Quality and Security / 4.3.1.4892 / 2b249272bc4430519bdab769886b12c9a82084b5
2021-07-06T06:27:50.677011740Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin T-SQL Code Quality and Security / 1.5.1.4340 / 11f3de5739b539749d6c2848bda8fc90135d91b6
2021-07-06T06:27:50.677163241Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021-07-06T06:27:50.677308942Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Analysis / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.687527114Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for C# / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.693485555Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for JS / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.693525055Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Java / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.693531355Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for PHP / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.693879358Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Python / 8.9.0.11439 / 04498e7b336a73db9508145d1e8cc44b9330528d
2021-07-06T06:27:50.694917465Z 2021.07.06 06:27:50 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.2.0.2973 / 16002945f0725643a7b42f090572795dd8b72a0f
2021-07-06T06:28:19.255297905Z 2021.07.06 06:28:19 INFO  web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2021-07-06T06:28:19.869617764Z 2021.07.06 06:28:19 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@354eeedd [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2021-07-06T06:28:20.311258925Z 2021.07.06 06:28:20 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2021-07-06T06:28:24.283091077Z 2021.07.06 06:28:24 INFO  web[][A.A.A.A.A.C] JavaScript/TypeScript frontend is enabled
2021-07-06T06:28:24.504090902Z 2021.07.06 06:28:24 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)


2021-07-06T06:28:28.732748471Z 2021.07.06 06:28:28 INFO  web[][o.s.s.s.LogServerId] Server ID: 5A9B4E57-AXo0oYFpV2Lx5igDSjg1
2021-07-06T06:28:29.487455575Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2021-07-06T06:28:29.527753853Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2021-07-06T06:28:29.571114852Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_bitbucketserver_projects
2021-07-06T06:28:29.571134552Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2021-07-06T06:28:29.571140052Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_azure_projects
2021-07-06T06:28:29.571144852Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketserver_repos
2021-07-06T06:28:29.571149152Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_azure_repos
2021-07-06T06:28:29.571153452Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_organizations
2021-07-06T06:28:29.571164052Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_repositories
2021-07-06T06:28:29.571168552Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/get_github_client_id
2021-07-06T06:28:29.578975206Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/get_binding
2021-07-06T06:28:29.578992306Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list
2021-07-06T06:28:29.578998006Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list_definitions
2021-07-06T06:28:29.579002406Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/count_binding
2021-07-06T06:28:29.579016406Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate
2021-07-06T06:28:29.650515899Z 2021.07.06 06:28:29 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
2021-07-06T06:28:29.688727263Z 2021.07.06 06:28:29 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2021-07-06T06:28:29.699087634Z 2021.07.06 06:28:29 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2021-07-06T06:28:29.770448727Z 2021.07.06 06:28:29 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2021-07-06T06:28:29.780256295Z 2021.07.06 06:28:29 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2021-07-06T06:28:30.223310674Z 2021.07.06 06:28:30 INFO  web[][com.sonarsource.C.G] Loaded virtual plugin License for SonarLint
2021-07-06T06:28:30.308301664Z 2021.07.06 06:28:30 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2021-07-06T06:28:30.406936150Z 2021.07.06 06:28:30 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2021-07-06T06:28:30.468919380Z 2021.07.06 06:28:30 INFO  web[][o.s.s.s.RegisterMetrics] Register metrics


2021-07-06T06:28:31.141540654Z 2021.07.06 06:28:31 INFO  web[][o.s.s.r.RegisterRules] Register rules


2021-07-06T06:28:39.361600877Z 2021.07.06 06:28:39 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
2021-07-06T06:28:39.361656678Z org.apache.ibatis.exceptions.PersistenceException: 
2021-07-06T06:28:39.361662678Z ### Error querying database.  Cause: java.lang.IndexOutOfBoundsException: Index 65535 out of bounds for length 0
2021-07-06T06:28:39.361667078Z ### The error may exist in org.sonar.db.rule.RuleMapper
2021-07-06T06:28:39.361671378Z ### The error may involve defaultParameterMap
2021-07-06T06:28:39.361675578Z ### The error occurred while setting parameters
2021-07-06T06:28:39.361682678Z ### SQL: select                   r.uuid,     r.plugin_rule_key as "ruleKey",     r.plugin_name as "repositoryKey",     r.description,     r.description_format as "descriptionFormat",     r.status,     r.name,     r.plugin_config_key as "configKey",     r.priority as "severity",     r.is_template as "isTemplate",     r.is_external as "isExternal",     r.is_ad_hoc as "isAdHoc",     r.language as "language",     r.template_uuid as "templateUuid",     r.def_remediation_function as "defRemediationFunction",     r.def_remediation_gap_mult as "defRemediationGapMultiplier",     r.def_remediation_base_effort as "defRemediationBaseEffort",     r.gap_description as "gapDescription",     r.system_tags as "systemTagsField",     r.security_standards as "securityStandardsField",     r.rule_type as "type",     r.plugin_key as "pluginKey",     r.scope,         r.created_at as "createdAt",     r.updated_at as "updatedAt"         from       rules r
2021-07-06T06:28:39.361691078Z ### Cause: java.lang.IndexOutOfBoundsException: Index 65535 out of bounds for length 0
2021-07-06T06:28:39.361695278Z 	at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
2021-07-06T06:28:39.361706178Z 	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
2021-07-06T06:28:39.361709978Z 	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2021-07-06T06:28:39.361713678Z 	at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
2021-07-06T06:28:39.361717278Z 	at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
2021-07-06T06:28:39.361720878Z 	at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152)
2021-07-06T06:28:39.361724678Z 	at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85)
2021-07-06T06:28:39.361729078Z 	at com.sun.proxy.$Proxy56.selectAllDefinitions(Unknown Source)
2021-07-06T06:28:39.361732678Z 	at org.sonar.db.rule.RuleDao.selectAllDefinitions(RuleDao.java:125)
2021-07-06T06:28:39.361736378Z 	at org.sonar.server.rule.RegisterRules.createRegisterRulesContext(RegisterRules.java:165)
2021-07-06T06:28:39.361739978Z 	at org.sonar.server.rule.RegisterRules.start(RegisterRules.java:119)
2021-07-06T06:28:39.361743578Z 	at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.start(StartableCloseableSafeLifecyleStrategy.java:40)
2021-07-06T06:28:39.361747278Z 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
2021-07-06T06:28:39.361751078Z 	at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
2021-07-06T06:28:39.361754779Z 	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
2021-07-06T06:28:39.361758379Z 	at org.picocontainer.behaviors.Stored.start(Stored.java:110)
2021-07-06T06:28:39.361761979Z 	at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
2021-07-06T06:28:39.361765579Z 	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
2021-07-06T06:28:39.361769179Z 	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
2021-07-06T06:28:39.361772879Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
2021-07-06T06:28:39.361777879Z 	at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:90)
2021-07-06T06:28:39.361781679Z 	at org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:49)
2021-07-06T06:28:39.361785379Z 	at org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:87)
2021-07-06T06:28:39.361788979Z 	at org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:45)
2021-07-06T06:28:39.361792679Z 	at org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:84)
2021-07-06T06:28:39.361796479Z 	at org.sonar.server.platform.PlatformImpl.executeStartupTasks(PlatformImpl.java:198)
2021-07-06T06:28:39.361802979Z 	at org.sonar.server.platform.PlatformImpl.access$400(PlatformImpl.java:46)
2021-07-06T06:28:39.361806879Z 	at org.sonar.server.platform.PlatformImpl$1.lambda$doRun$1(PlatformImpl.java:122)
2021-07-06T06:28:39.361810479Z 	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:370)
2021-07-06T06:28:39.361814279Z 	at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:122)
2021-07-06T06:28:39.361818179Z 	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:354)
2021-07-06T06:28:39.361821979Z 	at java.base/java.lang.Thread.run(Unknown Source)
2021-07-06T06:28:39.361825579Z Caused by: java.lang.IndexOutOfBoundsException: Index 65535 out of bounds for length 0
2021-07-06T06:28:39.361829179Z 	at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
2021-07-06T06:28:39.361832779Z 	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)
2021-07-06T06:28:39.361836479Z 	at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
2021-07-06T06:28:39.361840079Z 	at java.base/java.util.Objects.checkIndex(Unknown Source)
2021-07-06T06:28:39.361843679Z 	at java.base/java.util.ArrayList.get(Unknown Source)
2021-07-06T06:28:39.361847279Z 	at com.microsoft.sqlserver.jdbc.StreamColumns.processDataClassification(StreamColumns.java:318)
2021-07-06T06:28:39.361851079Z 	at com.microsoft.sqlserver.jdbc.StreamColumns.setFromTDS(StreamColumns.java:231)
2021-07-06T06:28:39.361854679Z 	at com.microsoft.sqlserver.jdbc.SQLServerResultSet$1CursorInitializer.onColMetaData(SQLServerResultSet.java:283)
2021-07-06T06:28:39.361858279Z 	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:109)
2021-07-06T06:28:39.361861879Z 	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:37)
2021-07-06T06:28:39.361865479Z 	at com.microsoft.sqlserver.jdbc.SQLServerResultSet.<init>(SQLServerResultSet.java:392)
2021-07-06T06:28:39.361869479Z 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1642)
2021-07-06T06:28:39.361873179Z 	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:602)
2021-07-06T06:28:39.361876879Z 	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:524)
2021-07-06T06:28:39.361880579Z 	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7418)
2021-07-06T06:28:39.361884179Z 	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3274)
2021-07-06T06:28:39.361887779Z 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247)
2021-07-06T06:28:39.361891479Z 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222)
2021-07-06T06:28:39.361895179Z 	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:505)
2021-07-06T06:28:39.361901380Z 	at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
2021-07-06T06:28:39.361905480Z 	at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
2021-07-06T06:28:39.361909080Z 	at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
2021-07-06T06:28:39.361912780Z 	at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
2021-07-06T06:28:39.361916480Z 	at org.apache.ibatis.executor.ReuseExecutor.doQuery(ReuseExecutor.java:60)
2021-07-06T06:28:39.361920080Z 	at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
2021-07-06T06:28:39.361923780Z 	at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
2021-07-06T06:28:39.361927380Z 	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
2021-07-06T06:28:39.361930980Z 	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:89)
2021-07-06T06:28:39.361934680Z 	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
2021-07-06T06:28:39.361938380Z 	... 30 common frames omitted
2021-07-06T06:28:39.383097229Z 2021.07.06 06:28:39 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
2021-07-06T06:28:39.442134744Z 2021.07.06 06:28:39 INFO  web[][o.s.s.n.NotificationDaemon] Notification service stopped
2021-07-06T06:28:39.948206502Z 2021.07.06 06:28:39 INFO  app[][o.s.a.SchedulerImpl] Process[web] is stopped


2021-07-06T06:28:45.661Z ERROR - Container for bmagsonarqube_sonarqube_0_79561c65 site bmagsonarqube is unhealthy, Stopping site.
2021-07-06T06:28:45.669Z INFO  - Stopping site bmagsonarqube because it is not healthy.

We did an database restore on before updating the license and now the server is working again. We are using now the developer evaluation license again. The update from the comunity edition to the evaluation license worked without any problems. To set our real license, we simply clicked on “set new license”, enter your new key and clicked on save. Is there anything else to do?

Yesterday we try again setting our license. Now all seems to work correctly. We restart the server serveral times without any issues and analyse works fine. We do not know what triggers the java exception. We will watch the server and report if there is any new issue related to this problem.

1 Like

Hi,

Thanks for following up when this resolved itself.

I’m wondering if you might have had plugins installed the first time & removed later, when it finally worked…?

 
Thx,
Ann

Hello,

no plugins or other changes/modifications. Default official Docker image connected to an SQL Azure database.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.