-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Coverage & Tests, ElasticSearch
-
Labels:
Server fails to start if a test has a name greater than 32k characters long. Error is:
2017.12.15 16:50:32 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [tests/test] ... 2017.12.15 16:50:33 ERROR web[][o.s.s.es.BulkIndexer] index [tests], type [test], id [AWAHTVPWGMOJGXTZ-o09], message [java.lang.IllegalArgumentException: DocValuesField "name" is too large, must be <= 32766] 2017.12.15 16:50:33 ERROR web[][o.s.s.es.BulkIndexer] index [tests], type [test], id [AWAHTVPWGMOJGXTZ-o0-], message [java.lang.IllegalArgumentException: DocValuesField "name" is too large, must be <= 32766] 2017.12.15 16:50:33 ERROR web[][o.s.s.es.BulkIndexer] index [tests], type [test], id [AWAHTVPWGMOJGXTZ-o08], message [java.lang.IllegalArgumentException: DocValuesField "name" is too large, must be <= 32766] 2017.12.15 16:50:37 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube java.lang.IllegalStateException: Unrecoverable indexation failures
There's no workaround to manually fix database before upgrading.
- relates to
-
SONAR-9796 Analysis containing tests with long stacktraces can't be indexed
-
- Closed
-