on 2019 Apr 08 8:42 PM
we are getting the below exception in our datahub log continously. Could you please check and advise why we are getting such logs.
[ERROR] [c.h.d.s.i.DefaultDataHubEventListenerRegistry] com.hybris.datahub.load.event.LoadingActionCompletionEventHandler threw an exception on DataLoadingCompletedEvent. Continuing to notify other listeners. {} com.querydsl.core.NonUniqueResultException: Only one result is allowed for fetchOne calls at com.querydsl.jpa.impl.AbstractJPAQuery.fetchOne(AbstractJPAQuery.java:258) at com.hybris.datahub.repository.jpa.impl.DefaultRawItemStatusCountJpaRepository.findByPool(DefaultRawItemStatusCountJpaRepository.java:75) at com.hybris.datahub.service.count.impl.DefaultRawItemStatusCountService.getRawItemStatusCountForPool(DefaultRawItemStatusCountService.java:98) at com.hybris.datahub.service.count.impl.DefaultRawItemStatusCountService.updateStatusCountAfterLoadCompletion(DefaultRawItemStatusCountService.java:71) at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52) at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:414) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:327) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy125.updateStatusCountAfterLoadCompletion(Unknown Source) at com.hybris.datahub.load.event.LoadingActionCompletionEventHandler.handleEvent(LoadingActionCompletionEventHandler.java:27) at com.hybris.datahub.load.event.LoadingActionCompletionEventHandler.handleEvent(LoadingActionCompletionEventHandler.java:20) at com.hybris.datahub.service.impl.DefaultDataHubEventListenerRegistry.notifyListener(DefaultDataHubEventListenerRegistry.java:90) at com.hybris.datahub.service.impl.DefaultDataHubEventListenerRegistry.notifyListeners(DefaultDataHubEventListenerRegistry.java:77) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy151.notifyListeners(Unknown Source) at com.hybris.datahub.service.impl.ThreadedAsynchronousEventPublicationService.lambda$publishEvent$0(ThreadedAsynchronousEventPublicationService.java:43) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.