IslandCraft

IslandCraft

30.5k Downloads

Crash upon launch with 1.10.2

WickedPerfection opened this issue ยท 5 comments

commented

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!

commented

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!

commented

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!

commented

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

commented

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.

commented

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.