Ticket #1589 (closed defect: fixed)
Opened 2012-12-05T14:11:12-06:00
Last modified 2012-12-05T14:24:24-06:00
Display @Parameter loading needs to be updated
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | curtis | Blocked By: | |
Blocking: | #1574 |
Description
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.
java.lang.NullPointerException
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)