Couldn't load server list
Hello, I have one error saying that my list of the servers does not take care.
Here is in detail the error:
[11:16:52 INFO]: Client> [11:16:52] [Client thread/ERROR]: Couldn't load server list
[11:16:52 INFO]: Client> java.io.UTFDataFormatException: malformed input around byte 3
[11:16:52 INFO]: Client> at java.io.DataInputStream.readUTF(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at java.io.DataInputStream.readUTF(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at dr.a(SourceFile:102) ~[dr.class:?]
[11:16:52 INFO]: Client> at dr.a(SourceFile:78) ~[dr.class:?]
[11:16:52 INFO]: Client> at dr.a(SourceFile:71) ~[dr.class:?]
[11:16:52 INFO]: Client> at bji.a(SourceFile:25) [bji.class:?]
[11:16:52 INFO]: Client> at bji.<init>(SourceFile:18) [bji.class:?]
[11:16:52 INFO]: Client> at bgb.r_(SourceFile:63) [bgb.class:?]
[11:16:52 INFO]: Client> at bcd.a(SourceFile:197) [bcd.class:?]
[11:16:52 INFO]: Client> at azd.a(SourceFile:641) [azd.class:?]
[11:16:52 INFO]: Client> at btj.a(SourceFile:268) [btj.class:?]
[11:16:52 INFO]: Client> at bcd.a(SourceFile:172) [bcd.class:?]
[11:16:52 INFO]: Client> at btj.a(SourceFile:517) [btj.class:?]
[11:16:52 INFO]: Client> at bcd.d(SourceFile:236) [bcd.class:?]
[11:16:52 INFO]: Client> at bcd.k(SourceFile:211) [bcd.class:?]
[11:16:52 INFO]: Client> at azd.o(SourceFile:1303) [azd.class:?]
[11:16:52 INFO]: Client> at azd.ad(SourceFile:753) [azd.class:?]
[11:16:52 INFO]: Client> at azd.e(SourceFile:704) [azd.class:?]
[11:16:52 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
[11:16:52 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.7.jar:?]
[11:16:52 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:27) [launchwrapper-1.7.jar:?]
Thank You!
Frederic2ec
Environment
Intel Core 2 Quad Q9450
NVIDIA Geforce GTX 650 Ti
8 Gb Ram
64 Bits Windows 8 Professionnal
Java (build 1.7.0_45-b18)
Linked Issues
Created Issue:
Couldn't load server list
Hello, I have one error saying that my list of the servers does not take care.
Here is in detail the error:[11:16:52 INFO]: Client> [11:16:52] [Client thread/ERROR]: Couldn't load server list
[11:16:52 INFO]: Client> java.io.UTFDataFormatException: malformed input around byte 3
[11:16:52 INFO]: Client> at java.io.DataInputStream.readUTF(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at java.io.DataInputStream.readUTF(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at dr.a(SourceFile:102) ~[dr.class:?]
[11:16:52 INFO]: Client> at dr.a(SourceFile:78) ~[dr.class:?]
[11:16:52 INFO]: Client> at dr.a(SourceFile:71) ~[dr.class:?]
[11:16:52 INFO]: Client> at bji.a(SourceFile:25) [bji.class:?]
[11:16:52 INFO]: Client> at bji.<init>(SourceFile:18) [bji.class:?]
[11:16:52 INFO]: Client> at bgb.r_(SourceFile:63) [bgb.class:?]
[11:16:52 INFO]: Client> at bcd.a(SourceFile:197) [bcd.class:?]
[11:16:52 INFO]: Client> at azd.a(SourceFile:641) [azd.class:?]
[11:16:52 INFO]: Client> at btj.a(SourceFile:268) [btj.class:?]
[11:16:52 INFO]: Client> at bcd.a(SourceFile:172) [bcd.class:?]
[11:16:52 INFO]: Client> at btj.a(SourceFile:517) [btj.class:?]
[11:16:52 INFO]: Client> at bcd.d(SourceFile:236) [bcd.class:?]
[11:16:52 INFO]: Client> at bcd.k(SourceFile:211) [bcd.class:?]
[11:16:52 INFO]: Client> at azd.o(SourceFile:1303) [azd.class:?]
[11:16:52 INFO]: Client> at azd.ad(SourceFile:753) [azd.class:?]
[11:16:52 INFO]: Client> at azd.e(SourceFile:704) [azd.class:?]
[11:16:52 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
[11:16:52 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
[11:16:52 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.7.jar:?]
[11:16:52 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:27) [launchwrapper-1.7.jar:?]Thank You!
Frederic2ec
Intel Core 2 Quad Q9450
NVIDIA Geforce GTX 650 Ti
8 Gb Ram
64 Bits Windows 8 Professionnal
Java (build 1.7.0_45-b18)
duplicates
There are currently only a few log files or log snippets which hint at possible reasons why this bug occurs. Therefore please attach your log files to this report if your log contains any conspicuous errors or warning possibly containing either "Couldn't load server list" or "Couldn't save server list" . These logs are crucial to finding out what causes this bug.
The bug
The multiplayer server list (servers.dat) may reset itself or get corrupted.
How to reproduce
Some users wrote that this requires pressing the refresh button at a rapid rate but others said that this is not required.
Exact reproduction steps are unknown.
Known reasons
The following are log snippets showing why the server list could not be loaded in some cases. However, it does not explain how the server list became malformed in the first place.
[11:16:52 INFO]: Client> [11:16:52] [Client thread/ERROR]: Couldn't load server list [11:16:52 INFO]: Client> java.io.UTFDataFormatException: malformed input around byte 3[16:37:42] [Client thread/ERROR]: Couldn't load server list java.io.FileNotFoundException: C:\Users\sclark2\AppData\Roaming\.minecraft\servers.dat (Access is denied)
[04:25:45] [Client thread/ERROR]: Couldn't load server list java.io.EOFException at java.io.DataInputStream.readByte(Unknown Source) ~[?:1.8.0_25]
- Concurrent file access by other programs, for example Dropbox, see this comment.
Workaround
- Don't exit the game (else servers.dat_tmp will be deleted)
- Navigate to .minecraft/
- Rename the file servers.dat_tmp to servers.dat
- Refresh the list in the Game
Windows: You might as well be able to restore a previous version of the file by right clicking the current servers.dat file and selecting "Restore previous versions".
Try disabling programs which might access the file while Minecraft is currently trying to access it, for example Dropbox.