java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Alan Xu, 1 year ago
This exception has no message.
via Spring JIRA by Alan Xu, 1 year ago
This exception has no message.
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.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
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 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.data.couchbase.core.CouchbaseTemplate$$EnhancerBySpringCGLIB$$d5900aee.execute()
at org.springframework.data.couchbase.core.CouchbaseTemplate.findById(CouchbaseTemplate.java:173)
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.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 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()
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 com.mlbam.mm.commons.webapp.couchbase.dao.EntityAuditHistoryDao$$EnhancerBySpringCGLIB$$363274a7.getById()
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.