Jump to content

MC crashes after creating armor.


foonicular

Recommended Posts

Minecraft is now crashing after creating armor. When I try to run it it asks me what class to run, and I choose the start class. And then it crashes with this

 

"java.lang.NullPointerException: Initializing game
    at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:32) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-launcher.jar:31.2] {}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:358) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}
    at net.minecraft.client.main.Main.main(Main.java:141) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}
    at mcp.client.Start.main(Start.java:17) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}"

 

I have no idea what to do. Here is the link to my github --> https://github.com/Foonicular/AMCMod

 

Thanks in advance to any1 who helps.

Link to comment
Share on other sites

Please post the entire log.

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.

 

 

Link to comment
Share on other sites

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 10/29/20 4:02 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:32) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-launcher.jar:31.2] {}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:358) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}
    at net.minecraft.client.main.Main.main(Main.java:141) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}
    at mcp.client.Start.main(Start.java:17) [forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:32)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:358)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(Main.java:141)
    at mcp.client.Start.main(Start.java:17)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_271, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 101809080 bytes (97 MB) / 160432128 bytes (153 MB) up to 1875378176 bytes (1788 MB)
    CPUs: 8
    JVM Flags: 0 total; 
    Launched Version: mcp
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NO CONTEXT
    GL Caps: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: <unknown>

Link to comment
Share on other sites

Okay, i found my debug.log file in my logs folder in eclipse, this is what it said, I assume what it cant find is pretty important XD

 

[31Oct2020 14:00:41.020] [Render thread/ERROR] [net.minecraft.client.resources.ResourceIndex/]: Can't find the resource index file: assets\indexes\1.15.json
[31Oct2020 14:00:41.104] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Player200
 

Link to comment
Share on other sites

So...

Put the whole thing into a gist...

And let us decide the important bits.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Okay, so I was looking in the debug.log file in my logs folder, and that's all I found... (The missing 1.15.json file) Is there a different file I should be looking for? Thanks once again.

 

Just so you know, it gets nowhere before crashing, it crashes in like 5 seconds maybe less.

Edited by foonicular
Link to comment
Share on other sites

Okay, I am sure that I am just being really dumb at this point... but... Where do I find the debug.log? I was looking at a file called debug.log in my logs folder in eclipse and this --> [31Oct2020 14:00:41.020] [Render thread/ERROR] [net.minecraft.client.resources.ResourceIndex/]: Can't find the resource index file: assets\indexes\1.15.json
[31Oct2020 14:00:41.104] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Player200

is all that I found. I say again, it crashes almost immediately. IDK what I need to show. If there is a different file that I just have not showed yet, all I need is where to find it.

 

Also, when I tried to run it the first time, it asked which class to run, I chose the start class... is there possibly a different class I need to run?

Edited by foonicular
forgot detail
Link to comment
Share on other sites

<project dir>\run\logs

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

So sorry about that, here is the gist --> https://gist.github.com/Foonicular/b1bb2ab37364aedc1fe42d971c3da27b

 

and this is the raw --> https://gist.githubusercontent.com/Foonicular/b1bb2ab37364aedc1fe42d971c3da27b/raw/15dd805212df1399be9a6c05ba8eb9df59f98c6c/debug.log

 

just in case this helps, I cannot run client... I think that the runClient may be broken. I have tried copying the src code into a new project, but that wont work either...

Edited by foonicular
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.



×
×
  • Create New...

Important Information

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