Skip to content

CommandService.run(...).get() crashes when used in UI-Thread #353

@maarzt

Description

@maarzt

Many new ImageJ2 / FIJI developers run into this bug. So we should fix it soon:

CommandService.run(...).get() blocks, when used in the EDT (UI-Thread):

final Future< CommandModule > future = command.run( AnyCommand.class, false );
Object result = future.get().getOutput("result"); // blocks forever

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions