java.lang.NullPointerException: null

JIRA | John Page | 12 months ago
  1. 0

    Using suggest indexes. It never finished the window that said 15-20 seconds Also after that automation would hang part way through deploying a new replica set. many messages like {noformat} 2015-12-17T13:21:22.246+0000 [qtp1328225951-265] gid:56714903e4b0d2fc7bbe677c WARN com.xgen.svc.mms.svc.DbProfileSvc [extractSuggestedIndex:336] - Unable to extract profiling entry stats in groupId=56714903e4b0d2fc7bbe677c, hostId=d66aed302b9055aa093fb0bbeb6147d0, ns=customer_112501395048404723_LIVE.$cmd, obj={ "op" : "command" , "ns" : "customer_112501395048404723_LIVE.$cmd" , "command" : { "aggregate" : "my_skills" , "pipeline" : [ { "$group" : { "_id" : { "employee_id" : "$employee_id" , "skill_id" : "$skill_id"} , "count" : { "$sum" : 1}}} , { "$project" : { "employee_id" : "$_id.employee_id" , "skill_id" : "$_id.skill_id" , "count" : "$count"}} , { "$match" : { "count" : { "$gt" : 1}}} , { "$skip" : 20} , { "$limit" : 20}] , "cursor" : { "batchSize" : 100} , "allowDiskUse" : true} , "keyUpdates" : 0 , "writeConflicts" : 0 , "numYield" : 560 , "locks" : { "Global" : { "acquireCount" : { "r" : 1132}} , "Database" : { "acquireCount" : { "r" : 566}} , "Collection" : { "acquireCount" : { "r" : 566}}} , "responseLength" : 3424 , "millis" : 363 , "execStats" : { } , "ts" : { "$date" : 1450352006831} , "client" : "10.138.93.213" , "allUsers" : [ ] , "user" : ""} {noformat} in log then {noformat} 2015-12-17T13:32:22.307+0000 [qtp1328225951-173] gid:56714903e4b0d2fc7bbe677c ERROR com.xgen.svc.mms.res.exception.DefaultThrowableHandler [handle:32] - com.xgen.svc.mms.res.v2.ProfilerResource.suggestIndexes(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.bson.types.ObjectId,java.lang.String) - msg: null java.lang.NullPointerException: null at com.xgen.svc.mms.svc.DbProfileSvc.getSuggestedIndexes(DbProfileSvc.java:277) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.svc.DbProfileSvc.getAllSuggestedIndexes(DbProfileSvc.java:188) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.v2.ProfilerResource.suggestIndexes(ProfilerResource.java:173) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f._d80suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java) ~[mms.jar:2.0.0.327] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1041) ~[hk2-utils-2.4.0-b12.jar:na] at org.jvnet.hk2.internal.MethodInterceptorHandler$MethodInvocationImpl.proceed(MethodInterceptorHandler.java:154) ~[hk2-locator-2.4.0-b12.jar:na] at com.xgen.svc.mms.res.UiCallImpl.interpretAuthState(UiCallImpl.java:817) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.UiCallImpl.invoke(UiCallImpl.java:207) ~[mms.jar:2.0.0.327] at org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInterceptorHandler.java:100) ~[hk2-locator-2.4.0-b12.jar:na] at com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f.suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java) ~[mms.jar:2.0.0.327] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [jersey-common-2.18.jar:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [jersey-common-2.18.jar:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291) [jersey-server-2.18.jar:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140) [jersey-server-2.18.jar:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:548) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:489) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:426) [jersey-container-servlet-core-2.18.jar:na] {noformat}

    JIRA | 12 months ago | John Page
    java.lang.NullPointerException: null
  2. 0

    Using suggest indexes. It never finished the window that said 15-20 seconds Also after that automation would hang part way through deploying a new replica set. many messages like {noformat} 2015-12-17T13:21:22.246+0000 [qtp1328225951-265] gid:56714903e4b0d2fc7bbe677c WARN com.xgen.svc.mms.svc.DbProfileSvc [extractSuggestedIndex:336] - Unable to extract profiling entry stats in groupId=56714903e4b0d2fc7bbe677c, hostId=d66aed302b9055aa093fb0bbeb6147d0, ns=customer_112501395048404723_LIVE.$cmd, obj={ "op" : "command" , "ns" : "customer_112501395048404723_LIVE.$cmd" , "command" : { "aggregate" : "my_skills" , "pipeline" : [ { "$group" : { "_id" : { "employee_id" : "$employee_id" , "skill_id" : "$skill_id"} , "count" : { "$sum" : 1}}} , { "$project" : { "employee_id" : "$_id.employee_id" , "skill_id" : "$_id.skill_id" , "count" : "$count"}} , { "$match" : { "count" : { "$gt" : 1}}} , { "$skip" : 20} , { "$limit" : 20}] , "cursor" : { "batchSize" : 100} , "allowDiskUse" : true} , "keyUpdates" : 0 , "writeConflicts" : 0 , "numYield" : 560 , "locks" : { "Global" : { "acquireCount" : { "r" : 1132}} , "Database" : { "acquireCount" : { "r" : 566}} , "Collection" : { "acquireCount" : { "r" : 566}}} , "responseLength" : 3424 , "millis" : 363 , "execStats" : { } , "ts" : { "$date" : 1450352006831} , "client" : "10.138.93.213" , "allUsers" : [ ] , "user" : ""} {noformat} in log then {noformat} 2015-12-17T13:32:22.307+0000 [qtp1328225951-173] gid:56714903e4b0d2fc7bbe677c ERROR com.xgen.svc.mms.res.exception.DefaultThrowableHandler [handle:32] - com.xgen.svc.mms.res.v2.ProfilerResource.suggestIndexes(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.bson.types.ObjectId,java.lang.String) - msg: null java.lang.NullPointerException: null at com.xgen.svc.mms.svc.DbProfileSvc.getSuggestedIndexes(DbProfileSvc.java:277) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.svc.DbProfileSvc.getAllSuggestedIndexes(DbProfileSvc.java:188) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.v2.ProfilerResource.suggestIndexes(ProfilerResource.java:173) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f._d80suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java) ~[mms.jar:2.0.0.327] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1041) ~[hk2-utils-2.4.0-b12.jar:na] at org.jvnet.hk2.internal.MethodInterceptorHandler$MethodInvocationImpl.proceed(MethodInterceptorHandler.java:154) ~[hk2-locator-2.4.0-b12.jar:na] at com.xgen.svc.mms.res.UiCallImpl.interpretAuthState(UiCallImpl.java:817) ~[mms.jar:2.0.0.327] at com.xgen.svc.mms.res.UiCallImpl.invoke(UiCallImpl.java:207) ~[mms.jar:2.0.0.327] at org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInterceptorHandler.java:100) ~[hk2-locator-2.4.0-b12.jar:na] at com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f.suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java) ~[mms.jar:2.0.0.327] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308) ~[jersey-server-2.18.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [jersey-common-2.18.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [jersey-common-2.18.jar:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [jersey-common-2.18.jar:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291) [jersey-server-2.18.jar:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140) [jersey-server-2.18.jar:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:548) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:489) [jersey-container-servlet-core-2.18.jar:na] at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:426) [jersey-container-servlet-core-2.18.jar:na] {noformat}

    JIRA | 12 months ago | John Page
    java.lang.NullPointerException: null
  3. 0

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

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    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 com.xgen.svc.mms.svc.DbProfileSvc.getSuggestedIndexes()
    2. com.xgen.svc
      ProfilerResource_$$_jvstd0c_2f._d80suggestIndexes
      1. com.xgen.svc.mms.svc.DbProfileSvc.getSuggestedIndexes(DbProfileSvc.java:277)[mms.jar:2.0.0.327]
      2. com.xgen.svc.mms.svc.DbProfileSvc.getAllSuggestedIndexes(DbProfileSvc.java:188)[mms.jar:2.0.0.327]
      3. com.xgen.svc.mms.res.v2.ProfilerResource.suggestIndexes(ProfilerResource.java:173)[mms.jar:2.0.0.327]
      4. com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f._d80suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java)[mms.jar:2.0.0.327]
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
      4 frames
    4. HK2 Implementation Utilities
      ReflectionHelper.invoke
      1. org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1041)[hk2-utils-2.4.0-b12.jar:na]
      1 frame
    5. ServiceLocator Default Implementation
      MethodInterceptorHandler$MethodInvocationImpl.proceed
      1. org.jvnet.hk2.internal.MethodInterceptorHandler$MethodInvocationImpl.proceed(MethodInterceptorHandler.java:154)[hk2-locator-2.4.0-b12.jar:na]
      1 frame
    6. com.xgen.svc
      UiCallImpl.invoke
      1. com.xgen.svc.mms.res.UiCallImpl.interpretAuthState(UiCallImpl.java:817)[mms.jar:2.0.0.327]
      2. com.xgen.svc.mms.res.UiCallImpl.invoke(UiCallImpl.java:207)[mms.jar:2.0.0.327]
      2 frames
    7. ServiceLocator Default Implementation
      MethodInterceptorHandler.invoke
      1. org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInterceptorHandler.java:100)[hk2-locator-2.4.0-b12.jar:na]
      1 frame
    8. com.xgen.svc
      ProfilerResource_$$_jvstd0c_2f.suggestIndexes
      1. com.xgen.svc.mms.res.v2.ProfilerResource_$$_jvstd0c_2f.suggestIndexes(ProfilerResource_$$_jvstd0c_2f.java)[mms.jar:2.0.0.327]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
      4 frames
    10. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.18.jar:na]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.18.jar:na]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.18.jar:na]
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[jersey-server-2.18.jar:na]
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.18.jar:na]
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.18.jar:na]
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.18.jar:na]
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.18.jar:na]
      9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)[jersey-server-2.18.jar:na]
      9 frames
    11. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.18.jar:na]
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.18.jar:na]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.18.jar:na]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.18.jar:na]
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.18.jar:na]
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.18.jar:na]
      6 frames
    12. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)[jersey-server-2.18.jar:na]
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)[jersey-server-2.18.jar:na]
      2 frames
    13. jersey-container-servlet-core
      ServletContainer.doFilter
      1. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)[jersey-container-servlet-core-2.18.jar:na]
      2. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)[jersey-container-servlet-core-2.18.jar:na]
      3. org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:548)[jersey-container-servlet-core-2.18.jar:na]
      4. org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:489)[jersey-container-servlet-core-2.18.jar:na]
      5. org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:426)[jersey-container-servlet-core-2.18.jar:na]
      5 frames