Skip to content

NullPointerException when third-party update site not installed #1

@imagejan

Description

@imagejan

When you run the CLIJ2 assistant (Plugins › ImageJ on GPU (CLIJ2) › Start CLIJ2-Assistant), don't have the ImageJ 3D Suite update site active, and then right-click on the canvas of the active image, the following gets logged to the console:

[ERROR] Cannot create plugin: class='net.haesleinhuepf.clijx.imagej3dsuite.ImageJ3DSuiteConnectedComponentsLabeling', name='CLIJx_imageJ3DSuiteConnectedComponentsLabeling', priority=0.0, enabled=true, pluginType=CLIJMacroPlugin
Exception in thread "Run$_AWT-EventQueue-0" java.lang.NullPointerException

... and no context menu appears.

Maybe the failure of PluginService to create a plugin instance can be handled more gracefully, without disrupting the right-click context menu.

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