从SAP Commerce 6.7.0.11到6.7.0.23的补丁迁移后,Oracle批处理API错误

2020-08-16 19:02发布

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

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


专家们,

从SAP Commerce 6.7.0.11到6.7.0.23的补丁迁移之后,我们遇到了saveAll异常。

20.06.1517:56:15:860错误捕获到可抛出的Oracle批处理API错误de.hybris .platform.servicelayer.exceptions.ModelSavingException:de.hybris.platform.servicelayer.internal.converter处的de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.storeAttributes(ItemModelConverter.java:1755)处的Oracle批处理API错误 .impl.ItemModelConverter.save(ItemModelConverter.java:837)位于de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.save(ModelWrapper.java:363)位于de.hybris.platform.servicelayer.internal .model.impl.ResolvingModelPersister.saveOthers(ResolvingModelPersister.java:68)在de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.persist(ResolvingModelPersister.java:53)在de.hybris.platform.servicelayer.internal .model.impl.DefaultModelService.saveViaJalo(DefaultModelService.java:1185)位于de.hybris.platform.servicel de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.persistWrappers(DefaultModelService.java:1129)中的ayer.internal.model.impl.DefaultModelService.doJaloPersistence(DefaultModelService.java:744)在de.hybris.platform中。 de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:715)的servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:721)在de.hybris.platform处。 位于com.mirakl.hybris的de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:657)处的servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:695)。 core.shop.services.impl.DefaultShopImportService.importShopsUpdatedSince(DefaultShopImportService.java:75)位于com.mirakl.hybris.core.shop.jobs.MiraklImportShopsJob.perform(MiraklImportShopsJob.java:39)位于com.mirakl.hybris。 shop.jobs.MiraklImportShopsJob.perform(MiraklImportShop sJob.java:1)位于de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)位于de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390) 在de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:814)在de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:732)在de.hybris.platform.cronjob .jalo.Job.perform(Job.java:644)位于de.hybris.platform.servicelayer.cronjob.impl.DefaultCronJobService.performCronJob(DefaultCronJobService.java:86)位于de.hybris.platform.catalog.job.CompositeJobPerformable.executeCompositeEntry (CompositeJobPerformable.java:125)位于de.hybris.platform.catalog.job.CompositeJobPerformable.perform(CompositeJobPerformable.java:76)位于de.hybris.catalog.job.CompositeJobPerformable.perform(CompositeJobPerformable.java:1) de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390)的de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)在de.hybris.platform处。 cronjob.jalo。 Job.performImpl(Job.java:814)位于de.hybris.platform.cronjob.jalo.Job.access $ 1(Job.java:767)位于de.hybris.platform.cronjob.jalo.Job $ JobRunable.run(Job .hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:208)的.java:686),de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:134)的原因。 java.lang.IllegalStateException:de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.createPreparedStatement处的Oracle批处理API错误,位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.setOracleExecuteBatchSettings(OracleBatchCollector.java:282) OracleBatchCollector.java:170)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.doInConnection(OracleBatchCollector.java:143)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.doInConnection(OracleBatchCollector.java: 1)在org.springframework.jdbc .core.JdbcTemplate.execute(JdbcTemplate.java:353)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector.updateBatch(OracleBatchCollector.java:110)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector.preProcess(OracleBatchCollector .java:86)位于de.hybris.platform.directpersistence.impl.DefaultBatchCollector.batchUpdate(DefaultBatchCollector.java:105)位于de.hybris.platper.directpersistence.impl.DefaultWritePersistenceGateway.persistInternal(DefaultWritePersistenceGateway.java:160)位于。 hybris.platform.directpersistence.impl.DefaultWritePersistenceGateway.persist(DefaultWritePersistenceGateway.java:128)位于de.hybris.platform.persistence.links.jdbc.dml.context.NewTransactionContext.flush(NewTransactionContext.java:137)处。 platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor $ 1.doInTransactionWithoutResult(DmlLinkOperationExecutor.java:88)在org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallba ckWithoutResult.java:34),位于org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133),位于de.hybris.platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor.doWithContextWithinTransaction(DmlLinkOperationExecutor.java:81) 在de.hybris.platform.persistence.links.jdbc.JdbcSetLinkOperation.perform(JdbcSetLinkOperation.java:71)处的de.hybris.platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor.execute(DmlLinkOperationExecutor.java:67) .hybris.platform.jalo.link.LinkManager.setLinkedItems(LinkManager.java:994)位于de.hybris.platform.jalo.link.LinkManager.setLinkedItems(LinkManager.java:976)位于de.hybris.platform.jalo.Item .setLinkedItems(Item.java:2740)位于com.mirakl.hybris.channelsaddon.jalo.GeneratedMiraklchannelsaddonManager.setChannels(GeneratedMiraklchannelsaddonManager.java:114)位于sun.reflect.GeneratedMethodAccessor3400.invoke(UnknownSource)在sun.reflect.DeleginMethodAccess DelegatingMethodAccessorImpl.java:43),网址为 de.hybris.platform.jalo.type.ReflectionAttributeAccess $ AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:806)处的java.lang.reflect.Method.invoke(Method.java:498)。 位于de.hybris.platform.jalo.Item.setAttribute(Item.java:2360)的ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:984)位于de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2193) .hybris.platform.jalo.Item.setAllAttributes(Item.java:2145)位于de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2084)位于de.hybris.platform.servicelayer.internal.converter.impl .ItemModelConverter.storeAttributes(ItemModelConverter.java:1740)... 30更多原因:java.lang.IllegalArgumentException:java.lang.ClassCastException@60b33f20在sun.reflect.GeneratedMethodAccessor2313.invoke(UnknownSource)在sun.reflect.DelegatingMethodAccessorImpl。 de.hybris.platform.directpersist上的java.lang.reflect.Method.invoke(Method.java:498)上的invoke(DelegatingMethodAccessorImpl.java:43) ence.impl.OracleBatchCollector $ BatchConnectionCallback.setOracleExecuteBatchSettings(OracleBatchCollector.java:276)... 60更多

