Task #3842 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: insight re-loading icon
Reported by: | jamoore | Owned by: | jburel |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-01-13 (3) |
Description
I added many, many tags to a dataset. Gui frozen on tag selection. Checking the stack trace, it's loading icons. (See attachment and other comment)
Attachments (1)
Change History (11)
Changed 13 years ago by jmoore
comment:1 Changed 13 years ago by jmoore
comment:2 Changed 13 years ago by jmoore
When opening the tag wizard with the many tags, I see this stack trace:
"AWT-EventQueue-0" prio=6 tid=131868000 nid=0x146dc2000 runnable [146dbf000] java.lang.Thread.State: RUNNABLE at java.util.zip.ZipFile.getEntry(Native Method) at java.util.zip.ZipFile.getEntry(ZipFile.java:149) - locked <10a96ac50> (a java.util.jar.JarFile) at java.util.jar.JarFile.getEntry(JarFile.java:208) at java.util.jar.JarFile.getJarEntry(JarFile.java:191) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:757) at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:735) at sun.misc.URLClassPath.findResource(URLClassPath.java:146) at java.net.URLClassLoader$2.run(URLClassLoader.java:385) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:382) at java.lang.ClassLoader.getResource(ClassLoader.java:1003) at java.lang.Class.getResource(Class.java:2074) at org.openmicroscopy.shoola.util.ui.IconFactory.getIcon(IconFactory.java:87) at org.openmicroscopy.shoola.util.ui.IconManager.getIcon(IconManager.java:752) at org.openmicroscopy.shoola.util.ui.IconManager.getIcon(IconManager.java:735) at org.openmicroscopy.shoola.agents.util.DataObjectListCellRenderer.getListCellRendererComponent(DataObjectListCellRenderer.java:185) at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1344) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1294) at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:561) at javax.swing.JComponent.getPreferredSize(JComponent.java:1634) at javax.swing.JList.getPreferredScrollableViewportSize(JList.java:2412) at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:75) at java.awt.Container.preferredSize(Container.java:1599) - locked <10ab9bd08> (a java.awt.Component$AWTTreeLock) at java.awt.Container.getPreferredSize(Container.java:1584) at javax.swing.JComponent.getPreferredSize(JComponent.java:1636) at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:475) at java.awt.Container.preferredSize(Container.java:1599) - locked <10ab9bd08> (a java.awt.Component$AWTTreeLock) at java.awt.Container.getPreferredSize(Container.java:1584) at javax.swing.JComponent.getPreferredSize(JComponent.java:1636) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:702) - locked <10ab9bd08> (a java.awt.Component$AWTTreeLock) at java.awt.Container.preferredSize(Container.java:1599) - locked <10ab9bd08> (a java.awt.Component$AWTTreeLock)
comment:3 Changed 13 years ago by jburel
how many tags?
comment:4 Changed 13 years ago by jmoore
Many thousands.
comment:5 Changed 13 years ago by jburel
Ok, nothing built to support such number. Similar problem probably in any client
comment:6 Changed 13 years ago by jmoore
Sure, but it shouldn't hang because of Icon loading, if that is the case. I was thinking this might be another case of https://trac.openmicroscopy.org.uk/shoola/changeset/7624 which would just introduce unnecessary overhead.
comment:7 Changed 13 years ago by jburel
Agree
I will review the renderer using icons.
comment:8 Changed 13 years ago by jburel
- Remaining Time set to 0.25
- Sprint set to 2011-01-27 (24)
comment:9 Changed 13 years ago by jburel
- Sprint changed from 2011-01-27 (24) to 2011-01-13 (23)
- Status changed from new to assigned
wrong iteration
comment:10 Changed 13 years ago by jburel
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from assigned to closed
see Insight:r7911
for a long period
then