java.lang.NullPointerException: null

Google Groups | Unknown author | 6 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.

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:126)[na:na]
    2. org.sonar.plugins.ldap.LdapSearch.findUnique(LdapSearch.java:143)[na:na]
    3. org.sonar.plugins.ldap.LdapUsersProvider.doGetUserDetails(LdapUsersProvider.java:77)[na:na]
    3 frames
  3. SonarQube :: Plugin API
    ExternalUsersProvider.doGetUserDetails
    1. org.sonar.api.security.ExternalUsersProvider.doGetUserDetails(ExternalUsersProvider.java:54)[sonar-plugin-api-6.0.jar:na]
    1 frame
  4. org.sonar.server
    MasterServletFilter.doFilter
    1. org.sonar.server.authentication.RealmAuthenticator.doAuthenticate(RealmAuthenticator.java:89)[sonar-server-6.0.jar:na]
    2. org.sonar.server.authentication.RealmAuthenticator.authenticate(RealmAuthenticator.java:83)[sonar-server-6.0.jar:na]
    3. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:56)[sonar-server-6.0.jar:na]
    4. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:45)[sonar-server-6.0.jar:na]
    5. org.sonar.server.authentication.ws.LoginAction.authenticate(LoginAction.java:91)[sonar-server-6.0.jar:na]
    6. org.sonar.server.authentication.ws.LoginAction.doFilter(LoginAction.java:76)[sonar-server-6.0.jar:na]
    7. org.sonar.server.platform.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:125)[sonar-server-6.0.jar:na]
    8. org.sonar.server.platform.MasterServletFilter.doFilter(MasterServletFilter.java:94)[sonar-server-6.0.jar:na]
    8 frames
  5. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2 frames
  6. org.sonar.server
    UserSessionFilter.doFilter
    1. org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:56)[sonar-server-6.0.jar:na]
    1 frame
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2 frames
  8. org.sonar.server
    RoutesFilter.doFilter
    1. org.sonar.server.platform.RoutesFilter.doFilter(RoutesFilter.java:55)[sonar-server-6.0.jar:na]
    1 frame
  9. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2 frames
  10. org.sonar.server
    ProfilingFilter.doFilter
    1. org.sonar.server.platform.ProfilingFilter.doFilter(ProfilingFilter.java:84)[sonar-server-6.0.jar:na]
    1 frame
  11. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.32.jar:8.0.32]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat-embed-core-8.0.32.jar:8.0.32]
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[tomcat-embed-core-8.0.32.jar:8.0.32]
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.0.32.jar:8.0.32]
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat-embed-core-8.0.32.jar:8.0.32]
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)[tomcat-embed-core-8.0.32.jar:8.0.32]
    8 frames
  12. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-embed-core-8.0.32.jar:8.0.32]
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4 frames
  13. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_101]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_101]
    2 frames
  14. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.0.32.jar:8.0.32]
    1 frame
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[na:1.8.0_101]
    1 frame