I am using Ubunto 16.4. I just installed the IGV with following commands sudo apt-get update sudo apt-install igv
When I try to run it by running the command
igv, following error is shown
ERROR [2017-10-20 23:52:04,624] [DefaultExceptionHandler.java:49] [main] Unhandled exception java.lang. llegalArgumentException: Width (0) and height (0) must be non-zero at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102) at java.awt.Image.getScaledInstance(Image.java:174 at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
INFO [2017-10-20 23:52:04,641] [ShutdownThread.java:51] [Thread-2] Shutting down
at java.awt.Image.getScaledInstance(Image.java:174)
at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1140)
at org.broad.igv.ui.IGV.createHandCursor(IGV.java:1163)
at org.broad.igv.ui.IGV.<init>(IGV.java:275)
at org.broad.igv.ui.IGV.createInstance(IGV.java:181)
at org.broad.igv.ui.Main.open(Main.java:238)
at org.broad.igv.ui.Main.main(Main.java:85)
ERROR [2017-10-20 23:52:04,649] [DefaultExceptionHandler.java:49] [Thread-2] Unhandled exception
java.lang.NullPointerException
at org.broad.igv.ui.IGV.getTrackPanels(IGV.java:1346)
at org.broad.igv.ui.IGV.getAllTracks(IGV.java:2035)
at org.broad.igv.ui.ShutdownThread.runS(ShutdownThread.java:56)
at org.broad.igv.ui.ShutdownThread.run(ShutdownThread.java:64)
I would suspect that you're running without a X11 environment. What happens when you run the following command:
what's your version of java ?
how do you start IGV ?
I start IGV by simply typing igv in the terminal
aasim@aasim-ProLiant-ML150-Gen9:~$ java -version
java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)