You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that DynamicCommand extends DefaultMutableModule but not CommandModule leads to CommandService.run() returning null, as explained in the [DEBUG] output here:
So the workaround is to get the CommandInfo and call ModuleService#run() on it to get the Future<Module>... but is there any chance to make it extend CommandModule but still implement the required interface MutableModulewithout breaking backwards compatibility?
The text was updated successfully, but these errors were encountered:
The fact that
DynamicCommand
extendsDefaultMutableModule
but notCommandModule
leads toCommandService.run()
returningnull
, as explained in the[DEBUG]
output here:scijava-common/src/main/java/org/scijava/command/DefaultCommandService.java
Lines 345 to 363 in 80d0a38
So the workaround is to get the
CommandInfo
and callModuleService#run()
on it to get theFuture<Module>
... but is there any chance to make it extendCommandModule
but still implement the required interfaceMutableModule
without breaking backwards compatibility?The text was updated successfully, but these errors were encountered: