NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1991 (closed defect: moved)

Opened 2013-08-23T14:47:20-05:00

Overlay serialization is broken

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0.0
Component: Data Model Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1012

Description

Overlays currently can be serialized and restored via a writeExternal() and readExternal() approach. However this approach requires that the serialized object has a no arg constructor. Currently the Data constructors all require at least 1 argument to the constructor. Until recently we were passing null as an argument safely. But with recent changes to the data type hierarchy this fake no arg approach fails and the test code in TestBinaryMaskOverlay began failing. I have commented out this test for now as we are not sure how we want to handle serialization going forward. We should figure out how we will support serialization of overlays and restore the commented out test,

Change History

comment:1 Changed 2014-05-06T08:34:31-05:00 by curtis

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