Jump to content

Recommended Posts

Posted

Hello,

 

i have a fresh install of Forg on my computer which is running OpenSuse Tumbleweed, java version 8.

The installer went fine but the starting part, without  mods, has some troubles.

 

java -Xmx1024M -Xms1024M -jar forge-1.15.2-31.1.60.jar
[20:34:38] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.60, --fml.mcpVersion, 20200414.225201, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge]
[20:34:38] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 1.8.0_242 by IcedTea
[20:34:38] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[20:34:40] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .]
[20:34:52] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:34:52] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:34:52] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:34:52] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:34:52] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:34:52] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.15.2
[20:34:54] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.lang.NullPointerException: null
        at net.minecraftforge.fml.loading.moddiscovery.BackgroundScanHandler.waitForScanToComplete(BackgroundScanHandler.java:97) ~[forge-1.15.2-31.1.60.jar:?] {}
        at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:178) ~[?:?] {re:classloading}
        at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] {re:classloading}
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:122) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242] {}
[20:34:54] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: /media/htpc/kinderen/minecraft/Survival-forge/./crash-reports/crash-2020-04-27_20.34.54-server.txt
[20:34:54] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[20:34:54] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[20:34:54] [Server thread/ERROR] [minecraft/MinecraftServer]: Exception stopping the server
java.lang.IllegalArgumentException: Can not hotload overworld. This must be loaded at all times by main Server.
        at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[server-1.15.2-extra.jar:?] {}
        at net.minecraftforge.common.DimensionManager.initWorld(DimensionManager.java:229) ~[?:?] {re:classloading}
        at net.minecraftforge.common.DimensionManager.getWorld(DimensionManager.java:198) ~[?:?] {re:classloading}
        at net.minecraft.server.MinecraftServer.func_71218_a(MinecraftServer.java:1004) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_213211_a(MinecraftServer.java:536) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:568) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.dedicated.DedicatedServer.func_71260_j(DedicatedServer.java:550) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:676) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242] {}

 

zypper se openjdk
Loading repository data...
Reading installed packages...

S  | Name                                    | Summary                                                     | Type
---+-----------------------------------------+-------------------------------------------------------------+-----------
   | java-11-openjdk                         | OpenJDK 11 Runtime Environment                              | package
   | java-11-openjdk                         | OpenJDK 11 Runtime Environment                              | srcpackage
   | java-11-openjdk-accessibility           | OpenJDK 11 accessibility connector                          | package
   | java-11-openjdk-accessibility-debuginfo | Debug information for package java-11-openjdk-accessibility | package
   | java-11-openjdk-debuginfo               | Debug information for package java-11-openjdk               | package
   | java-11-openjdk-debugsource             | Debug sources for package java-11-openjdk                   | package
   | java-11-openjdk-demo                    | OpenJDK 11 Demos                                            | package
   | java-11-openjdk-devel                   | OpenJDK 11 Development Environment                          | package
   | java-11-openjdk-headless                | OpenJDK 11 Runtime Environment                              | package
   | java-11-openjdk-javadoc                 | OpenJDK 11 API Documentation                                | package
   | java-11-openjdk-jmods                   | JMods for OpenJDK 11                                        | package
   | java-11-openjdk-src                     | OpenJDK 11 Source Bundle                                    | package
   | java-14-openjdk                         | OpenJDK 14 Runtime Environment                              | package
   | java-14-openjdk-accessibility           | OpenJDK 14 accessibility connector                          | package
   | java-14-openjdk-accessibility-debuginfo | Debug information for package java-14-openjdk-accessibility | package
   | java-14-openjdk-debuginfo               | Debug information for package java-14-openjdk               | package
   | java-14-openjdk-debugsource             | Debug sources for package java-14-openjdk                   | package
   | java-14-openjdk-demo                    | OpenJDK 14 Demos                                            | package
   | java-14-openjdk-devel                   | OpenJDK 14 Development Environment                          | package
   | java-14-openjdk-devel-debuginfo         | Debug information for package java-14-openjdk-devel         | package
   | java-14-openjdk-headless                | OpenJDK 14 Runtime Environment                              | package
   | java-14-openjdk-headless-debuginfo      | Debug information for package java-14-openjdk-headless      | package
   | java-14-openjdk-javadoc                 | OpenJDK 14 API Documentation                                | package
   | java-14-openjdk-jmods                   | JMods for OpenJDK 14                                        | package
   | java-14-openjdk-src                     | OpenJDK 14 Source Bundle                                    | package
   | java-15-openjdk                         | OpenJDK 15 Runtime Environment                              | package
   | java-15-openjdk-accessibility           | OpenJDK 15 accessibility connector                          | package
   | java-15-openjdk-accessibility-debuginfo | Debug information for package java-15-openjdk-accessibility | package
   | java-15-openjdk-debuginfo               | Debug information for package java-15-openjdk               | package
   | java-15-openjdk-debugsource             | Debug sources for package java-15-openjdk                   | package
   | java-15-openjdk-demo                    | OpenJDK 15 Demos                                            | package
   | java-15-openjdk-devel                   | OpenJDK 15 Development Environment                          | package
   | java-15-openjdk-devel-debuginfo         | Debug information for package java-15-openjdk-devel         | package
   | java-15-openjdk-headless                | OpenJDK 15 Runtime Environment                              | package
   | java-15-openjdk-headless-debuginfo      | Debug information for package java-15-openjdk-headless      | package
   | java-15-openjdk-javadoc                 | OpenJDK 15 API Documentation                                | package
   | java-15-openjdk-jmods                   | JMods for OpenJDK 15                                        | package
   | java-15-openjdk-src                     | OpenJDK 15 Source Bundle                                    | package
