数据集线器组成错误

2020-09-24 05:45发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)嗨, 我在合成步骤中遇到以下错...

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

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


嗨,

我在"合成"步骤中遇到以下错误

引用链接: https://wiki。 hybris.com/display/release5/Getting+Started+with+the+Data+Hub

2015-04-15 15:06:50,779 [错误] [c.h.d.c.i.CompositionChainRunnerStrategy]集成规范项null的密钥生成失败。 com.hybris.datahub.composition.key.IncompleteKeyException:规范项CanonicalVariant的属性标识符的值为空白或null。 com.hybris.datahub.composition.key.AlphabeticalIntegrationKeyGenerationStrategy.generateKeyValue(AlphabeticalIntegrationKeyGenerationStrategy.java:38)〜[datahub-service-5.5.0.0-RC3.jar:5.5.0.0-RC3] at com.hybris.datahub.service。 impl.DefaultCanonicalItemService.calculateIntegrationKey(DefaultCanonicalItemService.java:142)〜[datahub-service-5.5.0.0-R C3.jar:5.5.0.0-RC3] at com.hybris.datahub.composition.impl.CompositionChainRunnerStrategy.generateIntegrationKeyValue(CompositionChainRunnerStrategy。 java:101)[datahub-serv ice-5.5.0.0-RC3.jar:5.5.0.0-RC3] at com.hybris.datahub.composition.impl.CompositionChainRunnerStrategy.runChain(CompositionChainRunnerStrategy.java:70)[datahub-service- 5.5.0.0-RC3.jar:5.5.0.0-RC3],位于com.hybris.datahub.service.composition.impl.DefaultDataHubCompositionService.composeItemsInGroups(DefaultDataHubCompositionService.java:142)[datahub -service-5.5.0.0-RC3.jar: 5.5.0.0-RC3],网址为com.hybris.datahub.service.composition.impl.DefaultDataHubComposition Service.c omposeSingleRawType(DefaultDataHubCompositionService.java:113)[datahub-service-5.5.0.0-RC3.jar:5.5.0.0-RC3]位于com.hybris.datahub.service.composition.impl.DefaultDataHubCompositionService.startComposition(DefaultDataHubCompositionService.java:73) [datahub-serv ice-5.5.0.0-RC3.jar:5.5.0.0-RC3]位于com.hybris.datahub.service.impl.CompositionActionHandler.handleCompositionEventPage(CompositionActionHandler.java:198)[datahub-service-5.5.0.0- RC3.j ar:5.5.0.0-RC3],位于com.hybris.datahub.service.impl.CompositionActionHandler.access $ 100(CompositionActionHandler.java:51)[datahub-service-5.5.0.0-RC3.jar:5.5.0.0- RC3],网址为com.hybris.datahub.service.impl.CompositionActionHandler $ 2.doInTransaction(CompositionActionHandler.java:102)[datahub-service-5.5.0.0-RC3.jar:5.5.0。 0-RC3],位于org.springframework的com.hybris.datahub.service.impl.CompositionActionHandler $ 2.doInTransaction(CompositionActionHandler.java:99)[datahub-service-5.5.0.0-RC3.jar:5.5.0.0 -RC3]。 transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)[spring-tx-3.2.8.RELEASE.jar:3.2.8.RELEASE]位于com.hybris.datahub.service.impl.CompositionActionHandler.handleActionInternal(CompositionActionHandler)。 java:98)[datahub-service-5.5.0.0-RC3.jar:5.5。 0.0-RC3]位于com.hybris.datahub.service.impl.CompositionActionHandler.handleActionInternal(CompositionActionHandler.java:51)[datahub-service-5.5.0.0-RC3.jar:5.5。 0.0-RC3] at com.hybris.datahub.service.impl.AbstractTransactionManagingActionHandler $ 1.doWithRetry(AbstractTransactionManagingActionHandler.java:62)[datahub-ser Vice-5.5.0.0-RC3.jar:5.5.0.0-RC3] at com.hybris .datahub.service.impl.AbstractTransactionManagingActionHandler $ 1.doWithRetry(AbstractTransactionManagingActionHandler.java:53)[datahub-ser Vice-5.5.0.0-RC3.jar:5.5.0.0-RC3]在org.springframework.retry.support.RetryTemplate.doExecute (RetryTemplate.java:255)[spring-retry-1.0.3.RELEASE.jar:na]在org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:162)[spring-retry-1.0.3。 RELEASE.jar:na]位于com.hybris.datahub.service.impl.AbstractTransactionManagingActionHandler.executeWithRetry(AbstractTransactionManagingActionHandler.java:52)[datahub- service-5.5.0.0-RC3.jar:5.5.0.0-RC3]位于com.hybris .datahub.service.impl.CompositionActionHandler.handleAction(CompositionActionHandler.java:67)[datahub-service-5.5.0.0-RC3.jar:5.5.0.0-RC3]

