Skip to Content
0
Former Member
Sep 13, 2017 at 09:08 AM

How to resolve unexpected validator error: HV000090: Unable to access getLocName.

1485 Views

Hi All,

I have created an object extending B2BCustomer. I'm getting the below exception when i try to save it by giving all the mandatory fields:

Exceptionde.hybris.platform.servicelayer.exceptions.ModelSavingException: [de.hy bris.platform.validation.interceptors.ValidationInterceptor@7604bc04]: unexpecte d validator error: HV000090: Unable to access getLocName.

I have created object using Modelservice.create() & add fields to it & trying to save it using Modelservice.save()

Error StackTrace :

"detailMessage": "[de.hybris.platform.validation.interceptors.ValidationInterceptor@7604bc04]: unexpected validator error: HV000090: Unable to access getLocName.", "cause": { "detailMessage": "[de.hybris.platform.validation.interceptors.ValidationInterceptor@7604bc04]: unexpected validator error: HV000090: Unable to access getLocName.", "cause": { "detailMessage": "HV000090: Unable to access getLocName.", "cause": { "stackTrace": [ "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", "java.lang.reflect.Method.invoke(Method.java:498)", "org.hibernate.validator.internal.util.ReflectionHelper.getValue(ReflectionHelper.java:188)", "org.hibernate.validator.internal.engine.ValidatorImpl.getValue(ValidatorImpl.java:1323)", "org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:461)", "org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:406)", "org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:370)", "org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:322)", "org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:152)", "de.hybris.platform.validation.services.impl.DefaultValidationService.validate(DefaultValidationService.java:258)", "de.hybris.platform.validation.services.impl.DefaultValidationService.validate(DefaultValidationService.java:251)", "de.hybris.platform.validation.interceptors.ValidationInterceptor.onValidate(ValidationInterceptor.java:51)", "de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.invokeValidateInterceptors(ModelWrapper.java:290)", "de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.validate(ModelWrapper.java:238)", "de.hybris.platform.servicelayer.internal.model.extractor.impl.DefaultModelExtractor.process(DefaultModelExtractor.java:57)", "de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:719)", "de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:714)", "de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:694)", "de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.save(DefaultModelService.java:642)",

Can someone help me to resolve this issue