java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by fjalier
, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via GitHub by previsualconsent
, 2 years ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via Stack Overflow by IAmYourFaja
, 2 months ago
Can't connect to X11 window server using '10.10.101.96' as the value of the DISPLAY variable.
via Stack Overflow by Alex
, 2 years ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via Stack Overflow by mbee
, 2 years ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via screenconnect.com by Unknown author, 2 years ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:62)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:178)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:142)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at net.sf.jasperreports.engine.util.JRStyledTextParser.(JRStyledTextParser.java:87)
at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:177)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:78)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:60)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:628)
at org.openxava.web.servlets.GenerateReportServlet.doGet(GenerateReportServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at java.lang.Thread.run(Thread.java:636)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.