Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8657

java.awt.HeadlessException exception in console proxy on mouse clicks in XenServer PV VM window

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.1
    • Fix Version/s: None
    • Component/s: SystemVM
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Management server: CentOS 6.6 64-bit
      Hypervisor: XenServer 6.5

      Description

      Multiple mouse clicks in VM console running on XenServer in PV mode results in console session disconnect with following text:
      "Access is denied for the console session. Please close the window and retry again".
      Problem could not be reproduced for VMs running in HVM mode and does not happen if mouse is not used for VMs running in PV mode.

      Console System VM /var/log/cloud.log seems to indicate root cause of this issue:

      Unexpected exception:
      java.awt.HeadlessException
      at sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:307)
      at com.cloud.consoleproxy.vnc.VncServerPacketReceiver.serverCutText(VncServerPacketReceiver.java:121)
      at com.cloud.consoleproxy.vnc.VncServerPacketReceiver.run(VncServerPacketReceiver.java:81)
      at com.cloud.consoleproxy.vnc.VncClient.doConnect(VncClient.java:184)
      at com.cloud.consoleproxy.vnc.VncClient.connectTo(VncClient.java:143)
      at com.cloud.consoleproxy.ConsoleProxyVncClient$1.run(ConsoleProxyVncClient.java:91)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msurkova Marina Surkova
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: