Issue9

Title ImageJ - "Error while importing this image: null"
Priority bug Status resolved
Superseder Nosy List admin
Assigned To
Keywords ImageJ extension

Created on 2016-01-22.09:08:13 by admin, last changed by admin.

Messages
msg31 (view) Author: admin Date: 2016-01-22.09:08:13
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-01-22.08:08:13]

Reported by John Roberts on 2016-01-22:

*I can browse Orthanc with the File->Import->Orthanc option.  I see the thumbnails.
Clicking the "Open" button on a series generates an error message, "Error while importing this image: null".  
I'm using a test set of images I had on hand.  It's possible my images are non-compliant in some fashion.  However, the Orthanc DICOM Web viewer plugin has no problems displaying them.  Nor does Orthanc seem to have any trouble receiving and cataloging them.  If I get a chance, I'll import some other series into Orthanc and try the ImageJ import process again.*

The problem is inside "com.orthancserver.OrthancConnection.ReadImage()". The JRE is not be able to read PNG 16bit images. Maybe this problem only appears with OpenJDK and not Oracle's JRE.
msg32 (view) Author: admin Date: 2016-04-15.11:13:19
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-04-15.09:13:19]

Fixed by the following changelist:
https://hg.orthanc-server.com/orthanc-imagej/changeset/1411a4ecd11384dfd424deb2d8cf23a17ccf62fb
History
Date User Action Args
2026-07-29 15:51:18admincreate