Jump to content

Game crashed whilst rendering screen Error (Help!)


Tobias97

Recommended Posts

Hey guys, 

I'm having some trouble with Minecraft crashing and giving me this error:

The game crashed whilst rendering screen Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.ItemStack.m_41720_()" because "stack" is null Exit Code: 255

This happens every single time I open my inventory with the recipe section open to the left. The only mods I have installed are Forge, Xaeros Minimap 21.18.0 and Optifine 1.17.1 HD U H1 Pre6. Please bare in mind that I'm running all this on a macbook at the moment (I know). Also just using the regular launcher if thats any help.

I've tried installing Optifine 1.17.1 HD U H1 Pre5 and it makes no difference.

If anyone could help me out with this i'd greatly appreciate it!

Toby

Link to comment
Share on other sites

Full debug log here:

 

---- Minecraft Crash Report ----
// But it works on my machine.

Time: 15/10/2021, 12:41
Description: Rendering screen

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.ItemStack.m_41720_()" because "stack" is null
    at net.minecraftforge.client.RenderProperties.get(RenderProperties.java:43) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.getTooltipFont(ForgeHooksClient.java:1089) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.preTooltipEvent(ForgeHooksClient.java:1095) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraft.client.gui.screens.Screen.m_169383_(Screen.java:235) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.Screen.m_96617_(Screen.java:222) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.Screen.m_96602_(Screen.java:196) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.recipebook.RecipeBookComponent.m_100361_(RecipeBookComponent.java:293) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.inventory.InventoryScreen.m_6305_(SourceFile:97) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:392) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:385) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.optifine.reflect.Reflector.callVoid(Reflector.java:694) ~[preview_OptiFine_1.17.1_HD_U_H1_pre6.jar%2360!:?] {re:classloading}
    at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1270) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.90.jar%2322!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.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.client.RenderProperties.get(RenderProperties.java:43) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.getTooltipFont(ForgeHooksClient.java:1089) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.preTooltipEvent(ForgeHooksClient.java:1095) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraft.client.gui.screens.Screen.m_169383_(Screen.java:235) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.Screen.m_96617_(Screen.java:222) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.Screen.m_96602_(Screen.java:196) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.recipebook.RecipeBookComponent.m_100361_(RecipeBookComponent.java:293) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screens.inventory.InventoryScreen.m_6305_(SourceFile:97) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:392) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:385) ~[forge-1.17.1-37.0.90-universal.jar%2359!:?] {re:classloading}
    at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.optifine.reflect.Reflector.callVoid(Reflector.java:694) ~[preview_OptiFine_1.17.1_HD_U_H1_pre6.jar%2360!:?] {re:classloading}
-- Screen render details --
Details:
    Screen name: net.minecraft.client.gui.screens.inventory.InventoryScreen
    Mouse location: Scaled: (290, 133). Absolute: (581.191406, 266.652344)
    Screen size: Scaled: (640, 400). Absolute: (1280, 800). Scale factor of 2.000000

-- Affected level --
Details:
    All players: 1 total; [LocalPlayer['Tobias2397'/154, l='ClientLevel', x=240.84, y=64.00, z=-264.40]]
    Chunk stats: 729, 258
    Level dimension: minecraft:overworld
    Level spawn location: World: (128,66,-192), Section: (at 0,2,0 in 8,4,-12; chunk contains blocks 128,0,-192 to 143,255,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 47188 game time, 47188 day time
    Server brand: forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:467) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass}
    at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2245) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:676) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%2355!:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.90.jar%2322!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {}


-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Mod Resources, Default

