java.lang.NullPointerException: null

Stack Overflow | Peter Cullen | 2 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

    sonarqube 6.0 ldap plugin 2.0 unable to retrieve details for a external users

    Stack Overflow | 6 months ago | kmilanov
    org.sonar.api.utils.SonarException: Unable to retrieve details for user MY-USER in <default>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.sonar.plugins.ldap.LdapSearch.find()
    2. org.sonar.plugins
      LdapUsersProvider.doGetUserDetails
      1. org.sonar.plugins.ldap.LdapSearch.find(LdapSearch.java:125)
      2. org.sonar.plugins.ldap.LdapSearch.findUnique(LdapSearch.java:142)
      3. org.sonar.plugins.ldap.LdapUsersProvider.getUserDetails(LdapUsersProvider.java:80)
      4. org.sonar.plugins.ldap.LdapUsersProvider.doGetUserDetails(LdapUsersProvider.java:58)
      4 frames
    3. org.sonar.server
      MasterServletFilter.doFilter
      1. org.sonar.server.authentication.RealmAuthenticator.doAuthenticate(RealmAuthenticator.java:89)
      2. org.sonar.server.authentication.RealmAuthenticator.authenticate(RealmAuthenticator.java:83)
      3. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:56)
      4. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:45)
      5. org.sonar.server.authentication.ws.LoginAction.authenticate(LoginAction.java:91)
      6. org.sonar.server.authentication.ws.LoginAction.doFilter(LoginAction.java:76)
      7. org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:126)
      8. org.sonar.server.platform.web.MasterServletFilter.doFilter(MasterServletFilter.java:95)
      8 frames
    4. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    5. org.sonar.server
      UserSessionFilter.doFilter
      1. org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:83)
      2. org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:66)
      2 frames
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    7. org.sonar.server
      SecurityServletFilter.doFilter
      1. org.sonar.server.platform.web.SecurityServletFilter.doHttpFilter(SecurityServletFilter.java:73)
      2. org.sonar.server.platform.web.SecurityServletFilter.doFilter(SecurityServletFilter.java:49)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    9. org.sonar.server
      RoutesFilter.doFilter
      1. org.sonar.server.platform.web.RoutesFilter.doFilter(RoutesFilter.java:55)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    11. org.sonar.server
      RequestIdFilter.doFilter
      1. org.sonar.server.platform.web.requestid.RequestIdFilter.doFilter(RequestIdFilter.java:63)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    13. org.sonar.server
      RootFilter.doFilter
      1. org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:62)
      1 frame
    14. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      6 frames
    15. Logback Access Module
      LogbackValve.invoke
      1. ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
      2 frames
    17. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
      4 frames
    18. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    19. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame