org.sonar.server.exceptions.BadRequestException: Rule findbugs:XSS_REQUEST_PARAMETER_TO_JSP_WRITER and profile jsp-findbugs-security-jsp-38343 have different languages

GitHub | pethers | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with startup after upgrading 3.3 -> 3.4 on sq 5.6

    GitHub | 9 months ago | pethers
    org.sonar.server.exceptions.BadRequestException: Rule findbugs:XSS_REQUEST_PARAMETER_TO_JSP_WRITER and profile jsp-findbugs-security-jsp-38343 have different languages

    Root Cause Analysis

    1. org.sonar.server.exceptions.BadRequestException

      Rule findbugs:XSS_REQUEST_PARAMETER_TO_JSP_WRITER and profile jsp-findbugs-security-jsp-38343 have different languages

      at org.sonar.server.qualityprofile.RuleActivatorContext.verifyForActivation()
    2. org.sonar.server
      RegisterQualityProfiles.start
      1. org.sonar.server.qualityprofile.RuleActivatorContext.verifyForActivation(RuleActivatorContext.java:234)[sonar-server-5.6.jar:na]
      2. org.sonar.server.qualityprofile.RuleActivator.doActivate(RuleActivator.java:95)[sonar-server-5.6.jar:na]
      3. org.sonar.server.qualityprofile.RuleActivator.activate(RuleActivator.java:86)[sonar-server-5.6.jar:na]
      4. org.sonar.server.qualityprofile.RegisterQualityProfiles.register(RegisterQualityProfiles.java:157)[sonar-server-5.6.jar:na]
      5. org.sonar.server.qualityprofile.RegisterQualityProfiles.registerProfilesForLanguage(RegisterQualityProfiles.java:131)[sonar-server-5.6.jar:na]
      6. org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:98)[sonar-server-5.6.jar:na]
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
      4 frames
    4. PicoContainer Core
      ReflectionLifecycleStrategy.start
      1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.15.jar:na]
      2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.15.jar:na]
      2 frames
    5. org.sonar.core
      ComponentContainer$1.start
      1. org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)[sonar-core-5.6.jar:na]
      1 frame
    6. PicoContainer Core
      DefaultPicoContainer.start
      1. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.15.jar:na]
      2. org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.15.jar:na]
      3. org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.15.jar:na]
      4. org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.15.jar:na]
      5. org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)[picocontainer-2.15.jar:na]
      6. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)[picocontainer-2.15.jar:na]
      7. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)[picocontainer-2.15.jar:na]
      7 frames
    7. org.sonar.core
      ComponentContainer.startComponents
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)[sonar-core-5.6.jar:na]
      1 frame
    8. org.sonar.server
      PlatformServletContextListener.contextInitialized
      1. org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-5.6.jar:na]
      2. org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:45)[sonar-server-5.6.jar:na]
      3. org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:80)[sonar-server-5.6.jar:na]
      4. org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:44)[sonar-server-5.6.jar:na]
      5. org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:77)[sonar-server-5.6.jar:na]
      6. org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:201)[sonar-server-5.6.jar:na]
      7. org.sonar.server.platform.Platform.doStart(Platform.java:114)[sonar-server-5.6.jar:na]
      8. org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-5.6.jar:na]
      9. org.sonar.server.platform.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:44)[sonar-server-5.6.jar:na]
      9 frames
    9. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[tomcat-embed-core-8.0.30.jar:8.0.30]
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[tomcat-embed-core-8.0.30.jar:8.0.30]
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)[tomcat-embed-core-8.0.30.jar:8.0.30]
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)[tomcat-embed-core-8.0.30.jar:8.0.30]
      5 frames
    10. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      3 frames