I have a new computer and have a modded world I had from my old rig. This one should be even better but somehow minecraft keeps crashing with this error.
All my driver's are updated and I had streaming software, uninstalled it, and the error still comes up.
I have tried everything and the mods and shaders etc have all worked fine on my old computer but now this error keeps coming up.
I already tried switching off Nvidia overlay and editing the global settings, optimizing java minecraft in nvidia etc....
These are my computer specs:
NVIDIA system information report created on: 04/02/2026 23:40:41
NVIDIA App version: 11.0.6.383
Operating system: Microsoft Windows 11 Home, Version 10.0.26200
DirectX runtime version: DirectX 12
Driver: Game Ready Driver - 595.97 - Tue Mar 24, 2026
CPU: AMD Ryzen 7 7800X3D 8-Core Processor
RAM: 64.0 GB
Storage (2): SSD - 1.8 TB,SSD - 1.8 TB
Graphics card
GPU: NVIDIA GeForce RTX 5070
Direct3D feature level: 12_1
CUDA cores: 6144
Graphics clock: 2542 MHz
Resizable BAR: Yes
Memory data rate: 28.00 Gbps
Memory interface: 192-bit
Memory bandwidth: 672.048 GB/s
Total available graphics memory: 44541 MB
System video memory: N/A
Shared system memory: 32314 MB
Dedicated video memory: 12227 MB GDDR7
Part number: G147 0070
IRQ: Not used
Bus: PCI Express x16
Display (1): BenQ GW2255
Resolution: 1920 x 1080 (native)
Refresh rate: 60 Hz
Desktop color depth: Highest (32-bit)
If you're using any overlays like Afterburner or the nVidia App itself, try without them.
If Hardware accelerated GPU scheduling is enabled, try disabling it.
If you're using a certain launcher, try the vanilla one.
Otherwise, I wonder if this is one of the many recent nVidia issues, one of which with this game seems to cause video memory to run out at the system level, or to otherwise have the same symptoms even if it's something else.
You can sort of force conditions to test for this by allocating either 48 GB or 56 GB of your memory to Java up front. Try these JVM arguments, and the first one is the important part so that it claims the memory from the onset. (Don't allocate this much memory normally.)
-Xms48G -Xmx48G -XX:+UseZGC -XX:+ZGenerational
That will still leave either 16 GB or 8 GB respectively of memory for the OS and everything else, but it's low enough to where if there is an issue with available video memory running out due to a leak, I would imagine it should show up much sooner. This is because up to half of your system memory (32 GB in your case) can be used for shared VRAM purposes after dedicated VRAM is full. By using more of your system memory, that will leave less of it leftover for that, thus an earlier crash. This may lead nowhere but it should be relatively quick to test.
You could also try and run the game using the integrated AMD graphics for rendering to see if the crash still occurs.
I would have thought this...
"Exception getting block type in world"
Would have been a game conflict issue though?
Later in the log, it says this...
"GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread."
Which I would have thought meant proper drivers with OpenGL capability were missing, but in that case you should be seeing a dedicated message of that and it would crash before ever starting. So I'm wondering if it launching fine but then that being thrown later in the log is a sign that something is indeed going wrong with rendering as a result of some video driver issue. (Or maybe that message showing up at the end of some crash logs is normal?)
Well that last crash log is really 9 days before the crash for something else; the error does not create a crash log at all so really what I posted isn't the same crash.
IF possible, could you tell me how I can remove the Nvidia overlay app? I selected it to not appear, but not sure if there is a way to uninstall it completely?
Also, the integrated AMD would be very good to try, how can I set it to those graphics? I try to select the graphics driver and it only lets me selec the Nvidia 5070 card.
Wait, so it's crashing in ways other than returning you to the launcher and showing that exit code?
I'm not familiar with the nVidia App, but I would think as long as you don't have any metric monitoring or overlay stuff active or toggleable, then that might be enough to rule it out.
The easiest way to use the integrated graphics would probably be to plug your monitor into the display output on your motherboard instead of your graphics card. Make sure you have proper drivers installed for the integrated graphics before doing this or else you may have completely separate issues.
Rollback Post to RevisionRollBack
"'Tis foolishness! If all were so easy, why, none would suffer in this world!"
"GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread."
I've see this before when the game crashed during startup, before the display was initialized, so it doesn't necessarily mean anything by itself, only when it is itself the reason for the crash, and you'll usually see a different message like "Pixel format not accelerated", another time I've seen it is when the game crashed while switching to fullscreen (an issue in older versions specific to certain system configurations), which requires destroying and recreating the OpenGL context so a failure to switch display modes (not fatal in itself but the game doesn't attempt to restore the last working mode) will leave it uninitialized.
e.g. parts of a recent crash report where the game crashed while loading options (not the direct cause, I'd changed the order of loading to try to load settings first to make it easier to add a toggle for non-vanilla recipes in my "World1 custom client"; the crash itself occurred in vanilla code due to things not being initialized in the right order), there are a lot of things listed under "system details" which are shown to be "null", including the OpenGL version, which normally shows the GPU and driver:
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 2/2/26 9:41 PM
Description: Initializing game
java.lang.ExceptionInInitializerError
at net.minecraft.src.StatList.<clinit>(StatList.java:284)
at net.minecraft.src.Item.<clinit>(Item.java:531)
at net.minecraft.src.Block.<clinit>(Block.java:1414)
at net.minecraft.src.GameSettings.setGraphicsSettings(GameSettings.java:1252)
at net.minecraft.src.GameSettings.loadOptions(GameSettings.java:1015)
at net.minecraft.src.GameSettings.<init>(GameSettings.java:131)
at net.minecraft.src.Minecraft.startGame(Minecraft.java:208)
at net.minecraft.src.Minecraft.run(Minecraft.java:640)
at net.minecraft.client.main.Main.main(Main.java:93)
at Start.main(Start.java:11)
Caused by: java.lang.NullPointerException
at net.minecraft.src.ItemStack.<init>(ItemStack.java:56)
at net.minecraft.src.ItemStack.<init>(ItemStack.java:29)
at net.minecraft.src.ItemStack.<init>(ItemStack.java:24)
at net.minecraft.src.Achievement.<init>(Achievement.java:49)
at net.minecraft.src.AchievementList.<clinit>(AchievementList.java:27)
... 10 more
-- System Details --
Details:
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Resource Pack: ~~ERROR~~ NullPointerException: null
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
IM HAVING THE SAME ERROR AND IDK WHAT TO DO!!!!! I was initially playing on modded, but I tried playing on vanilla but still got the same issue!! I've tried just about everything:
-using a diff version of java
-clean reinstall of my gpu drivers
-allocating more ram
-deleted the .minecraft folder entirely and reinstalled minecraft
-deleted the nvidia app and any overlays which could be causing lag/ crashes
-lowered chunk render distance
-used optimization mods
-optimized minecraft in the nvidia control panel
-uninstalled all screen recording software i have
i also have fast internet speeds and a pretty good pc so i genuinely have no idea what to do next if you find a solution PLEASE LMK
edit: i've been able to play modded minecraft with near 100 mods completely smoothly so my problem with minecraft lagging and crashing is very new to me
OK just as an update, I do have Nvidia and closed the overlay for video recording and that didn't work...
And then I realized, I also have AMD installed and that comes with an overlay for gaming too, so I closed that off as well.
I still have OBS installed and won't run it while playing Minecraft ( I use it for other games to stream and my art), I have been using shaders and haven't gotten a crash since.
Hope this works for others, check your other graphics cards or other products part of your pc that could come with a gaming overlay or "streaming" overlay and disable it.
I have a new computer and have a modded world I had from my old rig. This one should be even better but somehow minecraft keeps crashing with this error.
All my driver's are updated and I had streaming software, uninstalled it, and the error still comes up.
I have tried everything and the mods and shaders etc have all worked fine on my old computer but now this error keeps coming up.
I already tried switching off Nvidia overlay and editing the global settings, optimizing java minecraft in nvidia etc....
These are my computer specs:
NVIDIA system information report created on: 04/02/2026 23:40:41
NVIDIA App version: 11.0.6.383
Operating system: Microsoft Windows 11 Home, Version 10.0.26200
DirectX runtime version: DirectX 12
Driver: Game Ready Driver - 595.97 - Tue Mar 24, 2026
CPU: AMD Ryzen 7 7800X3D 8-Core Processor
RAM: 64.0 GB
Storage (2): SSD - 1.8 TB,SSD - 1.8 TB
Graphics card
GPU: NVIDIA GeForce RTX 5070
Direct3D feature level: 12_1
CUDA cores: 6144
Graphics clock: 2542 MHz
Resizable BAR: Yes
Memory data rate: 28.00 Gbps
Memory interface: 192-bit
Memory bandwidth: 672.048 GB/s
Total available graphics memory: 44541 MB
System video memory: N/A
Shared system memory: 32314 MB
Dedicated video memory: 12227 MB GDDR7
Part number: G147 0070
IRQ: Not used
Bus: PCI Express x16
Display (1): BenQ GW2255
Resolution: 1920 x 1080 (native)
Refresh rate: 60 Hz
Desktop color depth: Highest (32-bit)
Add the crash-report or latest.log (logs-folder) with sites like https://mclo.gs/ and paste the link here
>> Link to Curseforge <<
It's weird, it didn't create a crash report for yesterday, this is the latest crash report from the 21st and not sure if it's the same problem.
I haven't had crashes before this new computer at all playing the same game with the same mods etc...
https://mclo.gs/VxEFPIe
Make a test without Plant-Mega-Pack-Mod
>> Link to Curseforge <<
But I had the mod before on my old computer for years and it never got that error
Looks like this mod wants to spawn plants and run into an issue with it
Backup the world, test it without it - then re-add the mod
>> Link to Curseforge <<
Ok thank you for your help!!! I Appreciate it!
No it didn't help
I still get the error and crash even without the mod!
If you're using any overlays like Afterburner or the nVidia App itself, try without them.
If Hardware accelerated GPU scheduling is enabled, try disabling it.
If you're using a certain launcher, try the vanilla one.
Otherwise, I wonder if this is one of the many recent nVidia issues, one of which with this game seems to cause video memory to run out at the system level, or to otherwise have the same symptoms even if it's something else.
You can sort of force conditions to test for this by allocating either 48 GB or 56 GB of your memory to Java up front. Try these JVM arguments, and the first one is the important part so that it claims the memory from the onset. (Don't allocate this much memory normally.)
-Xms48G -Xmx48G -XX:+UseZGC -XX:+ZGenerational
That will still leave either 16 GB or 8 GB respectively of memory for the OS and everything else, but it's low enough to where if there is an issue with available video memory running out due to a leak, I would imagine it should show up much sooner. This is because up to half of your system memory (32 GB in your case) can be used for shared VRAM purposes after dedicated VRAM is full. By using more of your system memory, that will leave less of it leftover for that, thus an earlier crash. This may lead nowhere but it should be relatively quick to test.
You could also try and run the game using the integrated AMD graphics for rendering to see if the crash still occurs.
I would have thought this...
"Exception getting block type in world"
Would have been a game conflict issue though?
Later in the log, it says this...
"GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread."
Which I would have thought meant proper drivers with OpenGL capability were missing, but in that case you should be seeing a dedicated message of that and it would crash before ever starting. So I'm wondering if it launching fine but then that being thrown later in the log is a sign that something is indeed going wrong with rendering as a result of some video driver issue. (Or maybe that message showing up at the end of some crash logs is normal?)
"'Tis foolishness! If all were so easy, why, none would suffer in this world!"
If you're having performance concerns with Minecraft, I hope this may prove useful.
A retrospective of the most important game to me (or, a try to stay awake while I never stop talking about something challenge).
Well that last crash log is really 9 days before the crash for something else; the error does not create a crash log at all so really what I posted isn't the same crash.
IF possible, could you tell me how I can remove the Nvidia overlay app? I selected it to not appear, but not sure if there is a way to uninstall it completely?
Also, the integrated AMD would be very good to try, how can I set it to those graphics? I try to select the graphics driver and it only lets me selec the Nvidia 5070 card.
Thank you so much for your help!
Wait, so it's crashing in ways other than returning you to the launcher and showing that exit code?
I'm not familiar with the nVidia App, but I would think as long as you don't have any metric monitoring or overlay stuff active or toggleable, then that might be enough to rule it out.
The easiest way to use the integrated graphics would probably be to plug your monitor into the display output on your motherboard instead of your graphics card. Make sure you have proper drivers installed for the integrated graphics before doing this or else you may have completely separate issues.
"'Tis foolishness! If all were so easy, why, none would suffer in this world!"
If you're having performance concerns with Minecraft, I hope this may prove useful.
A retrospective of the most important game to me (or, a try to stay awake while I never stop talking about something challenge).
Correct, that is usually an issue with loading or generating a chunk:
try { var4 = this.getChunkFromChunkCoords(par1 >> 4, par3 >> 4); return var4.getBlockID(par1 & 15, par2, par3 & 15); } catch (Throwable var8) { CrashReport var6 = CrashReport.makeCrashReport(var8, "Exception getting block type in world"); CrashReportCategory var7 = var6.makeCategory("Requested block coordinates"); var7.addCrashSection("Found chunk", Boolean.valueOf(var4 == null)); var7.addCrashSection("Location", CrashReportCategory.getLocationInfo(par1, par2, par3)); throw new ReportedException(var6); }I've see this before when the game crashed during startup, before the display was initialized, so it doesn't necessarily mean anything by itself, only when it is itself the reason for the crash, and you'll usually see a different message like "Pixel format not accelerated", another time I've seen it is when the game crashed while switching to fullscreen (an issue in older versions specific to certain system configurations), which requires destroying and recreating the OpenGL context so a failure to switch display modes (not fatal in itself but the game doesn't attempt to restore the last working mode) will leave it uninitialized.
e.g. parts of a recent crash report where the game crashed while loading options (not the direct cause, I'd changed the order of loading to try to load settings first to make it easier to add a toggle for non-vanilla recipes in my "World1 custom client"; the crash itself occurred in vanilla code due to things not being initialized in the right order), there are a lot of things listed under "system details" which are shown to be "null", including the OpenGL version, which normally shows the GPU and driver:
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Re-add the mod Plant Mega Pack and also add this mod:
https://github.com/LITW-Refined/plantmegapackfix/releases/tag/1.3.1
Download the 3rd file (plantmegapackfix-1.3.1.jar) and put it into the mods folder
If this is not working, add the new crash-report or check for the log file (fml-client-latest.log or similar)
>> Link to Curseforge <<
IM HAVING THE SAME ERROR AND IDK WHAT TO DO!!!!! I was initially playing on modded, but I tried playing on vanilla but still got the same issue!! I've tried just about everything:
-using a diff version of java
-clean reinstall of my gpu drivers
-allocating more ram
-deleted the .minecraft folder entirely and reinstalled minecraft
-deleted the nvidia app and any overlays which could be causing lag/ crashes
-lowered chunk render distance
-used optimization mods
-optimized minecraft in the nvidia control panel
-uninstalled all screen recording software i have
i also have fast internet speeds and a pretty good pc so i genuinely have no idea what to do next if you find a solution PLEASE LMK
edit: i've been able to play modded minecraft with near 100 mods completely smoothly so my problem with minecraft lagging and crashing is very new to me
OK just as an update, I do have Nvidia and closed the overlay for video recording and that didn't work...
And then I realized, I also have AMD installed and that comes with an overlay for gaming too, so I closed that off as well.
I still have OBS installed and won't run it while playing Minecraft ( I use it for other games to stream and my art), I have been using shaders and haven't gotten a crash since.
Hope this works for others, check your other graphics cards or other products part of your pc that could come with a gaming overlay or "streaming" overlay and disable it.