-- System Details --
Details:
    Minecraft Version: 1.17.1
    Minecraft Version ID: 1.17.1
    Operating System: Mac OS X (x86_64) version 10.15.3
    Java Version: 16.0.1, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 820437264 bytes (782 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 4
    Processor Vendor: GenuineIntel
    Processor Name: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
    Identifier: Intel64 Family 6 Model 69 Stepping 1
    Microarchitecture: Haswell (Client)
    Frequency (GHz): 1.30
    Number of physical packages: 1
    Number of physical CPUs: 2
    Number of logical CPUs: 4
    Graphics card #0 name: Intel HD Graphics 5000
    Graphics card #0 vendor: Intel
    Graphics card #0 VRAM (MB): 1536.00
    Graphics card #0 deviceId: 0x0a26
    Graphics card #0 versionInfo: Revision ID: 0x0009
    Memory slot #0 capacity (MB): 2048.00
    Memory slot #0 clockSpeed (GHz): 1.60
    Memory slot #0 type: DDR3
    Memory slot #1 capacity (MB): 2048.00
    Memory slot #1 clockSpeed (GHz): 1.60
    Memory slot #1 type: DDR3
    Virtual memory max (MB): 7168.00
    Virtual memory used (MB): 5068.09
    Swap memory total (MB): 3072.00
    Swap memory used (MB): 2174.50
    JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Launched Version: 1.17.1-forge-37.0.90
    Backend library: LWJGL version 3.2.1 SNAPSHOT
    Backend API: Intel HD Graphics 5000 OpenGL Engine GL version 4.1 INTEL-14.4.23, Intel Inc.
    Window size: 1280x800
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: <disabled>
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Integrated Server (map_client.txt)
    Graphics mode: fast
    Resource Packs: mod_resources, vanilla
    Current Language: English (US)
    CPU: 4x Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
    Player Count: 1 / 8; [ServerPlayer['Tobias2397'/154, l='ServerLevel[Started Bond Bryan]', x=240.84, y=64.00, z=-264.40]]
    Data Packs: vanilla, mod:forge, mod:xaerominimap (incompatible)
    OptiFine Version: OptiFine_1.17.1_HD_U_H1_pre6
    OptiFine Build: 20211008-115759
    Render Distance Chunks: 11
    Mipmaps: 3
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.1 INTEL-14.4.23
    OpenGlRenderer: Intel HD Graphics 5000 OpenGL Engine
    OpenGlVendor: Intel Inc.
    CpuCount: 4
    ModLauncher: 9.0.7+91+master.8569cdf
    ModLauncher launch target: forgeclient
    ModLauncher naming: srg
    ModLauncher services: 
         mixin PLUGINSERVICE 
         eventbus PLUGINSERVICE 
         object_holder_definalize PLUGINSERVICE 
         runtime_enum_extender PLUGINSERVICE 
         capability_token_subclass PLUGINSERVICE 
         capability_inject_definalize PLUGINSERVICE 
         accesstransformer PLUGINSERVICE 
         runtimedistcleaner PLUGINSERVICE 
         mixin TRANSFORMATIONSERVICE 
         OptiFine TRANSFORMATIONSERVICE 
         fml TRANSFORMATIONSERVICE 
    FML Language Providers: 
        [email protected]
        javafml@null
    Mod List: 
        client-1.17.1-20210706.113038-srg.jar             |Minecraft                     |minecraft                     |1.17.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
        forge-1.17.1-37.0.90-universal.jar                |Forge                         |forge                         |37.0.90             |DONE      |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
        Xaeros_Minimap_21.19.0_Forge_1.17.1.jar           |Xaero's Minimap               |xaerominimap                  |21.19.0             |DONE      |Manifest: NOSIGNATURE
    Crash Report UUID: 4ae6fb49-dbac-4184-88c4-7ea35d368071
    FML: 37.0
    Forge: net.minecraftforge:37.0.90

Link to comment
Share on other sites

  • 2 years later...

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

    • Please help. It was working perfectly fine last night when I was on, and now it's crashing?   report: https://pastebin.com/DjF1UUb8
    • Gfgvtbhhj   Hddhdhdhhddhd
    • Mam ten błąd również w GeckoLib Seven Days of Fingees i Fingees Dinozar I also have this error in GeckoLib Seven Days of Fingees and Fingees Dinozar
    • Whether you are a fan of Hypixel Bedwars, SkyWars and PvP gamemodes like that, well you would enjoy this server! We have a very fun and unique style of PvP that a lot of our players really enjoy and we want to bring this server to more players like you! Yes you reading this post haha. Introducing, the Minezone Network, home of SUPER CRAFT BLOCKS. We've been working on this server for over 4 years now. Here is what we have to offer: SUPER CRAFT BLOCKS: This has 3 different gamemodes you can play, Classic, Duels and Frenzy. Each mode offers over 60 kits to choose from, along with a total of over 60 maps, allowing for various different playstyles on each map. There are also random powerups that spawn on the map which can include Health Pots, Bazookas, Nukes, Extra Lives and way way more! There is also double jump in this gamemode as well, which makes PvP a lot more fun & unique. You only need a minimum of 2 players to start any mode! Classic: Choose a kit, 5 lives for each player, fight it out and claim the #1 spot! Look out for lightning as they can spawn powerups to really give you an advantage in the game! Duels: Fight against another random player or one of your friends and see who is the best! Frenzy: Your kit is randomly selected for you, each life you will have a different kit. You can fight with up to 100 players in this mode and lets see who will be the best out of that 100! All the other stuff from Classic/Duels apply to this mode as well like powerups. We have 2 ranks on this server too, VIP and CAPTAIN which has a bunch of different perks for SCB and other things like Cosmetics and more.   SERVER IP: If this server has caught your interest in any way, please consider joining and you will NOT regret it! Bring some of your friends online for an even better experience and join in on the fun at: IP: minezone.club Hope to see you online!   SERVER TRAILER: https://www.youtube.com/watch?v=0phpMgu1mH0
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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