Ticket #1772 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Legacy Create Mask plugin throws exception in IJ1

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

Open Boats
Threshold it
Run Edit > Selection > Create Mask

An exception is thrown (see below) in an IJ1 log window. The command appears to work however.

java.lang.NullPointerException

at ij.plugin.Duplicator.cropOverlay(Duplicator.java:369)
at ij.plugin.Duplicator.duplicateImage(Duplicator.java:126)
at ij.plugin.Duplicator.run(Duplicator.java:67)
at ij.plugin.Duplicator.run(Duplicator.java:49)
at ij.IJ.runPlugIn(IJ.java:158)
at ij.Executer.runCommand(Executer.java:127)
at ij.Executer.run(Executer.java:64)
at ij.IJ.run(IJ.java:251)
at ij.plugin.Selection.createMaskFromThreshold(Selection.java:559)
at ij.plugin.Selection.createMask(Selection.java:530)
at ij.plugin.Selection.run(Selection.java:52)
at ij.IJ.runPlugIn(IJ.java:158)
at ij.IJ.runPlugIn(IJ.java:141)
at imagej.legacy.plugin.LegacyCommand$LegacyCommandThread.run(LegacyCommand.java:199)

Change History

comment:1 Changed 7 years ago by bdezonia

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

Fixed with commit 8055f68950b55ab447b131a3c38221cff32020d4

Note: See TracTickets for help on using tickets.