cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while executing flexible search

I am getting below exception when i execute any flexible search from hac . Any pointers would be appreciated .

DefaultHandlerExceptionResolver] Failed to write HTTP message: org.springframework.http.converter.HttpMessageNotWritableException: Could not write content: (was java.lang.NullPointerException) (through reference chain: de.hybris.platform.hac.data.dto.SqlSearchResultData["catalogVersionsAsString"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: de.hybris.platform.hac.data.dto.SqlSearchResultData["catalogVersionsAsString"]

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member645853
Participant
0 Kudos

The same issue when executing this query from HAC:
SELECT {o.PK} from {Order as o JOIN OrderEntry as oe ON {o.PK}={oe.order}} group by {o.PK} HAVING sum({oe.price}) != {o.price}

former_member724056
Discoverer
0 Kudos

Hi All Please share now how this issue was resolved as we are really stuck presently with the same trace in some of our lower environments

g_madhava1
Explorer
0 Kudos

Unless you show us what impex you are trying to run, it would he hard for us to tell what is wrong.

0 Kudos

Any flexible search. EX : Select count(*) from {Product}