for (Constraint constraint : ocl.parse(oclInput)){
it's thrown the next exception:
java.lang.ClassCastException: org.eclipse.ocl.ecore.impl.InvalidTypeImpl cannot be cast to org.eclipse.ocl.types.CollectionType
at org.eclipse.ocl.util.OCLStandardLibraryUtil.getSetTypeResultTypeOf(OCLStandardLibraryUtil.java:747) at org.eclipse.ocl.util.OCLStandardLibraryUtil.getResultTypeOf(OCLStandardLibraryUtil.java:393)
I think that this problem it's due to some OCL rules that contain a class type that it doesn't exist in the model, but I'm not sure.
Please, how can I debug this problem?