Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344369

Client tests are failing with: Authorization required, but no authorization protocol specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 24
    • 24
    • client-libs
    • 2d

      First failing test: sun/java2d/volatileImage/VolatileRestoration.java

      Last successful test: sun/java2d/volatileImage/NewImageValidation.java

      Authorization required, but no authorization protocol specified
      java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
      at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:105)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:74)
      at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64)
      at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
      at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:37)
      at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:89)
      at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:80)
      at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:102)
      at java.desktop/java.awt.Window.initGC(Window.java:487)
      at java.desktop/java.awt.Window.init(Window.java:506)
      at java.desktop/java.awt.Window.<init>(Window.java:548)
      at java.desktop/java.awt.Frame.<init>(Frame.java:428)
      at java.desktop/javax.swing.JFrame.<init>(JFrame.java:224)
      at SHMemTest.<init>(SHMemTest.java:157)
      at SHMemTest.main(SHMemTest.java:46)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

            azvegint Alexander Zvegintsev
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: