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

Could not load config '/root/test-dump/WS-Attacker/runnable/wsattacker_config.xml' #28

Open
abdallaegt opened this issue Aug 28, 2020 · 3 comments

Comments

@abdallaegt
Copy link

abdallaegt commented Aug 28, 2020

I am having a problem setting up the environment and this is a problem with a file

log

16:52:04,495 INFO  [Preferences] Could not load config '/root/test-dump/WS-Attacker/runnable/wsattacker_config.xml'
Reason: wsattacker.persistence.XmlPersistenceError: Could not load config from File '/root/test-dump/WS-Attacker/runnable/wsattacker_config.xml'
Exception in thread "Thread-4" 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:204)
        at java.awt.Window.<init>(Window.java:536)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.JFrame.<init>(JFrame.java:189)
        at wsattacker.gui.component.MainWindow.<init>(MainWindow.java:67)
        at wsattacker.gui.GuiView.createView(GuiView.java:64)
        at wsattacker.gui.GuiView.run(GuiView.java:134)
        at java.lang.Thread.run(Thread.java:748)

java version

openjdk version "1.8.0_265"
@CheariX
Copy link
Member

CheariX commented Sep 1, 2020

WS-Attacker is a GUI application. Are you probably trying to run it without a GUI?
The X11 error looks like this might be the problem.
Or do you maybe use Wayland? I did a quick search for this and it seems that there are some problems with Wayland and Java GUI applications.

@bhandarisandeep
Copy link

WS-Attacker-Library_XML_Utilities .................. FAILURE

I am getting this step failure while compiling the code.

@abdallaegt
Copy link
Author

Use it in a wsl ubuntu 20.04 LTS environment

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

No branches or pull requests

3 participants