on 2020 Jun 02 8:51 AM
Hi All,
For my user I have added admingroup and employeegroup and I am trying to run any flexiquery which gives me below exception.
INFO | jvm 1 | main | 2020/06/02 01:54:13.839 | WARN [hybrisHTTP5] [10.243.247.193] [DefaultHandlerExceptionResolver] Resolved exception caused by handler execution: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: while trying to invoke the method de.hybris.platform.catalog.model.CatalogVersionModel.getPk() of a null object loaded from local variable 'ctgVer'; nested exception is com.fasterxml.jackson.databind.JsonMappingException: while trying to invoke the method de.hybris.platform.catalog.model.CatalogVersionModel.getPk() of a null object loaded from local variable 'ctgVer' (through reference chain: de.hybris.platform.hac.data.dto.SqlSearchResultData["catalogVersionsAsString"]) INFO | jvm 1 | main | 2020/06/02 01:54:13.839 | WARN [hybrisHTTP5] [10.243.247.193] [DefaultHandlerExceptionResolver] Resolved exception caused by handler execution: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: while trying to invoke the method de.hybris.platform.catalog.model.CatalogVersionModel.getPk() of a null object loaded from local variable 'ctgVer'; nested exception is com.fasterxml.jackson.databind.JsonMappingException: while trying to invoke the method de.hybris.platform.catalog.model.CatalogVersionModel.getPk() of a null object loaded from local variable 'ctgVer' (through reference chain: de.hybris.platform.hac.data.dto.SqlSearchResultData["catalogVersionsAsString"])
If I remove the employeegroup from my user then it is working fine. Could someone help me to understand what is the issue here.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.