Symptom
Deployment failed in migrate data phase and below error found in data migration log:
|
Target exception: de.hybris.platform.servicelayer.exceptions.ModelSavingException: Could not set given values because either attribute is not writable or does not exist within composed type OutboundRequest (invalid=null, non-writable=[httpMethod]) - rollback changes
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:91) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41) at bsh.BSHBlock.evalBlock(BSHBlock.java:125) at bsh.BSHBlock.eval(BSHBlock.java:75) at bsh.BSHBlock.eval(BSHBlock.java:41) at bsh.BSHTryStatement.eval(BSHTryStatement.java:80) at bsh.Interpreter.eval(Interpreter.java:659) at bsh.Interpreter.eval(Interpreter.java:750) at bsh.Interpreter.eval(Interpreter.java:739) at de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:42) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 3 more Caused by: de.hybris.platform.servicelayer.exceptions.ModelSavingException: Could not set given values because either attribute is not writable or does not exist within composed type OutboundRequest (invalid=null, non-writable=[httpMethod]) - rollback changes at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.storeAttributes(ItemModelConverter.java:1910) at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.lambda$save$2(ItemModelConverter.java:875) at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.lambda$toSupplier$0(UnitOfWorkInterceptor.java:71) at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.execute(UnitOfWorkInterceptor.java:57) at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.updateFromServiceLayer(UnitOfWorkInterceptor.java:28) at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.save(ItemModelConverter.java:875) at de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.save(ModelWrapper.java:364) at de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.saveOthers(ResolvingModelPersister.java:62) at de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.persist(ResolvingModelPersister.java:47) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveViaJalo(DefaultModelService.java:1175) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.doJaloPersistence(DefaultModelService.java:731) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.persistWrappers(DefaultModelService.java:1119) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:708) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:702) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:682) at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.save(DefaultModelService.java:629) at de.hybris.platform.outboundservices.update.OutboundRequestSystemUpdater.updateHttpMethod(OutboundRequestSystemUpdater.java:56) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1117) at de.hybris.platform.outboundservices.update.OutboundRequestSystemUpdater.populateNullHttpMethodWithDefaultValues(OutboundRequestSystemUpdater.java:46) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:265) at de.hybris.platform.core.initialization.impl.SystemSetupCollectorImpl.invokeSystemSetupMethod(SystemSetupCollectorImpl.java:322) at de.hybris.platform.core.initialization.impl.SystemSetupCollectorImpl.executeMethods(SystemSetupCollectorImpl.java:278) at de.hybris.platform.core.Initialization.createEssentialData(Initialization.java:1122) at de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:655) at de.hybris.platform.core.Initialization$5.call(Initialization.java:918) at de.hybris.platform.core.Initialization$5.call(Initialization.java:909) at de.hybris.platform.core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:70) at de.hybris.platform.core.Initialization.doInitialize(Initialization.java:950) at de.hybris.ant.taskdefs.InitPlatformAntPerformableImpl.performImpl(InitPlatformAntPerformableImpl.java:106) at de.hybris.ant.taskdefs.AbstractAntPerformable.doPerform(AbstractAntPerformable.java:84) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at bsh.Reflect.invokeMethod(Reflect.java:131) at bsh.Reflect.invokeObjectMethod(Reflect.java:77) at bsh.Name.invokeMethod(Name.java:852) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69) ... 14 more Caused by: de.hybris.platform.jalo.JaloInvalidParameterException: Could not set given values because either attribute is not writable or does not exist within composed type OutboundRequest (invalid=null, non-writable=[httpMethod]) - rollback changes[HY-0] at de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2259) at de.hybris.platform.jalo.Item$17.execute(Item.java:2157) at de.hybris.platform.tx.Transaction.execute(Transaction.java:1289) at de.hybris.platform.tx.Transaction.execute(Transaction.java:1207) at de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2152) at de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2132) at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.storeAttributes(ItemModelConverter.java:1895) ... 53 more
|
Read more...
Environment
Product
SAP Commerce Cloud all versions
Keywords
httpMethod, OutboundRequest, de.hybris.platform.servicelayer.exceptions.ModelSavingException , KBA , CEC-SCC-CLA-DEP , Deployments , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click
more to access the full version on SAP for Me (Login
required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.