Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException when third-party update site not installed #1

Open
imagejan opened this issue Jun 25, 2021 · 1 comment
Open

Comments

@imagejan
Copy link

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.

@haesleinhuepf
Copy link
Member

Hey Jan,

that's a good point. Can you confirm that the bug is NOT happening if the clijx-assistant-extensions update site is NOT enabled?

Thanks!

Best,
Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants