I'm trying to join a friend's server that's in version 1.13.1. Every time I try to join, I make it past a few loading screens before it freezes and the game crashes. The only message that pops up is the standard "An unexpected error has occurred and the game has crashed. We're sorry for the inconvenience." or something to that effect. I tried playing in single player and the exact same thing happens. I've made sure that Minecraft, Java, and my drivers are all updated to their latest versions, even tried uninstalling and reinstalling both Minecraft and Java. I've tried things such as turning off my Discord overlay and adding "--workDir %ProgramData%\.minecraft" to the Target field in the shortcut, and nothing has worked.
Here's the log report. Please tell me someone can make something of this.
I should also mention that the first set of errors (starting with "Cannot access RandomAccessFile java.io...") occurs before the game reaches the title screen, which will still load just fine. Then the second batch of errors ("java.lang.OutOfMemoryError") comes up when I try to open a world, then the game crashes. ("Process crashed with exit code 1")