Ticket #408 (closed defect: fixed)
Opened 2009-07-22T15:13:06-05:00
Last modified 2010-09-02T15:37:45-05:00
Exception when opening files with > 512 series in ImageJ
Reported by: | melissa | Owned by: | melissa |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | plugins | Severity: | serious |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Opening data/incell/brian/2008.03.16.13.04.12/2008.03.16.13.04.12.xdce (which has 3840 series) in ImageJ produces the following exception:
java.lang.ArrayIndexOutOfBoundsException: 512 at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:906) at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:816) at java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:636) at java.awt.Container.preferredSize(Container.java:1558) at java.awt.Container.getPreferredSize(Container.java:1543) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:690) at java.awt.Container.preferredSize(Container.java:1558) at java.awt.Container.getPreferredSize(Container.java:1543) at java.awt.Window.pack(Window.java:487) at loci.plugins.util.WindowTools.addScrollBars(WindowTools.java:96) at loci.plugins.importer.SeriesDialog.showDialog(SeriesDialog.java:160) at loci.plugins.importer.Importer.run(Importer.java:376) at loci.plugins.LociImporter.run(LociImporter.java:77) at ij.IJ.runUserPlugIn(IJ.java:175) at ij.IJ.runPlugIn(IJ.java:142) at ij.Executer.runCommand(Executer.java:122) at ij.Executer.run(Executer.java:59) at java.lang.Thread.run(Thread.java:613)
This is with Java 1.5.0_16 on Mac OS X. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5107980.
Change History
comment:1 Changed 2009-09-18T11:35:50-05:00 by melissa
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 2010-09-02T15:37:45-05:00 by curtis
r6874 improves the support for large numbers of series further. Before, datasets with many thousands of series had performance issues with the Bio-Formats Importer plugin, but they should be reasonably importable now. The general approach is to prompt for a single series list string, rather than using one checkbox per series, when the number of series is too large (200+).
(In [5481]) An exception is no longer thrown if there are more than 512 series. Closes #408.