Jump to content

Forge + Mods on unix server?


mikedoyle

Recommended Posts

I have a set of mods which is stable using Forge and Oracle Java on my Windows PC, BUT when I upload them to my unix server (currently FreeBSD 10.2 with OpenJDK build 1.8.0_60, it is either unstable (using ForgeEssentials) or fails to load at all (using landdefender).

 

Has anyone else used these mods successfully on a FreeBSD environment?

 

If so, which version(s) of OpenJDK are stable and/or should I try the Oracle Linux port ?

 

Failing that, what Linux distro gives best result in a headless server environment?

 

(Just to note: Minecraft 1.8.8 vanilla is stable on computer, and forge with no mods appears stable too, it's just

forge 1.8 plus mods ends up unstable)

 

 

Link to comment
Share on other sites

OK, attached crash report when attempting to load with landdefender-0.5.1.jar in mods folder

 

When I copy the entire folder structure to my Windows 10 PC, it runs fine, stable with 3 players for over an hour testing.

My "live" server has up to 8 players... always on FreeBSD mini-pc (I run server for my kids and their friends).

 

============

 

---- Minecraft Crash Report ----

// Don't do that.

 

Time: 12/17/15 11:04 PM

Description: Exception in server tick loop

 

java.lang.NullPointerException: Exception in server tick loop

at com.wvaviator.LandDefender.Data.Database.establishTables(Database.java:98)

at com.wvaviator.LandDefender.LandDefender.onInitialization(LandDefender.java:89)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:553)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731)

at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97)

at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:360)

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:210)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

at java.lang.Thread.run(Thread.java:745)

 

 

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

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.8

Operating System: FreeBSD (amd64) version 10.2-RELEASE-p7

Java Version: 1.8.0_60, Oracle Corporation

Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 2210764776 bytes (2108 MB) / 2595749888 bytes (2475 MB) up to 3817865216 bytes (3641 MB)

JVM Flags: 2 total; -Xms2G -Xmx4G

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1577 5 mods loaded, 5 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.4.1577-universal.jar)

UCHI Forge{11.14.4.1577} [Minecraft Forge] (forge-1.8-11.14.4.1577-universal.jar)

UCHE landdefender{0.5.1} [Land Defender] (landdefender-0.5.1.jar)

UCHI Roguelike{1.3.6} [Roguelike Dungeons] (RoguelikeDungeons-1.8-1.3.6.jar)

Loaded coremods (and transformers):

Profiler Position: N/A (disabled)

Is Modded: Definitely; Server brand changed to 'fml,forge'

Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

Here is another. This was a "crash" shortly after startup, with Dynmap, ForgeEssentials and RoguelikeDungeons loaded.

That configuration sometimes "stayed up" only minutes, sometimes up to 24 hours. "Vanilla" regularly stays working over a week.

 

---- Minecraft Crash Report ----

 

WARNING: coremods are present:

Contact their authors BEFORE contacting forge

 

// Who set us up the TNT?

 

Time: 12/11/15 3:24 PM

Description: Ticking entity

 

java.lang.NullPointerException: Ticking entity

at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:293)

at net.minecraft.world.World.func_72866_a(World.java:1880)

at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)

at net.minecraft.world.World.func_72870_g(World.java:1850)

at net.minecraft.world.World.func_72939_s(World.java:1679)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)

at java.lang.Thread.run(Thread.java:745)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:293)

at net.minecraft.world.World.func_72866_a(World.java:1880)

at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)

at net.minecraft.world.World.func_72870_g(World.java:1850)

 

-- Entity being ticked --

Details:

Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)

Entity ID: 30777

Entity Name: BrayDoyles

Entity's Exact location: -70.92, 64.00, -242.89

Entity's Block location: -71.00,64.00,-243.00 - World: (-71,64,-243), Chunk: (at 9,4,13 in -5,-16; contains blocks -80,0,-256 to -65,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)

Entity's Momentum: 0.00, -0.08, 0.00

Entity's Rider: ~~ERROR~~ NullPointerException: null

Entity's Vehicle: ~~ERROR~~ NullPointerException: null

Stacktrace:

at net.minecraft.world.World.func_72939_s(World.java:1679)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)

 

-- Affected level --

Details:

Level name: Winter2015

All players: 1 total; [EntityPlayerMP['BrayDoyles'/30777, l='Winter2015', x=-70.92, y=64.00, z=-242.89]]

Chunk stats: ServerChunkCache: 882 Drop: 0

Level seed: -5525833124524399882

Level generator: ID 00 - default, ver 1. Features enabled: true

Level generator options:

Level spawn location: -204.00,64.00,132.00 - World: (-204,64,132), Chunk: (at 4,4,4 in -13,8; contains blocks -208,0,128 to -193,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Level time: 30843553 game time, 31600630 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 7295 (now: true), thunder time: 29872 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true

Stacktrace:

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)

at java.lang.Thread.run(Thread.java:745)

 

-- System Details --

Details:

Minecraft Version: 1.8

Operating System: FreeBSD (amd64) version 10.2-RELEASE

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 1586763672 bytes (1513 MB) / 2570584064 bytes (2451 MB) up to 3817865216 bytes (3641 MB)

JVM Flags: 2 total; -Xms2G -Xmx4G

IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94

FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1577 7 mods loaded, 7 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.4.1577-universal.jar)

UCHIJAAAA Forge{11.14.4.1577} [Minecraft Forge] (forge-1.8-11.14.4.1577-universal.jar)

UCHIJAAAA Dynmap{2.2-63} [Dynmap] (Dynmap-2.2-forge-1.8.0.jar)

UCHIJAAAA ForgeEssentials{1.8.3} [Forge Essentials] (forgeessentials-1.8-1.8.3.52-server.jar)

UCHIJAAAA Roguelike{1.3.6} [Roguelike Dungeons] (RoguelikeDungeons-1.8-1.3.6.jar)

UCHIJAAAA worldedit{6.1.1-SNAPSHOT} [WorldEdit] (worldedit-forge-mc1.8-6.1.1-SNAPSHOT-dist.jar)

Loaded coremods (and transformers):

ForgeEssentials: Running ForgeEssentials 1.8.3.52 (ce0ed69). Modules loaded: Afterlife, Backups, Chat, Commands, Economy, Multiworld, Permissions, PlayerLogger, Protection, Remote, Scripting, SignTools, Teleport, Tickets, WEIntegrationTools, WorldBorder, factions, mapper

Profiler Position: N/A (disabled)

Player Count: 1 / 8; [EntityPlayerMP['BrayDoyles'/30777, l='Winter2015', x=-70.92, y=64.00, z=-242.89]]

Is Modded: Definitely; Server brand changed to 'fml,forge'

Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

java.lang.NullPointerException: Exception in server tick loop

at com.wvaviator.LandDefender.Data.Database.establishTables(Database.java:98)

at com.wvaviator.LandDefender.LandDefender.onInitialization(LandDefender.java:89)

 

This happened because LandDefender couldn't establish a connection to its local SQLite DB for some reason. Unfortunately it suppresses the exception that explains what went wrong and prints "Exception in establishing database connection" to the console when this happens (which doesn't tell anyone anything useful).

 

It looks like the author fixed a similar issue in 0.2.1, you may want to report this again (and also tell the author to use FML's logging system and log the exception when something goes wrong).

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.