I have a code which executes a flexible search. When i am calling that code locally to search data it gives expected output but when I try to call it using REST API (Through controller) it gives error as could not translate value expression ‘session.currentCountry’ but i am not even using session or session country anywhere in flexible search. what
Tag: sap-commerce-cloud
Hybris and Orika Nullpointer
I’m using Hybris and Orika. I have a NullpointerException when converting WsDto to Data. This is an exception: The issue – it happens in generated class so it’s very hard to debug. I’ve also tried to enable code generation for Orika to check classes, but for some reason, the configuration doesn’t apply. I’ve done it this way: My questions are: