Realms world upload error: "Cannot invoke "ctt.c()" because "this.b" is null"
When attempting to click "upload new world" under "reset world" in Java Realms, I get this error message:
Unable to load worlds
Cannot invoke "ctt.c()" because "this.b" is null
Update 2023-12-6
New error:
Unable to load worlds
Cannot invoke "net.minecraft.class_1940.method_8583()" because "this.field_25022" is null
Linked Issues
is duplicated by5
Created Issue:
1.20.3 upload error: "unable to load worlds"
When attempting to upload a world to Java Realms, I get this error message:
Unable to load worlds
Cannot invoke "ctt.c()" because "this.b" is null
Environment
Windows 10
Java 1.20.3
When attempting to upload a world to Java Realms, I get this error message:
Unable to load worlds
Cannot invoke "ctt.c()" because "this.b" is null
Update 2023-12-6
New error:
Unable to load worlds
Cannot invoke "net.minecraft.class_1940.method_8583()" because "this.field_25022" is null
When attempting to upload
aworldtoJava Realms, I get this error message:Unable to load worlds
Cannot invoke "ctt.c()" because "this.b" is null
Update 2023-12-6
New error:
Unable to load worlds
Cannot invoke "net.minecraft.class_1940.method_8583()" because "this.field_25022" is null
When attempting to click "upload new world" under "reset world" in Java Realms, I get this error message:
Unable to load worlds
Cannot invoke "ctt.c()" because "this.b" is null
Update 2023-12-6
New error:
Unable to load worlds
Cannot invoke "net.minecraft.class_1940.method_8583()" because "this.field_25022" is null
1.20.3 upload error: "unable to load worlds"1.20.3 upload error: "Cannot invoke "ctt.c()" because "this.b" is null" & "
1.20.3 upload error: "Cannot invoke "ctt.c()" because "this.b" is null" & ""net.minecraft.class_1940.method_8583()" because "this.field_25022" is null"
1.20.3 upload error: "Cannot invoke "ctt.c()" because "this.b" is null"& ""net.minecraft.class_1940.method_8583()" because "this.field_25022" is null"
is duplicated by
Windows 10
Java 1.20.3
is duplicated by
relates to
is duplicated by
relates to
is duplicated by
relates to
1.20.3upload error: "Cannot invoke "ctt.c()" because "this.b" is null"Realms world upload error: "Cannot invoke "ctt.c()" because "this.b" is null"
is duplicated by
Duplicate of REALMS-11594
Thank you for your report!
We're tracking this issue in REALMS-11594, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki – 📖 FAQs
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Thank you for your report!
We're tracking this issue in MC-267465, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki – 📖 FAQs
Thank you for your report!
We're tracking this issue in MC-267465, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Affects versions 1.20.4, 1.20.3.
Duplicate of MC-267465
Attempting to upload a world in Java Realms -> Configure Realm -> Reset world -> Upload World gives the following error: 
Noted as duplicate as I've located another bug with the same thing, but the wrong version.
Thank you for your report!
We're tracking this issue in MC-267465, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're tracking this issue in MC-267465, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki







Should be listed as affects version 1.20.3.
Please try and upload a newly created vanilla world and see if you get the same error
@Greymagic27 Confirmed. Made the description more specific.
This can be reproduced if any of the world 1) is a symlink not authorized or 2) has corrupt level.dat.
Code analysis (1.20.4 yarn)
RealmsSelectFileToUploadScreen has multiple LevelSummary#isHardcore calls. This is defined as this.levelInfo.isHardcore();.
LevelSummary has multiple subclasses, including SymlinkLevelSummary and RecoveryWarning. They are "fake entries" that aren't loaded. Hence, levelInfo == null. However, they do not override isHardcore, so any call to that method would throw NPE as seen here.
LevelStorage#loadSummaries, used to enumerate the worlds, does not filter those 2 special cases, either (they are also used by the regular world screen, which needs to list those). And since the world enumeration and isHardcore calls occur when rendering RealmsSelectFileToUploadScreen, this error occurs.
Hello i have the same problem in 1.20.4. I cannot reset and load a world from the current 1.20.4 world we play on and not from a different reset world. I can reset the world with the ''World templates'', ''New World'', Adventures'', ''Experiences'' and ''Inspiration'' butten, only not ''Upload world''.
This is the error is get:
Maybe its a little hard to read due to my texture pack but it says:
Cannot invoke ''net.minecraft.class_1940.method_8583()'' beceus ''this.fiels_25022'' is null
Can confirm Helboy234's comment. I am unable to post a modified world onto my realm, and clicking Upload World gives me this:
having same issue how do i fix
This will be fixed in the upcoming release 1.20.5. There's no release date for it yet, but it's currently in the pre-release phase, which means it'll be commonly available soon.