The method getRuntimeID from ASMService is now public (as of 3.9.2014).
MoSGrid's class DomainPortlet needs to be changed in order to avoid accessing said method via java reflection:
// FIXME: This is a hack using reflection... perhaps later ASM versions will
// be expose getRuntimeID as public?
public String getRuntimeID(final String userID, final String workflowName) {
try {
// first, get the method
final Method getRuntimeIDMethod = getAsmService().getClass().getDeclaredMethod("getRuntimeID", String.class, String.class);
// make it accessible
getRuntimeIDMethod.setAccessible(true);
// and invoke
return (String) getRuntimeIDMethod.invoke(getAsmService(), userID, workflowName);
} catch (final Exception e) {
throw new RuntimeException("could not invoke ASMService.getRuntimeID(String, String)", e);
}
}
Next time that ASM / gUSE is updated, make sure to remove this code.
Diff: