java.lang.NullPointerException

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    This is one error that is thrown when this happens: java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) at com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:47) at bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:742) at sun.reflect.GeneratedMethodAccessor1002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy56.authenticate(Unknown Source) at com.atlassian.confluence.user.ConfluenceAuthenticator.authenticate(ConfluenceAuthenticator.java:43) at com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:93) at com.atlassian.confluence.user.ConfluenceAuthenticator.login(ConfluenceAuthenticator.java:26) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:125) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) This is caused by: javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:701) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:624) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1947) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1809) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1734) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:328) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:313) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.search(DefaultLDAPUserAdaptor.java:80) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserAttributes(DefaultLDAPUserAdaptor.java:124) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserDN(DefaultLDAPUserAdaptor.java:143)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  2. 0

    This is one error that is thrown when this happens: java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) at com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:47) at bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:742) at sun.reflect.GeneratedMethodAccessor1002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy56.authenticate(Unknown Source) at com.atlassian.confluence.user.ConfluenceAuthenticator.authenticate(ConfluenceAuthenticator.java:43) at com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:93) at com.atlassian.confluence.user.ConfluenceAuthenticator.login(ConfluenceAuthenticator.java:26) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:125) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) This is caused by: javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:701) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:624) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1947) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1809) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1734) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:328) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:313) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.search(DefaultLDAPUserAdaptor.java:80) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserAttributes(DefaultLDAPUserAdaptor.java:124) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserDN(DefaultLDAPUserAdaptor.java:143)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  3. 0

    The following error exception shown when wrong username is entered by accessing *http://<host>/plugins/servlet/webdav* via browser: {noformat} java.lang.NullPointerException at com.atlassian.user.impl.cache.CachingUserManager.getRepository(CachingUserManager.java:218) at com.atlassian.user.impl.delegation.DelegatingListUserManager.getRepository(DelegatingListUserManager.java:201) at com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:34) at bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:695) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy23.authenticate(Unknown Source) at com.atlassian.confluence.extra.webdav.impl.ConfluenceBackend.authenticateUser(ConfluenceBackend.java:144) {noformat} Steps to reproduce: # Enable WedDAV plugin # Access http://<host>/plugins/servlet/webdav via browser # Enter the "wrong" username and password You should be able to see the above error exceptions shown and it also happens each time you trying to access the http://<host>/plugins/servlet/webdav.

    Ecosystem JIRA | 9 years ago | Tony CheahTongNyee
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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

      No message provided

      at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate()
    2. com.atlassian.user
      DelegatingAuthenticator.authenticate
      1. com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102)
      2. com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:47)
      2 frames
    3. bucket.user
      DefaultUserAccessor.authenticate
      1. bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:742)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1002.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
      2 frames
    8. Unknown
      $Proxy56.authenticate
      1. $Proxy56.authenticate(Unknown Source)
      1 frame
    9. com.atlassian.confluence
      ConfluenceAuthenticator.authenticate
      1. com.atlassian.confluence.user.ConfluenceAuthenticator.authenticate(ConfluenceAuthenticator.java:43)
      1 frame
    10. com.atlassian.seraph
      DefaultAuthenticator.login
      1. com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:93)
      1 frame
    11. com.atlassian.confluence
      ConfluenceAuthenticator.login
      1. com.atlassian.confluence.user.ConfluenceAuthenticator.login(ConfluenceAuthenticator.java:26)
      1 frame
    12. com.atlassian.seraph
      LoginFilter.doFilter
      1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:125)
      1 frame
    13. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    14. com.atlassian.johnson
      JohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
      1 frame
    15. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    16. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
      1 frame
    17. bucket.custom
      FlushingSpringSessionInViewFilter.doFilterInternal
      1. bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31)
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)
      1 frame
    19. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    20. com.atlassian.util
      ProfilingFilter.doFilter
      1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
      1 frame
    21. com.atlassian.confluence
      ProfilingAndErrorFilter.doFilter
      1. com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      1 frame