java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Coderanch | steve kelly | 2 years ago
  1. 0

    OPening file on solaris server from app

    Coderanch | 2 years ago | steve kelly
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  2. 0

    GitHub comment 14#257862328

    GitHub | 1 month ago | Bludwarf
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  3. 0

    Issue 41 - sikuli-api - "No X11 DISPLAY variable was set" error came on Linux using Sikuli Stand Alone api - Sikuli Java API - Google Project Hosting

    google.com | 1 year ago
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.awt.HeadlessException

      No X11 DISPLAY variable was set, but this program performed an operation which requires it.

      at java.awt.Desktop.getDesktop()
    2. Java RT
      Desktop.getDesktop
      1. java.awt.Desktop.getDesktop(Desktop.java:124)[na:1.6.0_26]
      1 frame
    3. com.expd.content
      PastRunsController.openCMALog
      1. com.expd.content.web.controller.PastRunsController.openCMALog(PastRunsController.java:163)[PastRunsController.class:na]
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_26]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_26]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_26]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_26]
      4 frames
    5. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2 frames
    6. Spring MVC
      RequestMappingHandlerAdapter.handleInternal
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)[spring-webmvc-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)[spring-webmvc-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)[spring-webmvc-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      3 frames