谢谢

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

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


专家们,

从SAP Commerce 6.7.0.11到6.7.0.23的补丁迁移之后,我们遇到了saveAll异常。

20.06.1517:56:15:860错误捕获到可抛出的Oracle批处理API错误de.hybris .platform.servicelayer.exceptions.ModelSavingException:de.hybris.platform.servicelayer.internal.converter处的de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.storeAttributes(ItemModelConverter.java:1755)处的Oracle批处理API错误 .impl.ItemModelConverter.save(ItemModelConverter.java:837)位于de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.save(ModelWrapper.java:363)位于de.hybris.platform.servicelayer.internal .model.impl.ResolvingModelPersister.saveOthers(ResolvingModelPersister.java:68)在de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.persist(ResolvingModelPersister.java:53)在de.hybris.platform.servicelayer.internal .model.impl.DefaultModelService.saveViaJalo(DefaultModelService.java:1185)位于de.hybris.platform.servicel de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.persistWrappers(DefaultModelService.java:1129)中的ayer.internal.model.impl.DefaultModelService.doJaloPersistence(DefaultModelService.java:744)在de.hybris.platform中。 de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:715)的servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:721)在de.hybris.platform处。 位于com.mirakl.hybris的de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:657)处的servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:695)。 core.shop.services.impl.DefaultShopImportService.importShopsUpdatedSince(DefaultShopImportService.java:75)位于com.mirakl.hybris.core.shop.jobs.MiraklImportShopsJob.perform(MiraklImportShopsJob.java:39)位于com.mirakl.hybris。 shop.jobs.MiraklImportShopsJob.perform(MiraklImportShop sJob.java:1)位于de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)位于de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390) 在de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:814)在de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:732)在de.hybris.platform.cronjob .jalo.Job.perform(Job.java:644)位于de.hybris.platform.servicelayer.cronjob.impl.DefaultCronJobService.performCronJob(DefaultCronJobService.java:86)位于de.hybris.platform.catalog.job.CompositeJobPerformable.executeCompositeEntry (CompositeJobPerformable.java:125)位于de.hybris.platform.catalog.job.CompositeJobPerformable.perform(CompositeJobPerformable.java:76)位于de.hybris.catalog.job.CompositeJobPerformable.perform(CompositeJobPerformable.java:1) de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390)的de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)在de.hybris.platform处。 cronjob.jalo。 Job.performImpl(Job.java:814)位于de.hybris.platform.cronjob.jalo.Job.access $ 1(Job.java:767)位于de.hybris.platform.cronjob.jalo.Job $ JobRunable.run(Job .hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:208)的.java:686),de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:134)的原因。 java.lang.IllegalStateException:de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.createPreparedStatement处的Oracle批处理API错误,位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.setOracleExecuteBatchSettings(OracleBatchCollector.java:282) OracleBatchCollector.java:170)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.doInConnection(OracleBatchCollector.java:143)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector $ BatchConnectionCallback.doInConnection(OracleBatchCollector.java: 1)在org.springframework.jdbc .core.JdbcTemplate.execute(JdbcTemplate.java:353)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector.updateBatch(OracleBatchCollector.java:110)位于de.hybris.platform.directpersistence.impl.OracleBatchCollector.preProcess(OracleBatchCollector .java:86)位于de.hybris.platform.directpersistence.impl.DefaultBatchCollector.batchUpdate(DefaultBatchCollector.java:105)位于de.hybris.platper.directpersistence.impl.DefaultWritePersistenceGateway.persistInternal(DefaultWritePersistenceGateway.java:160)位于。 hybris.platform.directpersistence.impl.DefaultWritePersistenceGateway.persist(DefaultWritePersistenceGateway.java:128)位于de.hybris.platform.persistence.links.jdbc.dml.context.NewTransactionContext.flush(NewTransactionContext.java:137)处。 platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor $ 1.doInTransactionWithoutResult(DmlLinkOperationExecutor.java:88)在org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallba ckWithoutResult.java:34),位于org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133),位于de.hybris.platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor.doWithContextWithinTransaction(DmlLinkOperationExecutor.java:81) 在de.hybris.platform.persistence.links.jdbc.JdbcSetLinkOperation.perform(JdbcSetLinkOperation.java:71)处的de.hybris.platform.persistence.links.jdbc.dml.DmlLinkOperationExecutor.execute(DmlLinkOperationExecutor.java:67) .hybris.platform.jalo.link.LinkManager.setLinkedItems(LinkManager.java:994)位于de.hybris.platform.jalo.link.LinkManager.setLinkedItems(LinkManager.java:976)位于de.hybris.platform.jalo.Item .setLinkedItems(Item.java:2740)位于com.mirakl.hybris.channelsaddon.jalo.GeneratedMiraklchannelsaddonManager.setChannels(GeneratedMiraklchannelsaddonManager.java:114)位于sun.reflect.GeneratedMethodAccessor3400.invoke(UnknownSource)在sun.reflect.DeleginMethodAccess DelegatingMethodAccessorImpl.java:43),网址为 de.hybris.platform.jalo.type.ReflectionAttributeAccess $ AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:806)处的java.lang.reflect.Method.invoke(Method.java:498)。 位于de.hybris.platform.jalo.Item.setAttribute(Item.java:2360)的ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:984)位于de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2193) .hybris.platform.jalo.Item.setAllAttributes(Item.java:2145)位于de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2084)位于de.hybris.platform.servicelayer.internal.converter.impl .ItemModelConverter.storeAttributes(ItemModelConverter.java:1740)... 30更多原因:java.lang.IllegalArgumentException:java.lang.ClassCastException@60b33f20在sun.reflect.GeneratedMethodAccessor2313.invoke(UnknownSource)在sun.reflect.DelegatingMethodAccessorImpl。 de.hybris.platform.directpersist上的java.lang.reflect.Method.invoke(Method.java:498)上的invoke(DelegatingMethodAccessorImpl.java:43) ence.impl.OracleBatchCollector $ BatchConnectionCallback.setOracleExecuteBatchSettings(OracleBatchCollector.java:276)... 60更多

谢谢

付费偷看设置
发送
1条回答
Doze时光
1楼-- · 2020-08-16 19:21

最新的6.7是6.7.0.30。 你有试过吗 也许有与该错误相关的错误修正。

6.7版的修补程序版本: https://help.sap.com/viewer/dc198ac31ba24dce96149c8480be955f/6.7.0.0/zh-CN/cba026d2b36c4ab18f89525df92cc815.html

一周热门 更多>