Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CST-01: start samurai as service met java.awt.HeadlessException: #1

Closed
kylinsoong opened this issue Jul 4, 2012 · 1 comment
Closed
Assignees
Labels

Comments

@kylinsoong
Copy link
Contributor

Start CustomizedTools as service, select samurai tool, then the following Exception threw:

SamuraiWrapper start Samurai
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:173)
at java.awt.Window.(Window.java:476)
at java.awt.Frame.(Frame.java:419)
at java.awt.Frame.(Frame.java:384)
at javax.swing.JFrame.(JFrame.java:174)
at samurai.swing.MainFrame.(MainFrame.java:102)
at samurai.swing.Samurai.main(Samurai.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.customized.tools.SamuraiWrapper.execute(SamuraiWrapper.java:34)
at com.customized.tools.startup.Tools.start(Tools.java:101)
at com.customized.tools.startup.Tools.main(Tools.java:85)

How to Reproduce?

Run cst with service

@ghost ghost assigned kylinsoong Nov 20, 2012
@kylinsoong
Copy link
Contributor Author

version 3.x use TDA replace samurai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant