Ticket #1780 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Cannot load sample images

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b7-ndim-data
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1563

Description

After recent changes I can no longer load any sample images without an exception being thrown. The image loads but does not draw correctly (because the exception aborts the display refresh I believe). Zoomin in afterwards draws okay. The exception is a NPE in the OverlyHarmonizer class.

Change History

comment:1 Changed 6 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

It turns out that OverlayHarmonizer was initializing service references itself internally. The LegacyService did not know these services were required for initialization. It was possible to initialize a service to null. ANd referencing it later caused an NPE.

Fixed with commit c97900f529bacfbbb3ce103c2d29dc5f68361f96

Note: See TracTickets for help on using tickets.