Jump to content

[1.13.2] Forge Error: "Exception in thread "main" java.lang.RuntimeException: java.net.MalformedURLException: no protocol"


Recommended Posts

Posted

I keep getting the following error:
 

> Task :runClient
2019-02-17 01:39:31,360 main WARN Disabling terminal, you're running in an unsupported environment.
[01:39:31.506] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_201
[01:39:31.570] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmluserdevclient,fmluserdevserver,fmlclient,fmlserver,fmldevclient,fmldevserver,minecraft,testharness]
[01:39:31.590] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml]
[01:39:31.590] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services []
[01:39:31.609] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
[01:39:31.609] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.forgeVersion, 25.0.21, --fml.mcpVersion, 20190213.203750, --fml.mcpMappings, snapshot_20180921-1.13, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --accessToken, ????????, --version, FMLDev, --assetIndex, 1.13.1, --assetsDir, C:\Users\WolfH\.gradle\caches\forge_gradle\assets, --userProperties, {}]
[01:39:31.609] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
[01:39:31.616] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 25.0
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 25.0 loading
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 0.9.4+34+78321c4
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Initializing modjar URL handler
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 0.14.4+42+59f903b
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 0.7.1+33+fb2fd5b
[01:39:31.620] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner
[01:39:31.630] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 0.2.0+14+c94c813
[01:39:31.888] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[01:39:31.888] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
[01:39:31.896] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
[01:39:31.926] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
[01:39:31.926] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\mods
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\mods
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\config
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\config
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\config\fml.toml
[01:39:31.929] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration
[01:39:31.996] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler
[01:39:31.996] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using fmluserdevclient as launch service
[01:39:31.996] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data  : MC Version: '1.13.2' MCP Version: '20190213.203750' Forge Version: '25.0.21' Forge group: 'net.minecraftforge'
[01:39:32.000] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR forge at path C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13-recomp.jar
[01:39:32.000] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR mcdata at path C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_repo\versions\1.13.2\client-data.jar
[01:39:32.000] [main/DEBUG] [ne.mi.us.FMLUserdevLaunchProvider/CORE]: Injecting forge as mod 1.13.2-25.0.21_mapped_snapshot_20180921-1.13 from maven path C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo
[01:39:32.006] [main/DEBUG] [ne.mi.fm.lo.FMLCommonLaunchHandler/CORE]: Got mod coordinates C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\resources\main;C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\classes\java\main from env
[01:39:32.010] [main/DEBUG] [ne.mi.fm.lo.FMLCommonLaunchHandler/CORE]: Found supplied mod coordinates [{defaultmodid=[C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\resources\main, C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\classes\java\main]}]
[01:39:32.019] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 1 language providers
[01:39:32.019] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 25.0
[01:39:32.030] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Skipping adding forge jar - javafml is already present
[01:39:32.030] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan
[01:39:32.030] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/SCAN]: Scanning for Mod Locators
[01:39:32.057] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null)
[01:39:32.057] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Scanning for mods and other resources to load. We know 3 ways to find mods
[01:39:32.060] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {ModJarsFolder locator at C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\mods}
[01:39:32.060] [main/DEBUG] [ne.mi.fm.lo.mo.ModsFolderLocator/SCAN]: Scanning mods dir C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\mods for mods
[01:39:32.068] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {Maven Directory locator for mods [C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar]}
[01:39:32.068] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/SCAN]: Mod file C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar has a manifest
[01:39:32.100] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found mod file forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar of type MOD with locator {Maven Directory locator for mods [C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar]}
[01:39:32.100] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {ExplodedDir locator}
[01:39:32.100] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/SCAN]: Mod file C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\resources\main is missing a manifest
[01:39:32.100] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found mod file main of type MOD with locator {ExplodedDir locator}
[01:39:32.100] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Parsing mod file candidate C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar
[01:39:32.150] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar with language javafml
[01:39:32.150] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Parsing mod file candidate C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\resources\main
Exception in thread "main" java.lang.RuntimeException: java.net.MalformedURLException: no protocol:
        at net.minecraftforge.fml.loading.StringUtils.toURL(StringUtils.java:51)
        at java.util.Optional.map(Optional.java:215)
        at net.minecraftforge.fml.loading.moddiscovery.ModFileInfo.<init>(ModFileInfo.java:61)
        at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.loadModFile(ModFileParser.java:59)
        at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:51)
        at net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:125)
        at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:75)
        at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:161)
        at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:86)
        at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:43)
        at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$5(TransformationServicesHandler.java:75)
        at java.util.HashMap$Values.forEach(HashMap.java:981)
        at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:75)
        at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:40)
        at cpw.mods.modlauncher.Launcher.run(Launcher.java:53)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:44)
        at net.minecraftforge.userdev.UserdevLauncher.main(UserdevLauncher.java:77)
