Jump to content

Recommended Posts

Posted

I keep having a problem with opening my forge server, either i try opening it and it just closes right away or it pops up Java binary has stopped working. I've looked on youtube but nothing shows how to fix this for a forge server, only vanilla minecraft. does anyone know how to fix this problem??

Posted

these are the logs of my last try to start the server

[17:34:47] [server thread/INFO]: Starting minecraft server version 1.7.10

[17:34:47] [server console handler/ERROR]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[17:34:47] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[17:34:50] [server thread/ERROR]: Encountered an unexpected exception

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.techbrew.journeymap.JourneyMap

at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:502) ~[Loader.class:?]

at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?]

at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) ~[lt.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

Caused by: java.lang.ClassNotFoundException: net.techbrew.journeymap.JourneyMap

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.8.0_40]

at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_40]

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420) ~[FMLModContainer.class:?]

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) ~[Loader.class:?]

... 5 more

Caused by: java.lang.RuntimeException: Attempted to load class net/techbrew/journeymap/JourneyMap for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forge-1.7.10-10.13.2.1291-universal.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]

at java.lang.Class.forName0(Native Method) ~[?:1.8.0_40]

at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_40]

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420) ~[FMLModContainer.class:?]

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) ~[Loader.class:?]

... 5 more

 

Posted

got rid of the journey map, but i don't know what else is wrong

 

[19:29:41] [server thread/INFO]: Starting minecraft server version 1.7.10

[19:29:41] [server console handler/ERROR]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[19:29:41] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[19:29:49] [server thread/INFO]: Loading properties

[19:29:49] [server thread/INFO]: Default game type: SURVIVAL

[19:29:49] [server thread/INFO]: Generating keypair

[19:29:49] [server thread/INFO]: Starting Minecraft server on 192.168.1.74:25565

[19:29:51] [server thread/INFO]: Preparing level "Catalyst"

[19:29:51] [server thread/INFO]: Preparing start region for level 0

[19:29:52] [server thread/INFO]: Done (1.520s)! For help, type "help" or "?"

[19:29:52] [server thread/ERROR]: Encountered an unexpected exception

java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException

at net.minecraft.profiler.Profiler.func_76320_a(Profiler.java:64) ~[qi.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:546) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException

at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

... 4 more

[19:29:52] [server thread/INFO]: Stopping server

[19:29:52] [server thread/INFO]: Saving players

[19:29:52] [server thread/INFO]: Saving worlds

[19:29:52] [server thread/INFO]: Saving chunks for level 'Catalyst'/Overworld

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/Nether

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/The End

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/Spirit World

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/Torment

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/Twilight Forest

[19:29:53] [server thread/INFO]: Saving chunks for level 'Catalyst'/The Outer Lands

 

Posted

this was the last thing that the fml log said before the server failed again. do you know how to fix it or have any suggestions on what i should try?

 

[21:06:04] [server thread/INFO] [FML/]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.

Posted

[21:05:51] [server thread/INFO]: Starting minecraft server version 1.7.10

[21:05:51] [server console handler/ERROR]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[21:05:51] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[21:05:59] [server thread/INFO]: Loading properties

[21:05:59] [server thread/INFO]: Default game type: SURVIVAL

[21:05:59] [server thread/INFO]: Generating keypair

[21:06:00] [server thread/INFO]: Starting Minecraft server on 192.168.1.74:25565

[21:06:02] [server thread/INFO]: Preparing level "Catalyst"

[21:06:02] [server thread/INFO]: Preparing start region for level 0

[21:06:03] [server thread/INFO]: Preparing spawn area: 97%

[21:06:03] [server thread/INFO]: Done (1.663s)! For help, type "help" or "?"

[21:06:04] [server thread/ERROR]: Encountered an unexpected exception

java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException

at net.minecraft.profiler.Profiler.func_76320_a(Profiler.java:64) ~[qi.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:546) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException

at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

... 4 more

[21:06:04] [server thread/INFO]: Stopping server

[21:06:04] [server thread/INFO]: Saving players

[21:06:04] [server thread/INFO]: Saving worlds

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/Overworld

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/Nether

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/The End

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/Spirit World

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/Torment

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/Twilight Forest

[21:06:04] [server thread/INFO]: Saving chunks for level 'Catalyst'/The Outer Lands

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Betafort Recovery has emerged as a prominent figure in the realm of cryptocurrency recovery, gaining a reputation for their exceptional ability to retrieve lost Bitcoin (BTC) and other cryptocurrencies. Their expertise and track record have made them a beacon of hope for individuals facing the distressing situation of lost or inaccessible crypto assets.  
    • When you name a method like that, with no return value, it is a constructor. The constructor must have the same name as the class it constructs, in this case, ModItems. I would strongly advise reading up on some basic Java tutorials, because you will definitely be running into a lot more issues as you go along without the basics. *I should also add that the Forge documentation is a reference, not a tutorial. Even following tutorials, you should know Java basics, otherwise the smallest of mistakes will trip you up as you copy someone elses code.
    • so, I'm starting modding and I'm following the official documantation for forge: https://docs.minecraftforge.net, but in the registries part it is not working as it is in the docs:   public class ModItems { private static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, DarkStarvation.MOD_ID); public static final RegistryObject<Item> TEST_ITEM = ITEMS.register("test_item", () -> new Item(new Item.Properties())); public DarkStarvation(FMLJavaModLoadingContext context) { ITEMS.register(context.getModEventBus()); } } in 'public DarkStarvation(...' the DarkStarvation has this error: Invalid method declaration; return type required and the getModEventBus(): Cannot resolve method 'getModEventBus' in 'FMLJavaModLoadingContext' please help, I asked gpt but it is saying that I'm using an old method, but I'm following the latest version of Forge Docs???
    • I merged your second post with the original , there is no need to post a new thread asking for an answer. If someone sees your post and can help, they will reply. If you are seeking a quicker response, you could try asking in the Minecraft Forge diacord.
    • Create a new instance and start with cobblemon - if this works, add the rest of your mods in groups   Maybe another mod is conflicting - like Sodium/Iris or Radical Cobblemon Trainers
  • Topics

×
×
  • Create New...

Important Information

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