java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We have been seeing the the following NullPointerException with CouchbaseTemplate.findById calls. As we dug deeper, it turns out to be related to Spring AOP. Specifically, we set up Spring AOP pointcuts for each CouchbaseTemplate method so that we can do logging/benchmarking/error-handling/etc off of DB activities. However, as some of the CouchbaseTemplate methods are final (such as findById), they cannot be proxied/extended (to delegate to the underlying CouchbaseTemplate), and that led to NullPointerExceptions as findById is then executed against the proxy instead of being delegated/forwarded. Any specific reason why some of the methods (not all) are marked as final? Thanks! NullPointerException stacktrace below. CouchbaseTemplate.java:176 is trying to reference this.client which is null for the proxy object. 2015-06-04 02:18:55,346 [main] ERROR test.AbstractTestContext:33 (WorkflowDaoTestImpl.hasEntityAuditHistory) {} - hasEntityAuditHistory(net.mlbam.mm.ams.workflow.dao.WorkflowDaoTestImpl) failed junit test: java.lang.NullPointerException at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:176) at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.core.CouchbaseTemplate.execute(CouchbaseTemplate.java:244) at org.springframework.data.couchbase.core.CouchbaseTemplate$$FastClassBySpringCGLIB$$65a4c456.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseLoggingAspect.logCouchbaseClientActivity(CouchbaseLoggingAspect.java:44) at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseTimeoutRetryAspect.retryIfTimedout(CouchbaseTimeoutRetryAspect.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at org.springframework.data.couchbase.core.CouchbaseTemplate$$EnhancerBySpringCGLIB$$d5900aee.execute(<generated>) at org.springframework.data.couchbase.core.CouchbaseTemplate.findById(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.repository.support.SimpleCouchbaseRepository.findOne(SimpleCouchbaseRepository.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:442) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:427) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.couchbase.repository.support.ViewPostProcessor$ViewInterceptor.invoke(ViewPostProcessor.java:87) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.findOne(Unknown Source) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getByKey(BaseDocumentAccess.java:31) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getById(BaseDocumentAccess.java:37) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess$$FastClassBySpringCGLIB$$bcb11c14.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at com.mlbam.mm.commons.webapp.couchbase.dao.EntityAuditHistoryDao$$EnhancerBySpringCGLIB$$363274a7.getById(<generated>) at com.mlbam.mm.commons.webapp.couchbase.service.validation.BaseDocumentAsserts.assertExists(BaseDocumentAsserts.java:32) at com.mlbam.mm.commons.webapp.couchbase.service.AbstractDocumentService.getById(AbstractDocumentService.java:54) at com.mlbam.mm.commons.webapp.couchbase.service.EntityAuditHistoryService.getByEntityId(EntityAuditHistoryService.java:167) at com.mlbam.mm.commons.webapp.couchbase.AbstractWebAppTestContext.assertEntityAuditHistoryMatches(AbstractWebAppTestContext.java:137) at net.mlbam.mm.ams.workflow.dao.WorkflowDaoTestImpl.hasEntityAuditHistory(WorkflowDaoTestImpl.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    via by Alan Xu,
  • We have been seeing the the following NullPointerException with CouchbaseTemplate.findById calls. As we dug deeper, it turns out to be related to Spring AOP. Specifically, we set up Spring AOP pointcuts for each CouchbaseTemplate method so that we can do logging/benchmarking/error-handling/etc off of DB activities. However, as some of the CouchbaseTemplate methods are final (such as findById), they cannot be proxied/extended (to delegate to the underlying CouchbaseTemplate), and that led to NullPointerExceptions as findById is then executed against the proxy instead of being delegated/forwarded. Any specific reason why some of the methods (not all) are marked as final? Thanks! NullPointerException stacktrace below. CouchbaseTemplate.java:176 is trying to reference this.client which is null for the proxy object. 2015-06-04 02:18:55,346 [main] ERROR test.AbstractTestContext:33 (WorkflowDaoTestImpl.hasEntityAuditHistory) {} - hasEntityAuditHistory(net.mlbam.mm.ams.workflow.dao.WorkflowDaoTestImpl) failed junit test: java.lang.NullPointerException at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:176) at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.core.CouchbaseTemplate.execute(CouchbaseTemplate.java:244) at org.springframework.data.couchbase.core.CouchbaseTemplate$$FastClassBySpringCGLIB$$65a4c456.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseLoggingAspect.logCouchbaseClientActivity(CouchbaseLoggingAspect.java:44) at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseTimeoutRetryAspect.retryIfTimedout(CouchbaseTimeoutRetryAspect.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at org.springframework.data.couchbase.core.CouchbaseTemplate$$EnhancerBySpringCGLIB$$d5900aee.execute(<generated>) at org.springframework.data.couchbase.core.CouchbaseTemplate.findById(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.repository.support.SimpleCouchbaseRepository.findOne(SimpleCouchbaseRepository.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:442) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:427) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.couchbase.repository.support.ViewPostProcessor$ViewInterceptor.invoke(ViewPostProcessor.java:87) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.findOne(Unknown Source) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getByKey(BaseDocumentAccess.java:31) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getById(BaseDocumentAccess.java:37) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess$$FastClassBySpringCGLIB$$bcb11c14.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at com.mlbam.mm.commons.webapp.couchbase.dao.EntityAuditHistoryDao$$EnhancerBySpringCGLIB$$363274a7.getById(<generated>) at com.mlbam.mm.commons.webapp.couchbase.service.validation.BaseDocumentAsserts.assertExists(BaseDocumentAsserts.java:32) at com.mlbam.mm.commons.webapp.couchbase.service.AbstractDocumentService.getById(AbstractDocumentService.java:54) at com.mlbam.mm.commons.webapp.couchbase.service.EntityAuditHistoryService.getByEntityId(EntityAuditHistoryService.java:167) at com.mlbam.mm.commons.webapp.couchbase.AbstractWebAppTestContext.assertEntityAuditHistoryMatches(AbstractWebAppTestContext.java:137) at net.mlbam.mm.ams.workflow.dao.WorkflowDaoTestImpl.hasEntityAuditHistory(WorkflowDaoTestImpl.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    via by Alan Xu,
    • java.lang.NullPointerException at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:176) at org.springframework.data.couchbase.core.CouchbaseTemplate$1.doInBucket(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.core.CouchbaseTemplate.execute(CouchbaseTemplate.java:244) at org.springframework.data.couchbase.core.CouchbaseTemplate$$FastClassBySpringCGLIB$$65a4c456.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseLoggingAspect.logCouchbaseClientActivity(CouchbaseLoggingAspect.java:44) at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at com.mlbam.mm.commons.spring.couchbase.aop.CouchbaseTimeoutRetryAspect.retryIfTimedout(CouchbaseTimeoutRetryAspect.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at org.springframework.data.couchbase.core.CouchbaseTemplate$$EnhancerBySpringCGLIB$$d5900aee.execute(<generated>) at org.springframework.data.couchbase.core.CouchbaseTemplate.findById(CouchbaseTemplate.java:173) at org.springframework.data.couchbase.repository.support.SimpleCouchbaseRepository.findOne(SimpleCouchbaseRepository.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:442) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:427) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.couchbase.repository.support.ViewPostProcessor$ViewInterceptor.invoke(ViewPostProcessor.java:87) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.findOne(Unknown Source) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getByKey(BaseDocumentAccess.java:31) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess.getById(BaseDocumentAccess.java:37) at com.mlbam.mm.commons.webapp.couchbase.dao.BaseDocumentAccess$$FastClassBySpringCGLIB$$bcb11c14.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at com.mlbam.mm.commons.webapp.couchbase.dao.EntityAuditHistoryDao$$EnhancerBySpringCGLIB$$363274a7.getById(<generated>) at com.mlbam.mm.commons.webapp.couchbase.service.validation.BaseDocumentAsserts.assertExists(BaseDocumentAsserts.java:32) at com.mlbam.mm.commons.webapp.couchbase.service.AbstractDocumentService.getById(AbstractDocumentService.java:54) at com.mlbam.mm.commons.webapp.couchbase.service.EntityAuditHistoryService.getByEntityId(EntityAuditHistoryService.java:167) at com.mlbam.mm.commons.webapp.couchbase.AbstractWebAppTestContext.assertEntityAuditHistoryMatches(AbstractWebAppTestContext.java:137) at net.mlbam.mm.ams.workflow.dao.WorkflowDaoTestImpl.hasEntityAuditHistory(WorkflowDaoTestImpl.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    No Bugmate found.