java.lang.NullPointerException: null

GitHub | DarkKnightCZ | 5 months ago
  1. 0

    LDAP auth issue

    GitHub | 1 year ago | kaos
    java.lang.NullPointerException: null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    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 io.cattle.platform.iaas.api.auth.AbstractTokenUtil.getUser()
    2. io.cattle.platform
      TokenResourceManager.createInternal
      1. io.cattle.platform.iaas.api.auth.AbstractTokenUtil.getUser(AbstractTokenUtil.java:351)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      2. io.cattle.platform.iaas.api.auth.AbstractTokenUtil.createToken(AbstractTokenUtil.java:318)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      3. io.cattle.platform.iaas.api.auth.integration.ldap.ad.ADTokenCreator.getLdapToken(ADTokenCreator.java:43)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      4. io.cattle.platform.iaas.api.auth.integration.ldap.ad.ADTokenCreator.getToken(ADTokenCreator.java:60)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      5. io.cattle.platform.iaas.api.auth.identity.TokenResourceManager.createToken(TokenResourceManager.java:59)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      6. io.cattle.platform.iaas.api.auth.identity.TokenResourceManager.createInternal(TokenResourceManager.java:45)[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na]
      6 frames
    3. io.github.ibuildthecloud
      DefaultReadWriteApiDelegate.write
      1. io.github.ibuildthecloud.gdapi.request.resource.impl.AbstractBaseResourceManager.create(AbstractBaseResourceManager.java:115)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      2. io.github.ibuildthecloud.gdapi.request.handler.ResourceManagerRequestHandler.generate(ResourceManagerRequestHandler.java:40)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      3. io.github.ibuildthecloud.gdapi.request.handler.AbstractResponseGenerator.handle(AbstractResponseGenerator.java:14)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      4. io.github.ibuildthecloud.gdapi.request.handler.write.DefaultReadWriteApiDelegate.handle(DefaultReadWriteApiDelegate.java:28)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      5. io.github.ibuildthecloud.gdapi.request.handler.write.DefaultReadWriteApiDelegate.write(DefaultReadWriteApiDelegate.java:23)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_101]
      3. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_101]
      3 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE]
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE]
      3 frames
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      4 frames
    8. com.sun.proxy
      $Proxy45.write
      1. com.sun.proxy.$Proxy45.write(Unknown Source)[na:na]
      1 frame
    9. io.github.ibuildthecloud
      ApiRequestFilterDelegate.doFilter
      1. io.github.ibuildthecloud.gdapi.request.handler.write.ReadWriteApiHandler.handle(ReadWriteApiHandler.java:20)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      2. io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate.doFilter(ApiRequestFilterDelegate.java:86)[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
      2 frames
    10. io.cattle.platform
      ApiRequestFilter$1.runInContext
      1. io.cattle.platform.api.servlet.ApiRequestFilter$1.runInContext(ApiRequestFilter.java:90)[cattle-framework-api-0.5.0-SNAPSHOT.jar:na]
      1 frame
    11. org.apache.cloudstack
      ManagedContextRunnable.run
      1. org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      2. org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      3. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      4. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5. org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5 frames
    12. io.cattle.platform
      ApiRequestFilter.doFilter
      1. io.cattle.platform.api.servlet.ApiRequestFilter.doFilter(ApiRequestFilter.java:83)[cattle-framework-api-0.5.0-SNAPSHOT.jar:na]
      1 frame
    13. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      2. org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)[jetty-servlets-9.2.11.v20150529.jar:9.2.11.v20150529]
      3. org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)[jetty-servlets-9.2.11.v20150529.jar:9.2.11.v20150529]
      4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[jetty-security-9.2.11.v20150529.jar:9.2.11.v20150529]
      8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
      11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      14. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      15. org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      16. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      17. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
      18. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.11.v20150529.jar:9.2.11.v20150529]
      19. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      20. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
      20 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_101]
      1 frame