java.lang.NullPointerException: null

JFrog JIRA | Jochen Stiepel | 7 years ago
  1. 0

    Using LDAPs Auth and enter only a username with no password and klick on Login, the you see this exception in the log-files: 2010-04-20 11:21:17,057 [pool-1-thread-12] [ERROR] (o.a.s.l.ArtifactoryLdapAuthenticationProvider:121) - Unexpected exception in LDAP authentication: java.lang.NullPointerException: null at java.util.Hashtable.put(Hashtable.java:394) [na:1.6.0_18] at org.springframework.ldap.core.support.SimpleDirContextAuthenticationStrategy.setupEnvironment(SimpleDirContextAuthenticationStrategy.java:44) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.security.ldap.DefaultSpringSecurityContextSource$1.setupEnvironment(DefaultSpringSecurityContextSource.java:71) [spring-security-ldap-3.0.0.RELEASE.jar:na] at org.springframework.ldap.core.support.AbstractContextSource.setupAuthenticatedEnvironment(AbstractContextSource.java:155) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.ldap.core.support.AbstractContextSource.getAuthenticatedEnv(AbstractContextSource.java:481) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext(ArtifactoryBindAuthenticator.java:166) [artifactory-core-2.2.2.jar:na] at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:792) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.security.ldap.SpringSecurityLdapTemplate.retrieveEntry(SpringSecurityLdapTemplate.java:114) [spring-security-ldap-3.0.0.RELEASE.jar:na] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator.bindWithDn(ArtifactoryBindAuthenticator.java:141) [artifactory-core-2.2.2.jar:na] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator.authenticate(ArtifactoryBindAuthenticator.java:117) [artifactory-core-2.2.2.jar:na] at org.artifactory.security.ldap.ArtifactoryLdapAuthenticator.authenticate(ArtifactoryLdapAuthenticator.java:123) [artifactory-core-2.2.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy40.authenticate(Unknown Source) [na:na] at org.artifactory.security.ldap.ArtifactoryLdapAuthenticationProvider.authenticate(ArtifactoryLdapAuthenticationProvider.java:82) [artifactory-core-2.2.2.jar:na] at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:120) [spring-security-core-3.0.1.RELEASE.jar:na] at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48) [spring-security-core-3.0.1.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.3.7.jar:1.3.7] at org.apache.wicket.proxy.$Proxy119.authenticate(Unknown Source) [na:1.3.7] at org.artifactory.webapp.wicket.application.ArtifactoryWebSession.authenticate(ArtifactoryWebSession.java:99) [artifactory-web-application-2.2.2.jar:na] at org.apache.wicket.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:110) [wicket-auth-roles-1.3.7.jar:1.3.7] at org.artifactory.addon.wicket.DefaultLoginLink.onSubmit(DefaultLoginLink.java:53) [artifactory-web-application-2.2.2.jar:na] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1380) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:811) [wicket-1.3.7.jar:1.3.7] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201) [wicket-1.3.7.jar:1.3.7] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.Server.handle(Server.java:334) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) [jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) [jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) [jetty-io-7.0.1.v20091125.jar:7.0.1.v20091125] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_18] 2010-04-20 11:22:10,939 [pool-1-thread-15] [ERROR] (o.a.s.l.ArtifactoryLdapAuthenticationProvider:121) - Unexpected exception in LDAP authentication: java.lang.NullPointerException: null at java.util.Hashtable.put(Hashtable.java:394) [na:1.6.0_18]

    JFrog JIRA | 7 years ago | Jochen Stiepel
    java.lang.NullPointerException: null
  2. 0

    Using LDAPs Auth and enter only a username with no password and klick on Login, the you see this exception in the log-files: 2010-04-20 11:21:17,057 [pool-1-thread-12] [ERROR] (o.a.s.l.ArtifactoryLdapAuthenticationProvider:121) - Unexpected exception in LDAP authentication: java.lang.NullPointerException: null at java.util.Hashtable.put(Hashtable.java:394) [na:1.6.0_18] at org.springframework.ldap.core.support.SimpleDirContextAuthenticationStrategy.setupEnvironment(SimpleDirContextAuthenticationStrategy.java:44) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.security.ldap.DefaultSpringSecurityContextSource$1.setupEnvironment(DefaultSpringSecurityContextSource.java:71) [spring-security-ldap-3.0.0.RELEASE.jar:na] at org.springframework.ldap.core.support.AbstractContextSource.setupAuthenticatedEnvironment(AbstractContextSource.java:155) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.ldap.core.support.AbstractContextSource.getAuthenticatedEnv(AbstractContextSource.java:481) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext(ArtifactoryBindAuthenticator.java:166) [artifactory-core-2.2.2.jar:na] at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:792) [spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE] at org.springframework.security.ldap.SpringSecurityLdapTemplate.retrieveEntry(SpringSecurityLdapTemplate.java:114) [spring-security-ldap-3.0.0.RELEASE.jar:na] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator.bindWithDn(ArtifactoryBindAuthenticator.java:141) [artifactory-core-2.2.2.jar:na] at org.artifactory.security.ldap.ArtifactoryBindAuthenticator.authenticate(ArtifactoryBindAuthenticator.java:117) [artifactory-core-2.2.2.jar:na] at org.artifactory.security.ldap.ArtifactoryLdapAuthenticator.authenticate(ArtifactoryLdapAuthenticator.java:123) [artifactory-core-2.2.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy40.authenticate(Unknown Source) [na:na] at org.artifactory.security.ldap.ArtifactoryLdapAuthenticationProvider.authenticate(ArtifactoryLdapAuthenticationProvider.java:82) [artifactory-core-2.2.2.jar:na] at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:120) [spring-security-core-3.0.1.RELEASE.jar:na] at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48) [spring-security-core-3.0.1.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.3.7.jar:1.3.7] at org.apache.wicket.proxy.$Proxy119.authenticate(Unknown Source) [na:1.3.7] at org.artifactory.webapp.wicket.application.ArtifactoryWebSession.authenticate(ArtifactoryWebSession.java:99) [artifactory-web-application-2.2.2.jar:na] at org.apache.wicket.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:110) [wicket-auth-roles-1.3.7.jar:1.3.7] at org.artifactory.addon.wicket.DefaultLoginLink.onSubmit(DefaultLoginLink.java:53) [artifactory-web-application-2.2.2.jar:na] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1380) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:811) [wicket-1.3.7.jar:1.3.7] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201) [wicket-1.3.7.jar:1.3.7] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116) [artifactory-web-application-2.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.2.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.Server.handle(Server.java:334) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) [jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) [jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) [jetty-io-7.0.1.v20091125.jar:7.0.1.v20091125] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_18] 2010-04-20 11:22:10,939 [pool-1-thread-15] [ERROR] (o.a.s.l.ArtifactoryLdapAuthenticationProvider:121) - Unexpected exception in LDAP authentication: java.lang.NullPointerException: null at java.util.Hashtable.put(Hashtable.java:394) [na:1.6.0_18]

    JFrog JIRA | 7 years ago | Jochen Stiepel
    java.lang.NullPointerException: null
  3. 0

    vdr-binding throws exceptions

    GitHub | 3 years ago | openhab-bot
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    vdr-binding throws exceptions

    GitHub | 2 years ago | udo1toni
    java.lang.NullPointerException: null
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 java.util.Hashtable.put()
  2. Java RT
    Hashtable.put
    1. java.util.Hashtable.put(Hashtable.java:394)[na:1.6.0_18]
    1 frame
  3. spring-ldap-core
    SimpleDirContextAuthenticationStrategy.setupEnvironment
    1. org.springframework.ldap.core.support.SimpleDirContextAuthenticationStrategy.setupEnvironment(SimpleDirContextAuthenticationStrategy.java:44)[spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE]
    1 frame
  4. spring-security-ldap
    DefaultSpringSecurityContextSource$1.setupEnvironment
    1. org.springframework.security.ldap.DefaultSpringSecurityContextSource$1.setupEnvironment(DefaultSpringSecurityContextSource.java:71)[spring-security-ldap-3.0.0.RELEASE.jar:na]
    1 frame
  5. spring-ldap-core
    AbstractContextSource.getContext
    1. org.springframework.ldap.core.support.AbstractContextSource.setupAuthenticatedEnvironment(AbstractContextSource.java:155)[spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE]
    2. org.springframework.ldap.core.support.AbstractContextSource.getAuthenticatedEnv(AbstractContextSource.java:481)[spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE]
    3. org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106)[spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE]
    3 frames
  6. org.artifactory.security
    ArtifactoryBindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext
    1. org.artifactory.security.ldap.ArtifactoryBindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext(ArtifactoryBindAuthenticator.java:166)[artifactory-core-2.2.2.jar:na]
    1 frame
  7. spring-ldap-core
    LdapTemplate.executeReadOnly
    1. org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:792)[spring-ldap-core-1.3.0.RELEASE.jar:1.3.0.RELEASE]
    1 frame
  8. spring-security-ldap
    SpringSecurityLdapTemplate.retrieveEntry
    1. org.springframework.security.ldap.SpringSecurityLdapTemplate.retrieveEntry(SpringSecurityLdapTemplate.java:114)[spring-security-ldap-3.0.0.RELEASE.jar:na]
    1 frame
  9. org.artifactory.security
    ArtifactoryLdapAuthenticator.authenticate
    1. org.artifactory.security.ldap.ArtifactoryBindAuthenticator.bindWithDn(ArtifactoryBindAuthenticator.java:141)[artifactory-core-2.2.2.jar:na]
    2. org.artifactory.security.ldap.ArtifactoryBindAuthenticator.authenticate(ArtifactoryBindAuthenticator.java:117)[artifactory-core-2.2.2.jar:na]
    3. org.artifactory.security.ldap.ArtifactoryLdapAuthenticator.authenticate(ArtifactoryLdapAuthenticator.java:123)[artifactory-core-2.2.2.jar:na]
    3 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_18]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_18]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_18]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_18]
    4 frames
  11. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
    2 frames
  12. Unknown
    $Proxy40.authenticate
    1. $Proxy40.authenticate(Unknown Source)[na:na]
    1 frame
  13. org.artifactory.security
    ArtifactoryLdapAuthenticationProvider.authenticate
    1. org.artifactory.security.ldap.ArtifactoryLdapAuthenticationProvider.authenticate(ArtifactoryLdapAuthenticationProvider.java:82)[artifactory-core-2.2.2.jar:na]
    1 frame
  14. spring-security-core
    AbstractAuthenticationManager.authenticate
    1. org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:120)[spring-security-core-3.0.1.RELEASE.jar:na]
    2. org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48)[spring-security-core-3.0.1.RELEASE.jar:na]
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_18]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_18]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_18]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_18]
    4 frames
  16. Wicket IoC common code
    $Proxy119.authenticate
    1. org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)[wicket-ioc-1.3.7.jar:1.3.7]
    2. org.apache.wicket.proxy.$Proxy119.authenticate(Unknown Source)[na:1.3.7]
    2 frames
  17. org.artifactory.webapp
    ArtifactoryWebSession.authenticate
    1. org.artifactory.webapp.wicket.application.ArtifactoryWebSession.authenticate(ArtifactoryWebSession.java:99)[artifactory-web-application-2.2.2.jar:na]
    1 frame
  18. Wicket Core
    AuthenticatedWebSession.signIn
    1. org.apache.wicket.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:110)[wicket-auth-roles-1.3.7.jar:1.3.7]
    1 frame
  19. org.artifactory.addon
    DefaultLoginLink.onSubmit
    1. org.artifactory.addon.wicket.DefaultLoginLink.onSubmit(DefaultLoginLink.java:53)[artifactory-web-application-2.2.2.jar:na]
    1 frame
  20. Wicket Core
    Form.onFormSubmitted
    1. org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1380)[wicket-1.3.7.jar:1.3.7]
    2. org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:811)[wicket-1.3.7.jar:1.3.7]
    2 frames
  21. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_18]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_18]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_18]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_18]
    4 frames
  22. Wicket Core
    RequestListenerInterface.invoke
    1. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183)[wicket-1.3.7.jar:1.3.7]
    1 frame
  23. org.apache.wicket
    ListenerInterfaceRequestTarget.processEvents
    1. org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)[wicket-1.3.7.jar:1.3.7]
    1 frame
  24. Wicket Request
    AbstractRequestCycleProcessor.processEvents
    1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.7.jar:1.3.7]
    1 frame
  25. Wicket Core
    WicketFilter.doFilter
    1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239)[wicket-1.3.7.jar:1.3.7]
    2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)[wicket-1.3.7.jar:1.3.7]
    3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)[wicket-1.3.7.jar:1.3.7]
    4. org.apache.wicket.RequestCycle.request(RequestCycle.java:532)[wicket-1.3.7.jar:1.3.7]
    5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)[wicket-1.3.7.jar:1.3.7]
    6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)[wicket-1.3.7.jar:1.3.7]
    6 frames
  26. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    1 frame
  27. org.artifactory.webapp
    RepoFilter.doFilter
    1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177)[artifactory-web-application-2.2.2.jar:na]
    2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.2.2.jar:na]
    2 frames
  28. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    1 frame
  29. org.artifactory.webapp
    AccessFilter.doFilter
    1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206)[artifactory-web-application-2.2.2.jar:na]
    2. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116)[artifactory-web-application-2.2.2.jar:na]
    3. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97)[artifactory-web-application-2.2.2.jar:na]
    3 frames
  30. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    1 frame
  31. org.artifactory.webapp
    RequestFilter.doFilter
    1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.2.2.jar:na]
    1 frame
  32. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    1 frame
  33. org.artifactory.webapp
    ArtifactoryFilter.doFilter
    1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66)[artifactory-web-application-2.2.2.jar:na]
    1 frame
  34. Jetty
    HttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)[jetty-security-7.0.1.v20091125.jar:7.0.1.v20091125]
    5. org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)[jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
    8. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    9. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    10. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    11. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    13. org.eclipse.jetty.server.Server.handle(Server.java:334)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    14. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    15. org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)[jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125]
    17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)[jetty-http-7.0.1.v20091125.jar:7.0.1.v20091125]
    18. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
    18 frames
  35. GWT dev
    SelectChannelEndPoint.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)[jetty-io-7.0.1.v20091125.jar:7.0.1.v20091125]
    1 frame
  36. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_18]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_18]
    3. java.lang.Thread.run(Thread.java:619)[na:1.6.0_18]
    3 frames