有人遇到过这个datahub发布错误吗

2020-09-05 10:49发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


2019-07-19 11:00:27,497 [ERROR] [chdsiPublicationActionHandler]错误发布操作:60 org.springframework.orm.jpa.JpaObjectRetrievalFailureException:无法找到com.hybris.datahub.runtime.domain.jpa。 实体ID为315的Entity.SubTargetSystemPublicationEntity; 嵌套异常是javax.persistence.EntityNotFoundException:无法在org.springframework.orm.jpa.EntityManagerFactoryFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:389)上找到ID为315的com.hybris.datahub.runtime.domain.jpa.entities.SubTargetSystemPublicationEntity org.springframework.persupport上的org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:246)位于org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:525) org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)上的org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209)(位于orgspring) .aop.framework.ReflectiveMethodInvocation org.springframework.aop.framework.ReflectedMethodInvocationproc.ed(ReflectiveMethodInvocation.java:179)在org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor $ CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133) :179),位于org.springframework.aop.framework的org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)的org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)。 JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)位于com.sun.proxy。$ Proxy132.save(未知源)位于com.hybris.datahub.repository.jpa.impl.AbstractGenericJpaRepository.save(AbstractGenericJpaRepository.java:91) .hybris.datahub.repository.jpa.impl.AbstractGenericJpaRepository.save(AbstractGenericJpaRepository.java:56)位于com.hybris.datahub.service.impl.DefaultPublicationActionService.updateCompos com.hybris.datahub.service.impl.AbstractTargetItemService $ 1.doInTransactionWithoutResult(AbstractTargetItemService.java:102)上的iteTargetSystemPublication(DefaultPublicationActionService.java:114)在org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult。 com.hybris.datahub.service.impl.AbstractTargetItemService.createTargetItemsForPublication(AbstractTargetItemService.java:97)上的org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)。 位于com.hybris.datahub.service.impl.PublicationActionHandler.createTargetItems(PublicationActionHandler.java:158)处的java.util.ArrayList.forEach(ArrayList.java:1257)处的PublicationActionHandler.lambda $ createTargetItems $ 0(PublicationActionHandler.java:161) com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:125)位于com.hybris.datahub.service.impl .com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:71)中的.PublicationActionHandler.handleAction(PublicationActionHandler.java:97)在com.hybris.datahub.command.impl.AbstractPerformCommand.lambda $ execute $ 0( java.util.concurrent.CompletableFuture $ AsyncRun.run(CompletableFuture.java:1626)处的com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor.lambda $ createWrappedRunnable $ 1(ExceptionHandlingAsyncTaskExecutor.java:72)处的AbstractPerformCommand.java:56)。 util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:836) :javax.persistence.EntityNotFoundException:无法在ID为315的org.hibernate.jpa.boot.internal.EntityManagerFactoryFactoryBuilderImpl $ JpaEntityNotFoundDelegate.handleEntityNotFound(EntityM)中找到com.hybris.datahub.runtime.domain.jpa.entities.SubTargetSystemPublicationEntity anagerFactoryBuilderImpl.java:158)org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278)org.hibernate.event org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)位于org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1239)处的.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121) org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:646)位于org.hibernate.type.EntityType.resolve(EntityType.java:431)上的org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1122) 在org.hibernate.type.CollectionType.replace(CollectionType.java:688)在org.hibernate.type.CollectionType.replaceElements(CollectionType.java:543)在org.hibernate.type.CollectionType.replace(CollectionType.java:688) )在org.hibernat的org.hibernate.type.TypeHelper.replace(TypeHelper.java:180) org.hibernate.event.internal.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:328)的e.event.internal.DefaultMergeEventListener.copyValues(DefaultMergeEventListener.java:394)org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener。 org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:69)的org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:883)的org.hibernate.internal.SessionImpl.merge的java:170) (SessionImpl.java:869)在sun.reflect.GeneratedMethodAccessor209.invoke(未知源)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)在java.lang.reflect.Method.invoke(Method.java:498) ),位于org.springframework.data.jpa.repository.support上com.sun.proxy。$ Proxy84.merge(Unknown Source)的org.springframework.orm.jpa.SharedEntityManagerCreator $ SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)处。 SimpleJpaReposit or.save(SimpleJpaRepository.java:509)位于sun.reflect.GeneratedMethodAccessor286.invoke(未知源)位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)位于java.lang.reflect.Method.invoke(Method。 的org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:503)处的org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport。 org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:460)at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)上的java:488) .org.springframework.aop.framework.ReflectiveMetho的.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61) org.springframework.transaction.interceptor.TransactionInterceptor上的dInvocation.proceed(ReflectiveMethodInvocation.java:179)$ 1.proceedWithInvocation(TransactionInterceptor.java:99)在org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)在org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke( PersistenceExceptionTranslationInterceptor.java:136)...省略了26个常见框架2019-07-19 11:00:27,497 [INFO] [chdsiPublicationActionHandler]失败的发布操作:60 2019-07-19 11:00:27,511 [INFO] [chdsi AsynchronousEventPublicationService]触发数据中心事件:TargetSystemPublicationCompletedEvent {publicationId = 780,poolId = 18,publicationResult = PublicationRe sult {publicationId = 780,completeStatus = FAILURE,successCount = 8125,internalErrorCount = 0,externalErrorCount = 0,ignoreCount = 97}} 2019-07-19 11:00:27,512 [DEBUG] [chdspiDefaultDataHubPublicationService]将发布状态设置为FAILURE 2019 -07-19 11:00:27,513 [DEBUG] [chdpiDefaultProcessMonitor]未注册的出版物#60,运行16个进程,运行2019-07-19 11:00:27,513 [INFO] [chdsiAsynchronousEventPublicationService]触发数据中心事件:PublicationCompletedEvent {actionId = 60,poolId = 18} 2019-07-19 11:00:27,527 [INFO] [chdaplDHPurgePublicationListener] #################收到池H_SAP_ECC_POOL的PublicationCompletedEvent [60]# #################

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


