Unable to build a whole slide server in Qupath

I am trying to view an image from Omero web using Qupath. However, this error shows up whenever I open the image in Qupath using the Omero iviewer link:

INFO: Bio-Formats version 6.3.0
INFO: Loaded extension Bio-Formats server options (Bio-Formats 6.3.0) (15 ms)
INFO: Loaded extension Experimental commands (17 ms)
INFO: Loaded extension ImageJ extension (32 ms)
INFO: Loaded extension JPen extension (17 ms)
INFO: Loaded extension OpenCV extensions (3 ms)
INFO: Loaded extension Rich script editor extension (395 ms)
INFO: OpenSlide version 3.4.1
INFO: Selected style: null
INFO: Performing update check...
WARN: No changelog found - will not check for updates
INFO: Starting QuPath with parameters: []
ERROR: Unable to connect to OMERO server
    at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
    at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
    at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
    at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Unknown Source)
    at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
    at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
    at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient.getJSONString(OmeroWebImageServerBuilder.java:357)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient.parseJSON(OmeroWebImageServerBuilder.java:365)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient.loadURLs(OmeroWebImageServerBuilder.java:246)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient.create(OmeroWebImageServerBuilder.java:259)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder.supportLevel(OmeroWebImageServerBuilder.java:160)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder.checkImageSupport(OmeroWebImageServerBuilder.java:140)
    at qupath.lib.images.servers.ImageServerProvider.getServerBuilders(ImageServerProvider.java:172)
    at qupath.lib.images.servers.ImageServerProvider.buildServer(ImageServerProvider.java:220)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2528)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2427)
    at qupath.lib.gui.commands.OpenCommand.run(OpenCommand.java:51)
    at qupath.lib.gui.QuPathGUI.lambda$createCommandAction$53(QuPathGUI.java:3531)
    at org.controlsfx.control.action.Action.handle(Action.java:419)
    at org.controlsfx.control.action.Action.handle(Action.java:64)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.control.MenuItem.fire(MenuItem.java:459)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1380)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(ContextMenuContent.java:1333)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3862)
    at javafx.scene.Scene.processMouseEvent(Scene.java:1849)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2590)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
    at com.sun.glass.ui.View.notifyMouse(View.java:942)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
    at java.base/java.lang.Thread.run(Unknown Source)
WARN: Unable to build server: Unable to build ImageServer for https://hostname.example.com/iviewer/?images=2&dataset=2 (args=[])
ERROR: Open image: Unable to build a whole slide server for https://hostname.example.com/iviewer/?images=2&dataset=2 (Unable to build ImageServer for https://hostname.example.com/iviewer/?images=2&dataset=2 (args=[]))
ERROR: QuPath exception
    at java.base/java.net.URI$Parser.parse(Unknown Source)
    at java.base/java.net.URI.<init>(Unknown Source)
    at java.base/java.net.URI.create(Unknown Source)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient.keepAlive(OmeroWebImageServerBuilder.java:318)
    at qupath.lib.images.servers.omero.OmeroWebImageServerBuilder$OmeroWebClient$1.run(OmeroWebImageServerBuilder.java:223)
    at java.base/java.util.TimerThread.mainLoop(Unknown Source)
    at java.base/java.util.TimerThread.run(Unknown Source)
ERROR: Unable to build whole slide server - check your classpath for a suitable library (e.g. OpenSlide, BioFormats)
	
ERROR: /home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-swing-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/reactfx-2.0-M5.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jfxtras-menu-10.0-r1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/wellbehavedfx-0.3.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-controls-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/groovy-2.5.8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jpen-2-150301.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-controls-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-base-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-web-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/failureaccess-1.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-processing-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/bioformats_package-6.3.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/flowless-0.6.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-swing-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/commons-math3-3.6.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-core-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jpen-2-150301-natives-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-graphics-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/guava-28.1-jre.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-media-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/logback-classic-1.2.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/gson-2.8.6.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-graphics-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-openslide-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-gui-fx-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-base-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-omero-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/groovy-jsr223-2.5.8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openslide-3.4.1_2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/opencv-4.1.2-1.5.2-linux-x86_64.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/logback-core-1.2.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-web-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-core-processing-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jts-core-1.16.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/controlsfx-11.0.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javacpp-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/ij-1.52r.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/slf4j-api-1.7.25.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-pen-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-script-editor-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/richtextfx-0.10.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openslide-3.4.1_2-natives-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openblas-0.3.7-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/undofx-2.1.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-experimental-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-bioformats-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jfxtras-common-10.0-r1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openblas-0.3.7-1.5.2-linux-x86_64.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/opencv-4.1.2-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-media-13.0.1-linux.jar
ERROR: QuPath exception
    at qupath.lib.images.servers.ImageServerProvider.buildServer(ImageServerProvider.java:243)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2528)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2427)
    at qupath.lib.gui.commands.OpenCommand.run(OpenCommand.java:51)
    at qupath.lib.gui.QuPathGUI.lambda$createCommandAction$53(QuPathGUI.java:3531)
    at org.controlsfx.control.action.Action.handle(Action.java:419)
    at org.controlsfx.control.action.Action.handle(Action.java:64)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.control.MenuItem.fire(MenuItem.java:459)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1380)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(ContextMenuContent.java:1333)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3862)
    at javafx.scene.Scene.processMouseEvent(Scene.java:1849)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2590)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
    at com.sun.glass.ui.View.notifyMouse(View.java:942)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
    at java.base/java.lang.Thread.run(Unknown Source)
