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 #689 (closed defect: fixed)

Opened 2011-07-26T11:01:35-05:00

Last modified 2012-06-25T13:42:54-05:00

Plugins > New > Macro throws an exception

Reported by: afraser Owned by: curtis
Priority: minor Milestone: imagej2-b3-headless
Component: Legacy Compatibility Version:
Severity: cosmetic Keywords:
Cc: Blocked By:
Blocking:

Description

from the menu:
Plugins > New > Macro throws an exception when there is no display open.
[WARN ] No outputs found - ImageJ 1.x plugin threw exception
java.lang.RuntimeException: Macro canceled

at ij.IJ.abort(IJ.java:1736)
at ij.IJ.getImage(IJ.java:1299)
at imagej.legacy.plugin.LegacyPlugin.updateDisplaysFromImagePluses(LegacyPlugin.java:183)
at imagej.legacy.plugin.LegacyPlugin.run(LegacyPlugin.java:123)
at imagej.ext.plugin.PluginModule.run(PluginModule.java:159)
at imagej.ext.module.ModuleRunner.run(ModuleRunner.java:88)
at imagej.ext.module.ModuleService$1.run(ModuleService.java:168)
at java.lang.Thread.run(Thread.java:680)

Change History

comment:1 Changed 2011-10-13T13:51:15-05:00 by bdezonia

  • Owner changed from curtis to bdezonia
  • Component changed from ij-ext to ij-plugins

comment:2 Changed 2011-10-13T13:55:07-05:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Component changed from ij-plugins to ij-legacy

comment:3 Changed 2012-02-27T11:00:56-06:00 by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:4 Changed 2012-04-23T16:20:11-05:00 by bdezonia

Does not seem to happen with code after beta1 and shortly before beta2

comment:5 Changed 2012-06-25T13:42:54-05:00 by curtis

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

Can no longer reproduce.