Hello Folks.
I have Jdeveloper 11.1.1.7.0
I have two view objects, one in which i created for an attribute a list of values.
When View number 1 calls list of values View number 2 it should apply just one of the three view criteria available; because there are separated process that uses in commodity this two view object.
This is the main view:

There are the three different view criteria to apply based in the type of process (none is selected).

In the main code i try to call view accessor, this is fine till i try to invoke the view criteria of the child element prompting an error:
DCIteratorBinding dciter256 = bindingsImpl.findIteratorBinding("ResguardoView1Iterator");
ViewObject Res = dciter256.getViewObject();
ViewObject Accesor = Res.findAttributeDef("CctresguardoView1").getAccessorVO(Res);
ViewCriteriaManager vcm26 = Accesor.getViewCriteriaManager(); //HERE I GET A NULLPOINTER EXCEPTION
ViewCriteria vc26 = null;
vc26 = vcm26.getViewCriteria("EsPaViewCriteria");
Accesor.applyViewCriteria(vc26);
Accesor.executeQuery();
Any idea how to invoke programmatically an accessor and apply a view criteria in its child View Object of the list of values?.
Cheers.
Jorge.