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

Failed using ImageJ-Matlab to start ImageJ in headless mode #27

Open
rmd13 opened this issue Jul 12, 2022 · 0 comments
Open

Failed using ImageJ-Matlab to start ImageJ in headless mode #27

rmd13 opened this issue Jul 12, 2022 · 0 comments

Comments

@rmd13
Copy link

rmd13 commented Jul 12, 2022

Hi, I am using ImageJ-Matlab to start ImageJ2 from matlab by the matlab code

open_imageJ = false; % = true works and shows a Fiji panel, but false does not work
ImageJ(open_imageJ)

The non-headless mode runs OK when open_imageJ = true. .Although it shows a message box saying “cannot find java script engine”, the Fiji panel shows afterwards.

But if change open_imageJ to false, it shows the error after the same message box was shown :

[ERROR] Cannot create plugin: org.scijava.plugins.scripting.javascript.JavaScriptScriptLanguage

Error using ImageJ2 (line 99)
Java exception occurred:
java.lang.NullPointerException

	at net.imagej.matlab.ImageJMATLAB.disableIJExit(ImageJMATLAB.java:247)

	at net.imagej.matlab.ImageJMATLAB.launch(ImageJMATLAB.java:156)

	at net.imagej.matlab.ImageJMATLAB.start(ImageJMATLAB.java:105)
 
log4j:WARN No appenders could be found for logger (loci.formats.ClassList).
log4j:WARN Please initialize the log4j system properly.
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

1 participant