Method changes
The com.nomagic.magicdraw.core.project.service.AbstractProjectService#getInternalInstance method is no longer visible from com.nomagic.uml2.ext.jmi.helpers.StereotypeByProfileCache, because StereotypeByProfileCache no longer derives from AbstractProjectService. It derives from com.nomagic.magicdraw.core.project.service.ProjectService instead.
To fix compilation errors in custom profile implementation classes, replace the method
public static MyProfile getInstance(Project project) { MyProfile instance = getInternalInstance(MyProfile.class, project); if (instance == null) { instance = new MyProfile(project); } return instance; }
with
public static MyProfile getInstance(Project project) { return getOrCreateInstance(MyProfile.class, MyProfile::new, project); }
or
public static MyProfile getInstance(Project project) { return getOrCreateInstanceWithNullSupport(MyProfile.class, MyProfile::new, project); }