com.hybris.datahub.service.integration.impl.PoolActionMessageHandler.handleMessage(PoolActionMessageHandler.java:42)上的
  [datahub-service-5.5.0.0-RC3.jar
  

:5.5.0.0-RC3],位于org.springframework.integration.endpoint.PollingConsumer.handleMessage(PollingConsumer.java:74)[spring-integration-core-3.0.2.RELEASE.jar:na],位于com.hybris .datahub.service.integration.impl.BlockingPollingConsumer.handleMessage(BlockingPollingConsumer.java:35)[datahub-service-5.5.0.0-RC3.jar:5 .5.0.0-RC3]在org.springframework.integration.endpoint.AbstractPollingEndpoint .doPoll(AbstractPollingEndpoint.java:199)[spring-integration-core-3.0.2.RELEASE.jar:na]在org.springframework.integration.endpoint.AbstractPollingEndpoint.access $ 000(AbstractPollingEndpoint.java:51)[spring-integration -core-3.0.2.RELEASE.j ar:na]在org.springframework.integration.endpoint.AbstractPollingEndpoint $ 1.call(AbstractPollingEndpoint.java:143)[spring-integration-core-3.0.2.RELEASE.jar:na ]在org.springframework.integration.endpoint.AbstractPollingEndpoint $ 1.call(AbstractPollingEndpoint.java:141)[spring-integration-core-3.0.2.RELEASE.jar:na]在org.springframework.integration.endpoi nt.AbstractPollingEndpoint $ Poller $ 1.run(AbstractPollingEndpoint.java:273)[spring-integration-core-3.0.2.RELEAS E.jar:na] at org.springframework.integration.util.ErrorHandlingTaskExecutor $ 1.run(ErrorHandlingTaskExecutor.java :52)[spring-integration-core-3.0.2.RELEASE.jar:na]在org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)[spring-core-3.2.8.RELEASE。 jar:3.2.8.RELEASE]在org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:49)[spring-integration-core-3.0.2.RELEASE.jar:na]在org.springframework.integration .endpoint.AbstractPollingEndpoint $ Poller.run(AbstractPollingEndpoint.java:268)[spring-integration-core-3.0.2.RELEASE。 jar:na]在org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE]在org.springframework.scheduling.concurrent .ReschedulingRunnable.run(ReschedulingRunnable.java:81)[spring-context-3.2.8.RELEASE.jar:3.2.8.RELEASE] at java.util.concurrent.Executors $ RunnableAdapter.call(未知源)[na:1.7 [0_51],位于java.util.concurrent.FutureTask.run(未知来源)[na:1.7.0_51],位于java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask。 在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask中获得access $ 201(未知来源)[na:1.7.0_51]。 在java.util.concurrent.ThreadPoolExecutor.runWorker中运行(未知源)[na:1.7.0_51](未知源)在java.util.concurrent.ThreadPoolExecutor $ Worker.run中运行[na:1.7.0_51](未知源)[ na:1.7.0_51],位于java.lang.Thread.run(未知来源)[na:1.7.0_51] 2015-04-15 15:06:50,951 [DEBUG] [chdsiCompositionActionHandler]类型的开始合成-RawCategory 2015- 04-15 15:06:50,982 [DEBUG] [chdsciDefaultDataHubCompositionService]找到24个用于组合的项目2015-04-15 15:06:51,107 [DEBUG] [chdsiCompositionActionHandler]类型的开始组合-RawElectronicsProduct 2015-04-15 15: 06:51,107 [DEBUG] [chdsiDefaultEventPublicationService]发布数据中心事件:CompositionCompletedEvent {actionId = 1} 2015-04-15 15:07:35,976 [INFO] [chdrrPoolActionResource]接收到GET/GLOBAL/compositions

我还在local.properties文件中添加了datahub.encryption.key.path。

5条回答
SAP砖家
2020-09-24 06:44

我认为这里的问题是,如果我尝试发送这两行来创建产品,那么它将被解释为VariantProduct而不是简单的Product:

sourceId,isoCode,baseName,baseDescription,ean,manufacturerName,manufacturerAid,单位,样式,大小,SKU,类别,样式DescriptionM25687,en,"来自Datahub的T恤描述(男子游戏板头骨SS)" ,,,, ,件,,,,

但是,这很好用,因为在这里我们试图创建VariantProducts:

sourceId,isoCode,baseName,baseDescription,ean,manufacturererName,manufacturerAid,单位,样式,大小,SKU,类别,样式Description M25687,en ,,,,,,,,灰色,L,LGR-25687,M25687,de ,,,,,, Grau,L,LGR-25687 ,, M25687,en ,,,,,,,灰色,M,MRE-25687 ,, M25687,de ,,,,,, Grau,M,MRE -25687,M25687,en ,,,,, S,SBL-25687,M25687,de ,,,,,,,,,,, SBL-25687,

一周热门 更多>