... double click on the image or not. As there are some asynchronous processes when start the viewer, you should call a method only when it is available. If you have to use another viewer with the same namespace, call the Viewer.noConflict static method to revert to it.