Reading the logNullPointerException: "this.cpuVendor" is null (OSHI Warning)
What the log looks like
java\.lang\.NullPointerException: Cannot invoke "String\.toUpperCase\(\)" because "this\.cpuVendor" is null
oshi\.hardware\.CentralProcessor\$ProcessorIdentifier\.queryMicroarchitecture
Failed to get system info for Microarchitecture
How to fix it
- Check that this message is marked `[main/WARN]` in your log; it does not stop Minecraft or your server from running on its own.
- If your game actually crashed, scroll further down `latest.log` or open the newest file in the `crash-reports` folder to find the real `[ERROR]` or `FATAL` cause that triggered crash-report generation.
- If you are playing on Android with PojavLauncher and have Sodium installed, remove `sodium` (along with addons such as `sodium-extra` and `reeses-sodium-options`), as Sodium does not support mobile OpenGL drivers and causes the actual crash hidden behind this warning.
- If you are running a server in an Apple Silicon Docker container or on ARM64 Linux and the server finishes starting normally, safely ignore the console spam or update to a newer Minecraft release with an updated OSHI library.
| Loaders | Vanilla, Fabric, Quilt, Forge, Neoforge, Server |
|---|
| Severity | Worth checking |
|---|
| Category | Reading the log |
|---|
Check your own log