i+ | java-1_8_0-openjdk                      | OpenJDK 8 Runtime Environment                               | package
   | java-1_8_0-openjdk-accessibility        | OpenJDK 8 accessibility connector                           | package
   | java-1_8_0-openjdk-debuginfo            | Debug information for package java-1_8_0-openjdk            | package
   | java-1_8_0-openjdk-debugsource          | Debug sources for package java-1_8_0-openjdk                | package
   | java-1_8_0-openjdk-demo                 | OpenJDK 8 Demos                                             | package
   | java-1_8_0-openjdk-demo-debuginfo       | Debug information for package java-1_8_0-openjdk-demo       | package
   | java-1_8_0-openjdk-devel                | OpenJDK 8 Development Environment                           | package
   | java-1_8_0-openjdk-devel-debuginfo      | Debug information for package java-1_8_0-openjdk-devel      | package
i  | java-1_8_0-openjdk-headless             | OpenJDK 8 Runtime Environment                               | package
   | java-1_8_0-openjdk-headless-debuginfo   | Debug information for package java-1_8_0-openjdk-headless   | package
   | java-1_8_0-openjdk-javadoc              | OpenJDK 8 API Documentation                                 | package
   | java-1_8_0-openjdk-src                  | OpenJDK 8 Source Bundle

 

What can be my fault. I have read that for forge java version newer then 8 will not work.

 

Thanks for any help.

 

Regards, Erik

Posted

Hello,

 

Today i tried the recommended one instead of the latest one and now the server is starting.

I didn't change anything, so I guess the problem for me is or was in the latest one.

So problem solved.

 

Regards, Erik

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

    • Hi everyone, I'm currently developing a Forge 1.21 mod for Minecraft and I want to display a custom HUD overlay for a minigame. My goal: When the game starts, all players should see an item/block icon (from the base game, not a custom texture) plus its name/text in the HUD – similar to how the bossbar overlay works. The HUD should appear centered above the hotbar (or at a similar prominent spot), and update dynamically (icon and name change as the target item changes). What I've tried: I looked at many online tutorials and several GitHub repos (e.g. SeasonHUD, MiniHUD), but most of them use NeoForge or Forge versions <1.20 that provide the IGuiOverlay API (e.g. implements IGuiOverlay, RegisterGuiOverlaysEvent). In Forge 1.21, it seems that neither IGuiOverlay nor RegisterGuiOverlaysEvent exist anymore – at least, I can't import them and they are missing from the docs and code completion. I tried using RenderLevelStageEvent as a workaround but it is probably not intended for custom HUDs. I am not using NeoForge, and switching the project to NeoForge is currently not an option for me. I tried to look at the original minecraft source code to see how elements like hearts, hotbar etc are drawn on the screen but I am too new to Minecraft modding to understand. What I'm looking for: What is the correct way to add a custom HUD element (icon + text) in Forge 1.21, given that the previous overlay API is missing? Is there a new recommended event, callback, or method in Forge 1.21 for custom HUD overlays, or is everyone just using a workaround? Is there a minimal open-source example repo for Forge 1.21 that demonstrates a working HUD overlay without relying on NeoForge or deprecated Forge APIs? My ideal solution: Centered HUD element with an in-game item/block icon (from the base game's assets, e.g. a diamond or any ItemStack / Item) and its name as text, with a transparent background rectangle. It should be visible to the players when the mini game is running. Easy to update the item (e.g. static variable or other method), so it can change dynamically during the game. Any help, code snippets, or up-to-date references would be really appreciated! If this is simply not possible right now in Forge 1.21, it would also help to know that for sure. Thank you very much in advance!
    • The simple answer is there is not an easy way. You would need to know how to program in Java, as well as at least some familiarity with how Forge works so you could port the differences. You would also need the sourcecode for the original mod, and permission from the author to modify it, if they did not use some sort of open source license. So it's not impossible, but it would take some effort, but doing so would open up a whole new world of possibilities for you!
    • Does it still crash if you remove holdmyitems? Looks like that mod doesn't work on a server as far as I can tell from the error.  
    • Crashes the server when trying to start. Error code -1. Log  
  • Topics

×
×
  • Create New...

Important Information

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