Skip to Content
0
Former Member
Apr 14, 2016 at 11:53 AM

Classification and features list and values in tables

173 Views

HI All

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();

Thanks Nagendra