Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher


(Jason) #1

I get the following error every time that I run a scan unless I restart the server. Any help would be appreciated.

2:10:36.168 INFO: Load quality profiles
22:10:36.241 DEBUG: GET 200 [ip-cut]9000/api/qualityprofiles/search.protobuf?projectKey=av | time=72ms
22:10:36.251 INFO: Load quality profiles (done) | time=82ms
22:10:36.265 INFO: Load active rules
22:10:36.375 DEBUG: GET 200 [ip-cut]9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWQZlKa9m8NiI6KYrCF6&p=1&ps=500 | time=110ms
22:10:36.626 DEBUG: GET 200 [ip-cut]9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,prams,actives,createdAt&activation=true&qprofile=AWQZlKa9m8NiI6KYrCF6&p=2&ps=500 | time=107ms
22:10:36.740 DEBUG: GET 200 [ip-cut]9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWQZlKgVm8NiI6KYrCVZ&p=1&ps=500 | time=83ms
22:10:36.811 INFO: ------------------------------------------------------------------------
22:10:36.811 INFO: EXECUTION FAILURE
22:10:36.811 INFO: ------------------------------------------------------------------------
22:10:36.812 INFO: Total time: 3.224s
22:10:36.839 INFO: Final Memory: 13M/745M
22:10:36.839 INFO: ------------------------------------------------------------------------
22:10:36.839 ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher
  at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:64)
  at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
  at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
  at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
  at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
  at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
  at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
  at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
  at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
  at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
  at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
  at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
  at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
  at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
  at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
  at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
  at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
  at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
  at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:134)
  at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
  at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
  at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)
  at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
  at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
  at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)
  at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
  at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
  at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
  at com.sun.proxy.$Proxy0.execute(Unknown Source)
  at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171)
  at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128)
  at org.sonarsource.scanner.cli.Main.execute(Main.java:111)
  at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
  at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: Unable to load component interface org.sonar.api.batch.rule.ActiveRules
  at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:64)
  at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
  at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
  at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
  at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
  at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
  at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
  at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
  at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
  at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
  at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
  at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
  at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
  at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
  at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:62)
  ... 38 more
Caused by: java.lang.NullPointerException
  at org.sonar.scanner.rule.DefaultActiveRulesLoader.readPage(DefaultActiveRulesLoader.java:102)
  at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:62)
  at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:98)
  at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:61)
  at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:48)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
  at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
  at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
  at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
  at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
  at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
  at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
  at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
  at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
  at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
  at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:62)
  ... 52 more

(Nicolas Bontoux) #2

Hi Jason,

In order to get any relevant help it really is a must that you share which versions you’re currently running, and give more context into this issue you’re hitting (is it recent ? any recent change done when this starting occurring ? etc.)

For now be aware that your stacktrace/error is matching this past bug: SONAR-9489 . That bug mentions SonarCloud, though there might have been related improvements in SonarQube too. So if not done yet it’s important that you run at least the latest LTS (v6.7).


(Mark Jaffe) #3

This error is occurring on a fresh server (latest 7.2.1) with NO analyses ever run.


(Nicolas Bontoux) #4

Hi Mark,

I would recommend you at least share the full logs of the error you’re hitting, so we can relate it (or not) to the problem initially share here.


(Mark Jaffe) #5

web.log

