Opened 7 years ago

Last modified 7 years ago

#34 new enhancement

catch x11 exception

Reported by: rena Owned by:
Priority: minor Milestone: 0.3
Component: general Version:
Keywords: Cc:
Blocked By: Blocking:
Parent Tickets:

Description

calling JLatexEditor without -X via ssh brings the following exception:

:~/tools/JLatexEditospc418r$ Exception in thread "main" java.awt.HeadlessException?:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment?.checkHeadless(GraphicsEnvironment?.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
at javax.swing.JFrame.<init>(JFrame.java:207)
at jlatexeditor.gui.AboutDialog?.<init>(AboutDialog?.java:20)
at jlatexeditor.JLatexEditorJFrame.main(JLatexEditorJFrame.java:132)

Would be nice to have just a message without exception...

Subtickets (add)

Change History (1)

comment:1 Changed 7 years ago by stefan

  • Milestone changed from 0.2 to 0.3
  • Priority changed from normal to minor
  • Summary changed from no x11 exception to catch x11 exception
Note: See TracTickets for help on using tickets.