Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • MC crashes after creating armor.
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
foonicular

MC crashes after creating armor.

By foonicular, October 30, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted October 30, 2020

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.

  • Quote

Share this post


Link to post
Share on other sites

DavidM    179

DavidM

DavidM    179

  • World Shaper
  • DavidM
  • Members
  • 179
  • 1821 posts
Posted October 30, 2020

Please post the entire log.

  • Quote

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.

 

 

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted October 30, 2020

---- 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>

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7592

diesieben07

diesieben07    7592

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7592
  • 55027 posts
Posted October 31, 2020

The entire debug.log is needed.

  • Quote

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted October 31, 2020 (edited)

The debug.log file in the logs folder? I can't find a way to show that... It's really long.

Edited October 31, 2020 by foonicular
  • Quote

Share this post


Link to post
Share on other sites

Danebi    26

Danebi

Danebi    26

  • Diamond Finder
  • Danebi
  • Members
  • 26
  • 428 posts
Posted October 31, 2020

Gist Github.

  • Quote

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted October 31, 2020

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
 

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2402

Draco18s

Draco18s    2402

  • Reality Controller
  • Draco18s
  • Members
  • 2402
  • 15924 posts
Posted October 31, 2020

So...

Put the whole thing into a gist...

And let us decide the important bits.

  • Quote

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.

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted November 1, 2020 (edited)

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 November 1, 2020 by foonicular
  • Quote

Share this post


Link to post
Share on other sites

Danebi    26

Danebi

Danebi    26

  • Diamond Finder
  • Danebi
  • Members
  • 26
  • 428 posts
Posted November 1, 2020

Again, post the whole debug.log.

  • Quote

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted November 2, 2020 (edited)

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 November 2, 2020 by foonicular
forgot detail
  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2402

Draco18s

Draco18s    2402

  • Reality Controller
  • Draco18s
  • Members
  • 2402
  • 15924 posts
Posted November 2, 2020

<project dir>\run\logs

  • Quote

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.

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted November 2, 2020 (edited)

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 November 2, 2020 by foonicular
  • Quote

Share this post


Link to post
Share on other sites

foonicular    0

foonicular

foonicular    0

  • Tree Puncher
  • foonicular
  • Members
  • 0
  • 41 posts
Posted November 2, 2020

Okay I just figured it out, I had to choose to run a configuration... Then I could pick runClient and it works now. Hope this helps any1 else who might need it. And thanks to you guys for trying to help!

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Alexalien
      Some Obj models not working

      By Alexalien · Posted 3 minutes ago

      Yeah, no worries i'm going to keep looking. Thanks for your help. 
    • Huntpor
      1.16.5 Loot Tables

      By Huntpor · Posted 11 minutes ago

      I am able to Generate new Blocks and Items into my very simple mod ( just has Copper Ore ) while I learn. When it comes to those items I am able to generate the texture just fine, but I get a little stuck how how to allow the new blocks to generate their own item. Is Loot tables the correct thing? or should I be looking for something else? Don't even know where to begin, so details would be helpful.    Thank you in advice.   
    • diesieben07
      Some Obj models not working

      By diesieben07 · Posted 17 minutes ago

      I don't know enough about the OBJ format and models in general to know if this is a wrongly formatted model or an issue with the loader, sorry.
    • diesieben07
      [1.14.3] Where to put Item.getItemFromBlock

      By diesieben07 · Posted 23 minutes ago

      1.14 is no longer supported. If you have an issue with a modern version, make your own thread.
    • LEXISMILES
      lexi

      By LEXISMILES · Posted 26 minutes ago

      fkwefwwefewklfjewuhfeufhuih4u74u34y43urhewrur4yy4ryw4rwruwerhywertryryewtryetwgretwtewyreyrewhewfhyefytire
  • Topics

    • Alexalien
      9
      Some Obj models not working

      By Alexalien
      Started 3 hours ago

    • Huntpor
      0
      1.16.5 Loot Tables

      By Huntpor
      Started 11 minutes ago

    • VGLyen
      6
      [1.14.3] Where to put Item.getItemFromBlock

      By VGLyen
      Started July 24, 2019

    • LEXISMILES
      0
      lexi

      By LEXISMILES
      Started 27 minutes ago

    • GenElectrovise
      3
      [ForgeGradle] Publish project to GitHub Packages

      By GenElectrovise
      Started Friday at 09:04 PM

  • Who's Online (See full list)

    • Thorius
    • monkey123
    • Alexalien
    • Veo
    • CookieLukas
    • Jonbo187
    • diesieben07
    • Godis_apan
    • philip-elsner@gmx.net
    • Huntpor
    • laryr
    • Jesus Sandals
    • Lucie
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • MC crashes after creating armor.
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community