bash-4.4# cat /opt/sonarqube/logs/web.log 
2018.08.02 01:52:45 INFO  web[AWTrH0Jlej/bcIlzAAD/][o.s.s.p.w.RestartAction] SonarQube restart requested by admin
2018.08.02 01:52:47 INFO  web[][o.s.p.StopWatcher] Stopping process
2018.08.02 01:53:01 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
2018.08.02 01:53:01 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2018.08.02 01:53:02 INFO  web[][o.e.p.PluginsService] no modules loaded
2018.08.02 01:53:02 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2018.08.02 01:53:02 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2018.08.02 01:53:02 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2018.08.02 01:53:03 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.08.02 01:53:03 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 7.2.1.14109 / ec3b36b6cbe32cd9f53fa82c7ba617c703a18e4c
2018.08.02 01:53:03 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube-postgres-dev-tpa3.cei872tkhfrk.us-east-1.rds.amazonaws.com:5432/sonarqube
2018.08.02 01:53:04 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2018.08.02 01:53:04 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2018.08.02 01:53:04 INFO  web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: 
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Checkstyle [checkstyle] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin SonarJava [java] updated to version 5.6.0.15032
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Cobertura [cobertura] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Code Smells [smells] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Findbugs [findbugs] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin Groovy [groovy] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Plugin SonarWeb [web] installed
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Checkstyle / 4.11 / 
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Cobertura / 2.0 / 0846f534a418ec3871147c0e3f2aad1561d9747c
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Code Smells / 4.0.0
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Findbugs / 3.7.0 / 
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.4.1.1128 / e051f5aeb379541b13956447b5dc8b4e0b23b098
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Groovy / 1.5 / dcbcd1eeb8f61c8351e5dd1e51e11e52d186df35
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin LDAP / 2.2.0.608 / 79dc3fa4393a29667673c70182f3016288b548b7
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarC# / 7.2.0.5463 / cacb8e6bb86ea1ab470dac33733e1eccfa0ccbaf
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarFlex / 2.4.0.1222 / 68d9cb3b7daccbc4869c4f2b89d09218d26a0829
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarGo / 1.1.0.1612 / 1809c7be6d88396c0a1b8d597b1e9e0ed8d29730
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 4.2.0.6476 / a21b56462f3375b5d51d90f1819862878476d817
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 5.6.0.15032 / b7e22598fce8a561ac619c706dd23282fde9f444
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 2.13.0.3107 / 9592e5feedc752eddc8f4c15763e80d2bd07ade7
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPython / 1.10.0.2131 / a00e0ddc83bbeb01a9ee7475fab9eafe3f4096ac
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarTS / 1.7.0.2893 / 0d296cae94240b183a0b3ae6e1a409a60fe9f865
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarWeb / 2.6.0.1053 / 16561b3781e2199413eb94a1649fe10408db69a8
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 1.5.1.1452 / eadc1dcd0e24a3c77068e3c1d41af0327d6b16ea
2018.08.02 01:53:05 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Svn / 1.8.0.1168 / 4143f2d119022a758f6bf40aed4294e4c31706cf
2018.08.02 01:53:05 INFO  web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2018.08.02 01:53:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@ae23eba [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/properties*, ...]}]
2018.08.02 01:53:06 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2018.08.02 01:53:07 WARN  web[][o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@26390904. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.08.02 01:53:07 WARN  web[][o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@5bc0c68c. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.08.02 01:53:07 WARN  web[][o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@3f1cf8e7. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.08.02 01:53:07 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2018.08.02 01:53:08 INFO  web[][o.s.s.s.LogServerId] Server ID: AWRIk3VFrEe_XNA6vi10
2018.08.02 01:53:08 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2018.08.02 01:53:08 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2018.08.02 01:53:08 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2018.08.02 01:53:08 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2018.08.02 01:53:08 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2018.08.02 01:53:09 INFO  web[][o.s.s.s.RegisterMetrics] Register metrics
2018.08.02 01:53:09 INFO  web[][o.s.s.r.RegisterRules] Register rules
2018.08.02 01:53:34 INFO  web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/FindBugs
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/FindBugs + FB-Contrib
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/FindBugs Security Audit
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/FindBugs Security Minimal
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2018.08.02 01:53:35 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register profile web/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile jsp/FindBugs Security JSP
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way Recommended
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register profile grvy/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2018.08.02 01:53:39 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way recommended
2018.08.02 01:53:39 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2018.08.02 01:53:39 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@6ddcf6c3 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/properties*, ...]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.DeprecatedPropertiesWsFilter@5387998 [pattern=UrlPattern{inclusions=[/api/properties/*], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceReroutingFilter@7025dbf6 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@40aa91d0 [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@66758d5e [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@789ef817 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@2f45029 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@1713b9a3 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2018.08.02 01:53:40 INFO  web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2018.08.02 01:53:40 INFO  web[][o.s.s.p.Platform] WebServer is operational
2018.08.02 23:27:44 INFO  web[][o.a.c.h.Http11Processor] Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
	at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:426)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:687)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
bash-4.4# ls -ltr /opt/sonarqube/logs/

(Nicolas Bontoux) #6

Seems like this is being discussed in more details here: