-
Notifications
You must be signed in to change notification settings - Fork 3
Q&A: How to solve java.lang.NullPointerException in CiliaQ Preparator?
Answer provided on 22nd of December 2022.
When running CiliaQ Preparator, I get the following error message:
java.lang.NullPointerException
at ciliaQ_Prep_jnh.CiliaQPrepMain.run(CiliaQPrepMain.java:273)
at ij.IJ.runUserPlugIn(IJ.java:217)
at ij.IJ.runPlugIn(IJ.java:181)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:750)
CiliaQ Preparator can only process an image which, in its state loaded into the plugin, is saved on the hard drive. Since CiliaQ Preparator will save output files automatically at the location where the input image is stored it cannot handle an image that is not stored on the hard drive since it does not have a "file location" property. To avoid this error make sure that the file you are running in CiliaQ Preparator is saved on the hard drive or only use the multi-task manager for selecting input files:
.
Copyright (C) 2017-2024: Jan N. Hansen.
CiliaQ is part of the following publication: Jan N. Hansen, Sebastian Rassmann, Birthe Stueven, Nathalie Jurisch-Yaksi, Dagmar Wachten. CiliaQ: a simple, open-source software for automated quantification of ciliary morphology and fluorescence in 2D, 3D, and 4D images. Eur. Phys. J. E 44, 18 (2021). https://doi.org/10.1140/epje/s10189-021-00031-y