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

Coderanch | malli | 8 years ago
  1. 0

    java.awt.HeadlessException: while running my application in Linux

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

    Exception: java.awt.HeadlessException in jsp

    Stack Overflow | 5 years ago | maali4peace
    java.awt.HeadlessException
  3. 0

    Exception in thread "main" java.awt.HeadlessException

    Oracle Community | 1 decade ago | 843805
    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

  5. 0

    Getting java.awt.HeadlessException Exception

    Coderanch | 8 years ago | khushhal yadav
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  6. 0

    Getting error when running swing program

    Coderanch | 8 years ago | saravanan rajendran
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

    3 unregistered visitors
    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.GraphicsEnvironment.checkHeadless()
    2. Java RT
      JFrame.<init>
      1. java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
      2. java.awt.Window.<init>(Window.java:317)
      3. java.awt.Frame.<init>(Frame.java:419)
      4. javax.swing.JFrame.<init>(JFrame.java:194)
      4 frames
    3. jfreechart
      ChartFrame.<init>
      1. org.jfree.chart.ChartFrame.<init>(ChartFrame.java:78)
      2. org.jfree.chart.ChartFrame.<init>(ChartFrame.java:66)
      2 frames
    4. org.icrisat.lims
      SummaryAction.execute
      1. org.icrisat.lims.startup.login.SummaryAction.execute(SummaryAction.java:68)
      1 frame
    5. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      4 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    8. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    9. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame