Task #5319 (closed)
Opened 13 years ago
Closed 13 years ago
BUG: View image from script
Reported by: | wmoore | Owned by: | jburel |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | saloynton |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-05-19 (12) |
Description (last modified by wmoore)
If a script creates a new image and returns it, when you click the 'View' link in Insight Activities dialog you get an error and Insight exits straight away (no time to see stack trace etc).
Interesting that when I restart Insight, I am logged into a different group!
Easiest test is util_scripts/Channel_Offsets.py - just choose a single image as input - use defaults for all other values.
Ahh - I think I managed to get the error:
java.lang.Exception: Abnormal termination due to an uncaught exception. java.lang.NullPointerException at org.openmicroscopy.shoola.agents.imviewer.view.ImViewerModel.getResolutionLevels(ImViewerModel.java:2555) at org.openmicroscopy.shoola.agents.imviewer.view.ImViewerModel.isBigImage(ImViewerModel.java:1106) at org.openmicroscopy.shoola.agents.imviewer.view.ImViewerComponent.isBigImage(ImViewerComponent.java:2960) at org.openmicroscopy.shoola.agents.imviewer.actions.ChannelMovieAction.onStateChange(ChannelMovieAction.java:91) at org.openmicroscopy.shoola.agents.imviewer.actions.ViewerAction.stateChanged(ViewerAction.java:126) at org.openmicroscopy.shoola.util.ui.component.AbstractComponent.fireStateChange(AbstractComponent.java:103) at org.openmicroscopy.shoola.agents.imviewer.view.ImViewerComponent.activate(ImViewerComponent.java:612) at org.openmicroscopy.shoola.agents.imviewer.ImViewerAgent.handleViewObjectEvent(ImViewerAgent.java:294) at org.openmicroscopy.shoola.agents.imviewer.ImViewerAgent.eventFired(ImViewerAgent.java:454) at org.openmicroscopy.shoola.env.event.EventBusImpl.dispatch(EventBusImpl.java:90) at org.openmicroscopy.shoola.env.event.EventBusImpl.post(EventBusImpl.java:217)
Change History (5)
comment:1 Changed 13 years ago by wmoore
- Description modified (diff)
comment:2 Changed 13 years ago by jburel
comment:3 Changed 13 years ago by jburel
- Remaining Time set to 0.15
- Sprint set to 2011-05-19 (12)
This is part of the big image support, I need to update the client now that the methods have been implemented server side
comment:4 Changed 13 years ago by jburel
- Status changed from new to accepted
comment:5 Changed 13 years ago by jburel <j.burel@…>
- Remaining Time changed from 0.15 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [f9ce880e3aa4d784938124500c67ab2c6ce89462/ome.git] on branch develop) Fix NPE when launching viewer from script result (close #5319)
Seems to have 2 problems here