Task #5579 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: Exception on thumbnail label load for big image
Reported by: | cxallan | Owned by: | jburel |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-02 (13) |
Description
When importing an SVS file which uses the "FS Lite" mechanism via Insight's importer when the thumbnail is displayed upon successful import the following exception is thrown:
java.lang.Exception: Abnormal termination due to an uncaught exception. java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:178) at org.openmicroscopy.shoola.agents.fsimporter.util.ThumbnailLabel.setThumbnail(ThumbnailLabel.java:121) at org.openmicroscopy.shoola.agents.fsimporter.util.ThumbnailLabel.setData(ThumbnailLabel.java:187) at org.openmicroscopy.shoola.agents.fsimporter.util.FileImportComponent.setStatus(FileImportComponent.java:790) at org.openmicroscopy.shoola.agents.fsimporter.view.ImporterUIElement.setImportedFile(ImporterUIElement.java:774) at org.openmicroscopy.shoola.agents.fsimporter.view.ImporterComponent.setImportedFile(ImporterComponent.java:223) at org.openmicroscopy.shoola.agents.fsimporter.ImagesImporter.update(ImagesImporter.java:120) at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:75) at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:617) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Abnormal termination due to an uncaught exception. java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:178) at org.openmicroscopy.shoola.agents.fsimporter.util.ThumbnailLabel.setThumbnail(ThumbnailLabel.java:121) at org.openmicroscopy.shoola.agents.fsimporter.util.ThumbnailLabel.setData(ThumbnailLabel.java:187) at org.openmicroscopy.shoola.agents.fsimporter.util.FileImportComponent.setStatus(FileImportComponent.java:790) at org.openmicroscopy.shoola.agents.fsimporter.view.ImporterUIElement.setImportedFile(ImporterUIElement.java:774) at org.openmicroscopy.shoola.agents.fsimporter.view.ImporterComponent.setImportedFile(ImporterComponent.java:223) at org.openmicroscopy.shoola.agents.fsimporter.ImagesImporter.update(ImagesImporter.java:120) at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:75) at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:617) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Exception in thread "AWT-EventQueue-0" at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:183) at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:272) at org.openmicroscopy.shoola.env.AbnormalExitHandler.doTermination(AbnormalExitHandler.java:138) at org.openmicroscopy.shoola.env.AbnormalExitHandler.terminate(AbnormalExitHandler.java:83) at org.openmicroscopy.shoola.env.AWTExceptionHanlder.handle(AWTExceptionHanlder.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:392) at java.awt.EventDispatchThread.processException(EventDispatchThread.java:298) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:288) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Change History (2)
comment:1 Changed 13 years ago by jburel
- Remaining Time set to 0.1
- Sprint set to 2011-06-02 (13)
- Status changed from new to accepted
comment:2 Changed 13 years ago by jburel <j.burel@…>
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [a26b3ad6c42ddd6af83421ab07f435749be5c162/ome.git] on branch develop) Fix NPE if no image to generate the icon (close #5579)