Caused by: java.net.MalformedURLException: no protocol:
        at java.net.URL.<init>(URL.java:593)
        at java.net.URL.<init>(URL.java:490)
        at java.net.URL.<init>(URL.java:439)
        at net.minecraftforge.fml.loading.StringUtils.toURL(StringUtils.java:47)
        ... 16 more

> Task :runClient FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 55s
6 actionable tasks: 4 executed, 2 up-to-date

C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk>

And I can't figure this out.

Here is my mod's source code:
https://github.com/WolfHybrid23/Celriff

Posted (edited)

Apart from the error (I am also trying to figure out 1.13.2);

1. "ItemBase" is a terrible practice. Drop it.

2. Do not use CommonProxy. (Code style issue 1)

3. Do not use static initializers. Initialize your stuff in the appropriate events.

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Posted (edited)

Even with 1.12.2 you shouldn't be using CommonProxy and ItemBase; in fact, you shouldn't be using those in ANY versions.

They are bad practices that are often made by novice modders due to terrible tutorials. You need to fix them.

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Posted

@DavidM I don't claim to be a professional modder, I am not self taught and I do not learn things easily. I also feel as though you are attacking me right now. I just want to know how to fix my issue, so I ask politely that if you do not have the answer to keep this topic on subject and do not reply unless you have the answer. Thank you.

Posted

I am not attacking you. I am trying to correct your coding style. Saying such mistakes are made by novice modders is not an attack, as many people (including me) was once mislead by bad tutorials and learnt the wrong way of doing things.

As I stated in the first post, I am facing similar issues with 1.13.2 as you, but I did notice some style issues in your code and I am pointing them out for you.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Posted
[04:16:49.317] [Server thread/ERROR] [minecraft/SaveFormatOld]: Exception reading .\saves\New World\level.dat
java.lang.NullPointerException: null
        at net.minecraft.world.dimension.DimensionType.toString(DimensionType.java:66) ~[?:?]
        at net.minecraftforge.common.DimensionManager.lambda$readRegistry$4(DimensionManager.java:324) ~[?:?]
        at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_201]
        at net.minecraftforge.common.DimensionManager.readRegistry(DimensionManager.java:323) ~[?:?]
        at net.minecraftforge.common.ForgeMod.readData(ForgeMod.java:199) ~[?:?]
        at net.minecraftforge.fml.WorldPersistenceHooks.lambda$handleWorldDataLoad$1(WorldPersistenceHooks.java:47) ~[?:?]
        at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_201]
        at net.minecraftforge.fml.WorldPersistenceHooks.handleWorldDataLoad(WorldPersistenceHooks.java:47) ~[?:?]
        at net.minecraft.world.storage.SaveFormatOld.getWorldData(SaveFormatOld.java:102) [?:?]
        at net.minecraft.world.storage.SaveHandler.loadWorldInfo(SaveHandler.java:97) [?:?]
        at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:68) [?:?]
        at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:95) [?:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:549) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
