I am facing some issue with classifications , please go through below explanation
I was able to create a new classification from HMC , and able to map that classification to some categories
after that I am trying to fetch that data into my controller with below code , it was giving Nullpointer exception , and also please explain me in tables are these classification attributes and values are persist.
Code with I am using :
final FeatureList featureList = classificationService.getFeatures(productModel);
// Here I am getting NullPointer exception final Feature feature = featureList.getFeatureByCode("JewellaryClassificationSystem/1.0/color"); final FeatureValue featureValue = feature.getValue();