-
Bug
-
Resolution: Fixed
-
P2
-
solaris, solaris_11, 4.2, 5.0u12, 6, 6u1, 6u3, 6u4
-
b28
-
generic, x86, sparc
-
linux, solaris_nevada, solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2160635 | 6u10 | Dmitri Trembovetski | P2 | Resolved | Fixed | b22 |
JDK-2161024 | OpenJDK6 | Dmitri Trembovetski | P2 | Resolved | Fixed | b10 |
The vino-client java VNC client crashes when DISPLAY is set to the second head of my desktop:
rab@loris> cat `which vncviewer`
#!/bin/sh
exec java -jar /usr/share/gnome/vino/vino-client.jar ${1+"$@"}
rab@loris> DISPLAY=:0.1 vncviewer :0
java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.<init>(Window.java:407)
at java.awt.Frame.<init>(Frame.java:402)
at java.awt.Frame.<init>(Frame.java:367)
at vncviewer.Dialog.<init>(Dialog.java:34)
at vncviewer.OptionsDialog.<init>(OptionsDialog.java:30)
at vncviewer.CConn.<init>(CConn.java:95)
at vncviewer.VNCViewer.run(VNCViewer.java:151)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.<init>(Window.java:407)
at java.awt.Frame.<init>(Frame.java:402)
at java.awt.Frame.<init>(Frame.java:367)
at vncviewer.Dialog.<init>(Dialog.java:34)
at vncviewer.MessageBox.<init>(MessageBox.java:30)
at vncviewer.MessageBox.<init>(MessageBox.java:61)
at vncviewer.VNCViewer.run(VNCViewer.java:163)
at java.lang.Thread.run(Thread.java:619)
rab@loris>
But it works when DISPLAY is set to the first screen:
rab@loris> DISPLAY=:0.0 vncviewer :0
Java Accessibility Bridge for GNOME loaded.
CConn: connected to host localhost port 5900
CConnection: Server supports RFB protocol version 3.3
CConnection: Using RFB protocol version 3.3
CConn: Using pixel format depth 24 (32bpp) big-endian rgb888
CConn: Using ZRLE encoding
<it works>
rab@loris> cat `which vncviewer`
#!/bin/sh
exec java -jar /usr/share/gnome/vino/vino-client.jar ${1+"$@"}
rab@loris> DISPLAY=:0.1 vncviewer :0
java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.<init>(Window.java:407)
at java.awt.Frame.<init>(Frame.java:402)
at java.awt.Frame.<init>(Frame.java:367)
at vncviewer.Dialog.<init>(Dialog.java:34)
at vncviewer.OptionsDialog.<init>(OptionsDialog.java:30)
at vncviewer.CConn.<init>(CConn.java:95)
at vncviewer.VNCViewer.run(VNCViewer.java:151)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.<init>(Window.java:407)
at java.awt.Frame.<init>(Frame.java:402)
at java.awt.Frame.<init>(Frame.java:367)
at vncviewer.Dialog.<init>(Dialog.java:34)
at vncviewer.MessageBox.<init>(MessageBox.java:30)
at vncviewer.MessageBox.<init>(MessageBox.java:61)
at vncviewer.VNCViewer.run(VNCViewer.java:163)
at java.lang.Thread.run(Thread.java:619)
rab@loris>
But it works when DISPLAY is set to the first screen:
rab@loris> DISPLAY=:0.0 vncviewer :0
Java Accessibility Bridge for GNOME loaded.
CConn: connected to host localhost port 5900
CConnection: Server supports RFB protocol version 3.3
CConnection: Using RFB protocol version 3.3
CConn: Using pixel format depth 24 (32bpp) big-endian rgb888
CConn: Using ZRLE encoding
<it works>
- backported by
-
JDK-2160635 java crashes talking to second X screen
-
- Resolved
-
-
JDK-2161024 java crashes talking to second X screen
-
- Resolved
-
- duplicates
-
JDK-6599351 javaws only runs in the left-hand screen on snv_71
-
- Closed
-
-
JDK-6689390 Can not start any java gui application on secondary display
-
- Closed
-
-
JDK-6691767 Swing applications don't work on second display on OpenSolaris
-
- Closed
-