[04:16:49.327] [Server thread/ERROR] [minecraft/AbstractResourcePack]: Couldn't load pack metadata
com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6 path $.pack.pack_format
        at net.minecraft.util.JsonUtils.fromJson(SourceFile:499) ~[?:?]
        at net.minecraft.util.JsonUtils.func_212744_a(SourceFile:550) ~[?:?]
        at net.minecraft.util.JsonUtils.func_212743_a(SourceFile:558) ~[?:?]
        at net.minecraft.resources.AbstractResourcePack.getResourceMetadata(SourceFile:72) [?:?]
        at net.minecraft.resources.AbstractResourcePack.getMetadata(SourceFile:65) [?:?]
        at net.minecraft.resources.ResourcePackInfo.func_195793_a(SourceFile:38) [?:?]
        at net.minecraftforge.fml.packs.ResourcePackLoader$ModPackFinder.addPackInfosToMap(ResourcePackLoader.java:67) [?:?]
        at net.minecraft.resources.ResourcePackList.reloadPacksFromFinders(SourceFile:32) [?:?]
        at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:362) [?:?]
        at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?]
        at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:95) [?:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:549) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6 path $.pack.pack_format
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[gson-2.8.0.jar:?]
        at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:505) ~[gson-2.8.0.jar:?]
        at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[gson-2.8.0.jar:?]
        at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) ~[gson-2.8.0.jar:?]
        at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?]
        at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[gson-2.8.0.jar:?]
        at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[gson-2.8.0.jar:?]
        at net.minecraft.util.JsonUtils.fromJson(SourceFile:497) ~[?:?]
        ... 12 more
[04:16:49.328] [Server thread/ERROR] [minecraft/ResourcePackInfo]: Broken/missing pack.mcmeta detected, fudging it into existance. Please check that your launcher has downloaded all assets for the game correctly!
[04:16:49.328] [Server thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:celriff for mod file C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\build\resources\main
[04:16:49.328] [Server thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:forge for mod file C:\Users\WolfH\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.21_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar
[04:16:49.329] [Server thread/INFO] [minecraft/MinecraftServer]: Found new data pack vanilla, loading it automatically
[04:16:49.330] [Server thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, forge-1.13.2-25.0.21_mapped_snapshot_20180921-1.13.jar, main
[04:16:50.210] [Server thread/INFO] [minecraft/RecipeManager]: Loaded 524 recipes
[04:16:51.694] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 571 advancements
[04:16:52.343] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.lang.NullPointerException: null
        at net.minecraft.world.storage.WorldSavedDataStorage.func_212426_a(SourceFile:31) ~[?:?]
        at net.minecraft.world.ISaveDataAccess.func_212411_a(SourceFile:20) ~[?:?]
        at net.minecraft.world.WorldServer.func_212251_i__(WorldServer.java:129) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_212369_a(MinecraftServer.java:328) ~[?:?]
        at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:77) ~[?:?]
        at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:95) ~[?:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:549) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
[04:16:52.388] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: C:\Users\WolfH\Downloads\forge-1.13.2-25.0.21-mdk\run\.\crash-reports\crash-2019-02-17_04.16.52-server.txt
[04:16:52.388] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[04:16:52.388] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[04:16:52.388] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 2/17/19 4:16 AM
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
        at net.minecraft.world.storage.WorldSavedDataStorage.func_212426_a(SourceFile:31)
        at net.minecraft.world.ISaveDataAccess.func_212411_a(SourceFile:20)
        at net.minecraft.world.WorldServer.func_212251_i__(WorldServer.java:129)
        at net.minecraft.server.MinecraftServer.func_212369_a(MinecraftServer.java:328)
        at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:77)
        at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:95)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:549)
        at java.lang.Thread.run(Thread.java:748)


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

-- System Details --
Details:
        Minecraft Version: 1.13.2
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_201, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 442004928 bytes (421 MB) / 1374158848 bytes (1310 MB) up to 2831679488 bytes (2700 MB)
        JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
        FML: New FML!
        Loaded coremods (and transformers): Nothing
        Profiler Position: N/A (disabled)
        Player Count: 0 / 8; []
        Data Packs: vanilla, mod:forge, mod:celriff
        Type: Integrated Server (map_client.txt)
        Is Modded: Definitely; Client brand changed to 'forge'
#@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2019-02-17_04.16.52-server.txt
[04:16:52.480] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Stopping server
[04:16:52.480] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving players
[04:16:52.481] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving worlds
AL lib: (EE) alc_cleanup: 1 device not closed

This is the new error I am having

  • 1 year later...
  • 3 months later...
Posted
On 3/7/2020 at 9:12 PM, Stanley50z said:

@WolfHybrid23 How did you fix your mod.toml file? I am having the same issue

 

2 hours ago, Stanlyhalo said:

What did you fix in your mods.toml file?

Make your own threads, you're most likely experiencing a different issue.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

  • 6 months later...
Posted

I had the same problem because apparently i left those brackets empty and when  i put smth in them the game started working again

updateJSONURL
displayURL
logoFile

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.