Task #10171 (closed)
Bug: NPE on saving metadata change
Reported by: | mtbcarroll | Owned by: | jburel |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
In dev_4_4 Insight's metadata view I edit the name of an image, then, without saving, click another thumbnail in the data browser. A dialogue asks if I want to save my changes. I click "yes" and get the following stack trace,
java.lang.Exception: Abnormal termination due to an uncaught exception.
java.lang.NullPointerException?
at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerModel?.isSameSelection(MetadataViewerModel?.java:1095)
at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerComponent?.onDataSave(MetadataViewerComponent?.java:558)
at org.openmicroscopy.shoola.agents.metadata.DataSaver?.handleResult(DataSaver?.java:127)
at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:90)
at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor?$1.run(BatchCallMonitor?.java:124)
at java.awt.event.InvocationEvent?.dispatch(InvocationEvent?.java:209)
at java.awt.EventQueue?.dispatchEventImpl(EventQueue?.java:702)
at java.awt.EventQueue?.access$400(EventQueue?.java:82)
at java.awt.EventQueue?$2.run(EventQueue?.java:663)
at java.awt.EventQueue?$2.run(EventQueue?.java:661)
at java.security.AccessController?.doPrivileged(Native Method)
at java.security.AccessControlContext?$1.doIntersectionPrivilege(AccessControlContext?.java:87)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:672)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:296)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:211)
at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:201)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:196)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:188)
at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)
Abnormal termination due to an uncaught exception.
java.lang.NullPointerException?
at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerModel?.isSameSelection(MetadataViewerModel?.java:1095)
at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerComponent?.onDataSave(MetadataViewerComponent?.java:558)
at org.openmicroscopy.shoola.agents.metadata.DataSaver?.handleResult(DataSaver?.java:127)
at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:90)
at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor?$1.run(BatchCallMonitor?.java:124)
at java.awt.event.InvocationEvent?.dispatch(InvocationEvent?.java:209)
at java.awt.EventQueue?.dispatchEventImpl(EventQueue?.java:702)
at java.awt.EventQueue?.access$400(EventQueue?.java:82)
at java.awt.EventQueue?$2.run(EventQueue?.java:663)
at java.awt.EventQueue?$2.run(EventQueue?.java:661)
at java.security.AccessController?.doPrivileged(Native Method)
at java.security.AccessControlContext?$1.doIntersectionPrivilege(AccessControlContext?.java:87)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:672)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:296)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:211)
at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:201)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:196)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:188)
at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)
Exception in thread "AWT-EventQueue?-0"
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl?.showErrorDialog(UserNotifierImpl?.java:189)
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl?.notifyError(UserNotifierImpl?.java:287)
at org.openmicroscopy.shoola.env.AbnormalExitHandler?.doTermination(AbnormalExitHandler?.java:146)
at org.openmicroscopy.shoola.env.AbnormalExitHandler?.terminate(AbnormalExitHandler?.java:84)
at org.openmicroscopy.shoola.env.AWTExceptionHanlder.handle(AWTExceptionHanlder.java:99)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.awt.EventDispatchThread?.handleException(EventDispatchThread?.java:412)
at java.awt.EventDispatchThread?.processException(EventDispatchThread?.java:318)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:312)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:211)
at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:201)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:196)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:188)
at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)
Change History (2)
comment:1 Changed 12 years ago by jburel
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed 12 years ago by jburel
see #10171
duplicate see #10164