Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9460 (new)

Opened 12 years ago

Last modified 12 years ago

limitation for ImageJ plugin in opening an image

Reported by: saloynton Owned by: jburel
Priority: minor Milestone: Unscheduled
Component: Insight Version: n.a.
Keywords: n.a. Cc: ux@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The following exception means that the image is not owned by the user and does not seem to be in that group.

The problem was found via clicking on the image id link in the right hand panel while working with insight via the imagej plugin tool.

See ticket #9338 for the background.

loci.formats.FormatException: Could not find Image with ID=212 in group 'null'.
	at loci.ome.io.OmeroReader.initFile(OmeroReader.java:317)
	at loci.formats.FormatReader.setId(FormatReader.java:1105)
	at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:482)
	at loci.plugins.in.ImportProcess.execute(ImportProcess.java:146)
	at loci.plugins.in.Importer.showDialogs(Importer.java:141)
	at loci.plugins.in.Importer.run(Importer.java:79)
	at loci.plugins.LociImporter.run(LociImporter.java:81)
	at ij.IJ.runUserPlugIn(IJ.java:185)
	at ij.IJ.runPlugIn(IJ.java:152)
	at ij.IJ.runPlugIn(IJ.java:141)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.runAsImageJ(TaskBarManager.java:390)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.handleViewInPluginEvent(TaskBarManager.java:410)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.eventFired(TaskBarManager.java:1033)
	at org.openmicroscopy.shoola.env.event.EventBusImpl.dispatch(EventBusImpl.java:91)
	at org.openmicroscopy.shoola.env.event.EventBusImpl.post(EventBusImpl.java:222)
	at org.openmicroscopy.shoola.agents.metadata.editor.PropertiesUI.propertyChange(PropertiesUI.java:1518)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at java.awt.Component.firePropertyChange(Component.java:8248)
	at org.openmicroscopy.shoola.util.ui.omeeditpane.OMEWikiComponent.onSelection(OMEWikiComponent.java:354)
	at org.openmicroscopy.shoola.util.ui.omeeditpane.OMEEditPane.actionPerformed(OMEEditPane.java:170)
	at javax.swing.Timer.fireActionPerformed(Timer.java:291)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
	at java.awt.EventQueue.access$000(EventQueue.java:85)
	at java.awt.EventQueue$1.run(EventQueue.java:643)
	at java.awt.EventQueue$1.run(EventQueue.java:641)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:652)
	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)
loci.formats.FormatException: Could not find Image with ID=212 in group 'null'.
	at loci.ome.io.OmeroReader.initFile(OmeroReader.java:317)
	at loci.formats.FormatReader.setId(FormatReader.java:1105)
	at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:482)
	at loci.plugins.in.ImportProcess.execute(ImportProcess.java:146)
	at loci.plugins.in.Importer.showDialogs(Importer.java:141)
	at loci.plugins.in.Importer.run(Importer.java:79)
	at loci.plugins.LociImporter.run(LociImporter.java:81)
	at ij.IJ.runUserPlugIn(IJ.java:185)
	at ij.IJ.runPlugIn(IJ.java:152)
	at ij.IJ.runPlugIn(IJ.java:141)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.runAsImageJ(TaskBarManager.java:390)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.handleViewInPluginEvent(TaskBarManager.java:410)
	at org.openmicroscopy.shoola.env.ui.TaskBarManager.eventFired(TaskBarManager.java:1033)
	at org.openmicroscopy.shoola.env.event.EventBusImpl.dispatch(EventBusImpl.java:91)
	at org.openmicroscopy.shoola.env.event.EventBusImpl.post(EventBusImpl.java:222)
	at org.openmicroscopy.shoola.agents.metadata.editor.PropertiesUI.propertyChange(PropertiesUI.java:1518)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at java.awt.Component.firePropertyChange(Component.java:8248)
	at org.openmicroscopy.shoola.util.ui.omeeditpane.OMEWikiComponent.onSelection(OMEWikiComponent.java:354)
	at org.openmicroscopy.shoola.util.ui.omeeditpane.OMEEditPane.actionPerformed(OMEEditPane.java:170)
	at javax.swing.Timer.fireActionPerformed(Timer.java:291)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
	at java.awt.EventQueue.access$000(EventQueue.java:85)
	at java.awt.EventQueue$1.run(EventQueue.java:643)
	at java.awt.EventQueue$1.run(EventQueue.java:641)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:652)
	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)

Change History (3)

comment:1 Changed 12 years ago by jburel

When using insight as a standalone app, the following is logged. When only is id is submitted, we could fist check if the id is valid in that group context, if not do not start the default viewer.

Data Retrieval Failure: java.lang.Exception: No data available.
	at org.openmicroscopy.shoola.agents.imviewer.DataLoader.handleNullResult(DataLoader.java:142)
	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:87)
	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:499)

comment:2 Changed 12 years ago by jmoore

should this bin 4.4.2?

comment:3 Changed 12 years ago by jburel

Yes this actually a larger issue: how to handle link like "image ID: 5" when the image is not owned by the user or in the group currently logged in. To be related to image-image link topic.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.73597 sec.)

We're Hiring!