Closed gselzer closed 2 years ago
I don't see PrefService
anywhere in that stack trace. It looks like a bug in SCIFIO's FileToDatasetConverter
to me...
I don't see
PrefService
anywhere in that stack trace.
Good point, thanks, I may have been too quick to dismiss. DefaultModuleService.load()
uses prefService.get
to get a string value that is passed to the converter, and that value has been wrong in different situations, however I bet you're right that the issue is actually in FileToDatasetConverter
.
I can't reproduce (with scifio-0.42.0.jar
on the classpath). @gselzer what were the datasets you selected in the first script run?
I can't reproduce (with
scifio-0.42.0.jar
on the classpath). @gselzer what were the datasets you selected in the first script run?
@imagejan I think it was two copies of the blobs sample image. I'll be out of the office the rest of the week, though; I can check on Monday
Alright, thanks for the additional details.
I can reproduce as long as the image title looks like a file name (e.g. blobs.gif
), but can't trigger the error when renaming the images to something else (e.g. test
and test-1
) before the first run. So indeed, it might be an issue with FileToDatasetConverter
trying to resolve the persisted values...
Writing the following Python script triggers the following error when running in Fiji's ScriptEditor. The issue comes from within
PrefService
. Note that this error will only appear the second time the script is run, as the first time it is runPrefService
will not have yet cached the inputs from prior runs: