SAP Knowledge Base Article - Preview

3338463 - After 2211 Migration in SmartEdit the "Preview/Basicedit/Advanced edit" context menu button is not appearing - SAP Commerce

Symptom

After 2211 migration from a lower version, in SmartEdit the "Preview/Basic Edit/Advanced edit" context menu button is not appearing:

In the Dynatrace monitoring, we can see one of the requests from Smartedit failed with 400 error

The request URL is like:

https://<API-endpoint>/occ/v2/basesites?param1=val1,param2=val2, ... ... 

And in the logs below exception stack trace can be seen:

java.lang.NullPointerException
  at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
  at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
  at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
  at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
  at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
  at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
  at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
  at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
  at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
  at de.hybris.platform.commercefacades.captcha.converters.populator.CaptchaConfigPopulator.populate(CaptchaConfigPopulator.java:28)
    at de.hybris.platform.commercefacades.captcha.converters.populator.CaptchaConfigPopulator.populate(CaptchaConfigPopulator.java:18)
  at de.hybris.platform.converters.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:64)
  at de.hybris.platform.converters.impl.AbstractConverter.convert(AbstractConverter.java:35)
  at de.hybris.platform.commercefacades.basesites.converters.populator.BaseSitePopulator.populate(BaseSitePopulator.java:51)
  at de.hybris.platform.commercefacades.basesites.converters.populator.BaseSitePopulator.populate(BaseSitePopulator.java:22)
  at de.hybris.platform.converters.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:64)
  at de.hybris.platform.converters.impl.AbstractConverter.convert(AbstractConverter.java:35)
  at de.hybris.platform.servicelayer.dto.converter.Converter.convertAll(Converter.java:64)
  at de.hybris.platform.commercefacades.basesites.impl.DefaultBaseSiteFacade.getAllBaseSites(DefaultBaseSiteFacade.java:30)
    at de.hybris.platform.commercewebservices.core.v2.controller.BaseSitesController.getBaseSites(BaseSitesController.java:42)

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP Commerce
  • SAP Commerce Cloud

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

smartedit, "Preview/Basicedit/Advanced edit" context menu button missing, 2211 migration, captchaCheckEnabled, NullPointerException, sedit, hybris, ccv2 , KBA , CEC-SCC-COM-SEDIT , SmartEdit , 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.