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

Crash upon launch with 1.10.2 #16

Open
WickedPerfection opened this issue Jul 2, 2016 · 5 comments
Open

Crash upon launch with 1.10.2 #16

WickedPerfection opened this issue Jul 2, 2016 · 5 comments

Comments

@WickedPerfection
Copy link

When ever I launch a server with IslandCraft it crashes immediately after start. I was using Spigot when it first happened. I then tried Bukkit and it also crashed with that. I then tested it with the newest version of Bukkit and Spigot with it being the only plugin on the server and it still crashed.
Here is the crash report:
crash-2016-07-01_21.51.00-server.txt

I absolutely love this plugin and I cant wait to be able to use it with 1.10!
-Thank you!

@hoqhuuep
Copy link
Owner

hoqhuuep commented Jul 2, 2016

Are you able to do some tests for me please?

  • Does it crash in the same environment with CraftBukkit/Spigot 1.9.* and IslandCraft-1.0.6?
  • Does it crash in the same environment with CraftBukkit/Spigot 1.9.* and IslandCraft-1.0.5?

If you are able, please perform both tests with no other plugins installed.

Thanks!

@WickedPerfection
Copy link
Author

I have done the tests you have asked with the same results. I have attached the logs and crash reports for each.

Spigot 1.9.4 and IslandCraft-1.0.6
log-2016-07-02-1.txt
crash-2016-07-02_09.12.04-server.txt

Spigot 1.9.4 and IslandCraft-1.0.5
log-2016-07-02-2.txt
crash-2016-07-02_09.18.44-server.txt

CraftBukkit 1.9.4 and IslandCraft-1.0.6
log-2016-07-02-4.txt
crash-2016-07-02_09.41.55-server.txt

CraftBukkit 1.9.4 and IslandCraft-1.0.5
log-2016-07-02-3.txt
crash-2016-07-02_09.37.42-server.txt

@hoqhuuep
Copy link
Owner

hoqhuuep commented Jul 3, 2016

Thank you! So it is clear that this is not a new issue with the 1.10 release, but rather an incompatibility between IslandCraft and the server.

IslandCraft uses some image processing in the island generation algorithms. Other people have reported this same error when running in an environment without a GUI. I have never got to the bottom of how to fix it other than running in an environment with a GUI...

You should be able to find some info by searching the interwebs for "Can't connect to X11 window server using ':0' as the value of the DISPLAY variable". For example [http://stackoverflow.com/a/10165905](this stackoverflow answer) suggests that adding -Djava.awt.headless=true to your Java parameters will help. E.g. start CraftBukkit with something like: /usr/bin/java -Djava.awt.headless=true -jar /opt/craftbukkit-1.10.jar. So maybe give that a go.

@WickedPerfection
Copy link
Author

Okay... I just did a bit of looking and I've actually been running a server with the exact same properties as the one that keeps crashing with IslandCraft-1.0.5 on CraftBukkit 1.9.4 and that server has no issues. Let me try messing around with what you said and ill see what happens.
Thank you for the help!

@Platinteufel
Copy link

Thank you for the PM @hoqhuuep! Well, finally I've resolved this issue. I asked my hoster for another machine and now it works without problems. I'm not sure what's causing it and I'm not familiar with Linux at all.

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