Ticket #1589 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Display @Parameter loading needs to be updated

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b6-legacy
Component: Core Version:
Severity: serious Keywords:
Cc: curtis Blocked By:
Blocking: #1574


Open boats. Run Analyze > Measure. An IJ2 TableDisplay opens showing the ResultsTable. Now run Image > Color > Show LUT As Table. An exception is thrown (below).

The issue is that there are now multiple kinds of displays (more accessible now that results table synchronization is in place). So the active display may be a TableDisplay. And the ShowLUTAsTable plugin expects an @Parameter of the active ImageDisplay where it is set to null. We now need the plugin parameter preprocessing populator to query the active display based upon asking for the specific class of the desired display. All the machinery should be in place to do this.


at imagej.core.commands.display.ShowLUTAsTable.run(ShowLUTAsTable.java:82)
at imagej.command.CommandModule.run(CommandModule.java:161)
at imagej.module.ModuleRunner.run(ModuleRunner.java:159)
at imagej.module.ModuleRunner.call(ModuleRunner.java:121)
at imagej.module.ModuleRunner.call(ModuleRunner.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

Change History

comment:1 Changed 7 years ago by bdezonia

  • Blocking 1574 added

comment:2 Changed 7 years ago by curtis

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

Fixed in 464a83e1.

Note: See TracTickets for help on using tickets.