imagej / imagej/imagej-common

Opening image using DefaultDatasetService causes ReflectException

Open
#34 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When attempting to open an image using the DefaultDatasetService, the following exception is thrown:

java.io.IOException: org.scijava.util.ReflectException: No such class: io.scif.config.SCIFIOConfig;
at net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:256)
at ImageScanner.main(ImageScanner.java:11)

Sample code:

DefaultDatasetService dss = new DefaultDatasetService();
try {
dss.open(filename);
}catch ...

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the exception with the sample ImageScanner code, then inspect net.imagej.DefaultDatasetService.open at DefaultDatasetService.java:256 and the referenced io.scif.config.SCIFIOConfig lookup. Done means opening an image through DefaultDatasetService no longer throws the reported ReflectException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.