ERROR: Open image: Illegal character in query at index 94: https://hostname.example.com/iviewer/?images=2&dataset=undefined&x=19817&y=9792&zm=10&c=1|0:255$FF0000,2|0:255$00FF00,3|0:255$0000FF&m=c&maps=[{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}},{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}},{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}}]
INFO: Preferences have been reset
INFO: Preferences have been reset
ERROR: Unable to build whole slide server - check your classpath for a suitable library (e.g. OpenSlide, BioFormats)
	
ERROR: /home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-swing-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/reactfx-2.0-M5.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jfxtras-menu-10.0-r1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/wellbehavedfx-0.3.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-controls-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/groovy-2.5.8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jpen-2-150301.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-controls-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-base-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-web-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/failureaccess-1.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-processing-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/bioformats_package-6.3.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/flowless-0.6.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-swing-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/commons-math3-3.6.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-core-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jpen-2-150301-natives-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-graphics-13.0.1-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/guava-28.1-jre.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-media-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/logback-classic-1.2.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/gson-2.8.6.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-graphics-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-openslide-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-gui-fx-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-base-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-omero-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/groovy-jsr223-2.5.8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openslide-3.4.1_2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/opencv-4.1.2-1.5.2-linux-x86_64.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/logback-core-1.2.3.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-web-13.0.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-core-processing-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jts-core-1.16.1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/controlsfx-11.0.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javacpp-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/ij-1.52r.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/slf4j-api-1.7.25.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-pen-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-script-editor-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/richtextfx-0.10.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openslide-3.4.1_2-natives-linux.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openblas-0.3.7-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/undofx-2.1.0.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-experimental-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/qupath-extension-bioformats-0.2.0-m8.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/jfxtras-common-10.0-r1.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/openblas-0.3.7-1.5.2-linux-x86_64.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/opencv-4.1.2-1.5.2.jar:/home/lea/Downloads/QuPath-0.2.0-m8/lib/app/javafx-media-13.0.1-linux.jar
ERROR: QuPath exception
    at qupath.lib.images.servers.ImageServerProvider.buildServer(ImageServerProvider.java:243)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2528)
    at qupath.lib.gui.QuPathGUI.openImage(QuPathGUI.java:2427)
    at qupath.lib.gui.commands.OpenCommand.run(OpenCommand.java:51)
    at qupath.lib.gui.QuPathGUI.lambda$createCommandAction$53(QuPathGUI.java:3531)
    at org.controlsfx.control.action.Action.handle(Action.java:419)
    at org.controlsfx.control.action.Action.handle(Action.java:64)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.control.MenuItem.fire(MenuItem.java:459)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1380)
    at com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(ContextMenuContent.java:1333)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3862)
    at javafx.scene.Scene.processMouseEvent(Scene.java:1849)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2590)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
    at com.sun.glass.ui.View.notifyMouse(View.java:942)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
    at java.base/java.lang.Thread.run(Unknown Source)

From your error message, it looks like the URL you provide is this:

https://hostname.example.com/iviewer/?images=2&dataset=undefined&x=19817&y=9792&zm=10&c=1|0:255$FF0000,2|0:255$00FF00,3|0:255$0000FF&m=c&maps=[{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}},{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}},{"inverted":{"enabled":false},"quantization":{"family":"linear","coefficient":1}}]

This doesn’t look like it points to a valid image, or at least not in a form that QuPath can handle. The following URL should work:

https://idr.openmicroscopy.org/webclient/img_detail/1920093/?dataset=369

or really any URL for an RGB image hosted through IDR, although I haven’t checked many.

You could try URLs in a similar format (in this obtained by finding the image in a web browser, and then copying and pasting the address).

Note that it uses the OMERO web API and doesn’t support all image types (it works with JPEG-compressed RGB images, not raw pixels), although that should be ok for most brightfield histology data. However, it is quite a long time since I wrote the QuPath-OMERO code, and I’m not sure quite how well it works more generally, or for non-public images. I plan that it should be improved, but at the moment I don’t have enough need/time to work on it myself… nor, indeed, do I have an OMERO instance hosting my images that I can use for development.

1 Like

I tried opening a jpg file using these links:

https://hostname.example.com/webclient/img_detail/52/?dataset=52

https://hostname.example.com/iviewer/?images=52&dataset=52

but I am still getting the same error.

Where did these links come from? Did you log into OMERO and copy them from the address bar of the web browser, or get them from some other source?

Did you try it with IDR or the link I suggested?

I logged into OMERO and copied the link from the address bar. The link that you posted worked but I want the images to be hosted by my own server. There should be a login prompt before an image can be viewed through Qupath.