2019-07-19 11:00:27,497 [ERROR] [chdsiPublicationActionHandler]错误发布操作:60 org.springframework.orm.jpa.JpaObjectRetrievalFailureException:无法找到com.hybris.datahub.runtime.domain.jpa。 实体ID为315的Entity.SubTargetSystemPublicationEntity; 嵌套异常是javax.persistence.EntityNotFoundException:无法在org.springframework.orm.jpa.EntityManagerFactoryFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:389)上找到ID为315的com.hybris.datahub.runtime.domain.jpa.entities.SubTargetSystemPublicationEntity org.springframework.persupport上的org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:246)位于org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:525) org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)上的org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209)(位于orgspring) .aop.framework.ReflectiveMethodInvocation org.springframework.aop.framework.ReflectedMethodInvocationproc.ed(ReflectiveMethodInvocation.java:179)在org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor $ CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133) :179),位于org.springframework.aop.framework的org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)的org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)。 JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)位于com.sun.proxy。$ Proxy132.save(未知源)位于com.hybris.datahub.repository.jpa.impl.AbstractGenericJpaRepository.save(AbstractGenericJpaRepository.java:91) .hybris.datahub.repository.jpa.impl.AbstractGenericJpaRepository.save(AbstractGenericJpaRepository.java:56)位于com.hybris.datahub.service.impl.DefaultPublicationActionService.updateCompos com.hybris.datahub.service.impl.AbstractTargetItemService $ 1.doInTransactionWithoutResult(AbstractTargetItemService.java:102)上的iteTargetSystemPublication(DefaultPublicationActionService.java:114)在org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult。 com.hybris.datahub.service.impl.AbstractTargetItemService.createTargetItemsForPublication(AbstractTargetItemService.java:97)上的org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)。 位于com.hybris.datahub.service.impl.PublicationActionHandler.createTargetItems(PublicationActionHandler.java:158)处的java.util.ArrayList.forEach(ArrayList.java:1257)处的PublicationActionHandler.lambda $ createTargetItems $ 0(PublicationActionHandler.java:161) com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:125)位于com.hybris.datahub.service.impl .com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:71)中的.PublicationActionHandler.handleAction(PublicationActionHandler.java:97)在com.hybris.datahub.command.impl.AbstractPerformCommand.lambda $ execute $ 0( java.util.concurrent.CompletableFuture $ AsyncRun.run(CompletableFuture.java:1626)处的com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor.lambda $ createWrappedRunnable $ 1(ExceptionHandlingAsyncTaskExecutor.java:72)处的AbstractPerformCommand.java:56)。 util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:836) :javax.persistence.EntityNotFoundException:无法在ID为315的org.hibernate.jpa.boot.internal.EntityManagerFactoryFactoryBuilderImpl $ JpaEntityNotFoundDelegate.handleEntityNotFound(EntityM)中找到com.hybris.datahub.runtime.domain.jpa.entities.SubTargetSystemPublicationEntity anagerFactoryBuilderImpl.java:158)org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278)org.hibernate.event org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)位于org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1239)处的.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121) org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:646)位于org.hibernate.type.EntityType.resolve(EntityType.java:431)上的org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1122) 在org.hibernate.type.CollectionType.replace(CollectionType.java:688)在org.hibernate.type.CollectionType.replaceElements(CollectionType.java:543)在org.hibernate.type.CollectionType.replace(CollectionType.java:688) )在org.hibernat的org.hibernate.type.TypeHelper.replace(TypeHelper.java:180) org.hibernate.event.internal.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:328)的e.event.internal.DefaultMergeEventListener.copyValues(DefaultMergeEventListener.java:394)org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener。 org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:69)的org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:883)的org.hibernate.internal.SessionImpl.merge的java:170) (SessionImpl.java:869)在sun.reflect.GeneratedMethodAccessor209.invoke(未知源)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)在java.lang.reflect.Method.invoke(Method.java:498) ),位于org.springframework.data.jpa.repository.support上com.sun.proxy。$ Proxy84.merge(Unknown Source)的org.springframework.orm.jpa.SharedEntityManagerCreator $ SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)处。 SimpleJpaReposit or.save(SimpleJpaRepository.java:509)位于sun.reflect.GeneratedMethodAccessor286.invoke(未知源)位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)位于java.lang.reflect.Method.invoke(Method。 的org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:503)处的org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport。 org.springframework.data.repository.core.support.RepositoryFactorySupport $ QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:460)at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)上的java:488) .org.springframework.aop.framework.ReflectiveMetho的.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61) org.springframework.transaction.interceptor.TransactionInterceptor上的dInvocation.proceed(ReflectiveMethodInvocation.java:179)$ 1.proceedWithInvocation(TransactionInterceptor.java:99)在org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)在org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke( PersistenceExceptionTranslationInterceptor.java:136)...省略了26个常见框架2019-07-19 11:00:27,497 [INFO] [chdsiPublicationActionHandler]失败的发布操作:60 2019-07-19 11:00:27,511 [INFO] [chdsi AsynchronousEventPublicationService]触发数据中心事件:TargetSystemPublicationCompletedEvent {publicationId = 780,poolId = 18,publicationResult = PublicationRe sult {publicationId = 780,completeStatus = FAILURE,successCount = 8125,internalErrorCount = 0,externalErrorCount = 0,ignoreCount = 97}} 2019-07-19 11:00:27,512 [DEBUG] [chdspiDefaultDataHubPublicationService]将发布状态设置为FAILURE 2019 -07-19 11:00:27,513 [DEBUG] [chdpiDefaultProcessMonitor]未注册的出版物#60,运行16个进程,运行2019-07-19 11:00:27,513 [INFO] [chdsiAsynchronousEventPublicationService]触发数据中心事件:PublicationCompletedEvent {actionId = 60,poolId = 18} 2019-07-19 11:00:27,527 [INFO] [chdaplDHPurgePublicationListener] #################收到池H_SAP_ECC_POOL的PublicationCompletedEvent [60]# #################

付费偷看设置
发送
1条回答
追夢秋陽
1楼-- · 2020-09-05 11:09

我以前在此论坛上已经看到过这个问题,因此,回答您的问题是"是"。

关于原因,您看到此异常,这很可能是在进行发布时同时删除目标系统发布实体。 您是否启用了清理扩展? 如果是这样,请检查是否为延迟清除正确配置了延迟。 清理扩展是杀死数据库中正在运行的发布数据的主要嫌疑犯,但也可能还有其他原因(尽管我不知道这些原因)。

一周热门 更多>