Biomes O' Plenty

Biomes O' Plenty

151M Downloads

biomesoplenty.common.eventhandler.misc.CapeEventHandler.<clinit>(CapeEventHandler.java:32) Crashes

hanetzer opened this issue ยท 1 comments

commented

On forge server startup, it crashes due to not being able to connect to an X11 display.

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 2/19/14 1:23 AM
Description: Exception in server tick loop

cpw.mods.fml.common.LoaderException: java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:500)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:76)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:294)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:114)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:412)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:705)
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1182)
at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1172)
at biomesoplenty.common.eventhandler.misc.CapeEventHandler.(CapeEventHandler.java:32)
at biomesoplenty.common.eventhandler.BOPEventHandlers.registerMiscEventHandlers(BOPEventHandlers.java:71)
at biomesoplenty.common.eventhandler.BOPEventHandlers.init(BOPEventHandlers.java:31)
at biomesoplenty.BiomesOPlenty.preInit(BiomesOPlenty.java:83)
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:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536)
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:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188)
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:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:498)
... 5 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Linux (amd64) version 3.12.10-2-ck
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 386523904 bytes (368 MB) / 519438336 bytes (495 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 6 total; -Xmx1024M -Xms512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active
mcp{8.09} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized
FML{7.2.116.1024} Forge Mod Loader Unloaded->Constructed->Pre-initialized
Forge{10.12.0.1024} Minecraft Forge Unloaded->Constructed->Pre-initialized
BiomesOPlenty{2.0.0} Biomes O' Plenty Unloaded->Constructed->Errored
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

commented

Strange fix. I ran the minecraftd daemon (arch linux AUR package) in a tty and it worked fine, but would not work in gnome-terminal under gnome-shell.