Reminder: Provide log files
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/|http://hopper.minecraft.net/help/finding-minecraft-data-folder]
Rename the file
servers.dat_tmp
toservers.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.
Related issues
is duplicated by
relates to
Comments


No, sorry, I cannot reproduce it.
Please attach the complete output of the "Development console" tab of the launcher after the incident.
Click the text, press CTRL-A to select all, then CTRL-C to copy, and CTRL-V to paste in a comment on this ticket.
If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".

[01:05:58 INFO]: Refreshing local version list...
[01:05:58 INFO]: Minecraft Launcher 1.3.7 (through bootstrap 5) started on windows...
[01:05:58 INFO]: Current time is Dec 16, 2013 1:05:58 AM
[01:05:58 INFO]: System.getProperty('os.name') == 'Windows 8'
[01:05:58 INFO]: System.getProperty('os.version') == '6.2'
[01:05:58 INFO]: System.getProperty('os.arch') == 'amd64'
[01:05:58 INFO]: System.getProperty('java.version') == '1.7.0_45'
[01:05:58 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[01:05:58 INFO]: System.getProperty('sun.arch.data.model') == '64'
[01:05:58 INFO]: Refreshing remote version list...
[01:05:59 INFO]: Refresh complete.
[01:05:59 INFO]: Loaded 2 profile(s); selected 'Drkmaster83'
[01:05:59 INFO]: Refreshing auth...
[01:05:59 INFO]: Logging in with access token
[01:06:03 INFO]: Getting syncinfo for selected version
[01:06:03 INFO]: Queueing library & version downloads
[01:06:05 INFO]: Download job 'Version & Libraries' started (16 threads, 27 files)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1-nightly-20131120\lwjgl-2.9.1-nightly-20131120.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\5.12\twitch-5.12.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch-external-platform\4.5\twitch-external-platform-4.5-natives-windows-64.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries'... (try 0)
[01:06:05 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Download job 'Resources' skipped as there are no files to download
[01:06:06 INFO]: Job 'Resources' finished successfully (took 0:00:00.000)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.1-nightly-20131120\lwjgl-platform-2.9.1-nightly-20131120-natives-windows.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.2\authlib-1.2.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.1-nightly-20131120\lwjgl-platform-2.9.1-nightly-20131120-natives-windows.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch-platform\5.12\twitch-platform-5.12-natives-windows-64.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.2\authlib-1.2.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1-nightly-20131120\lwjgl_util-2.9.1-nightly-20131120.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1-nightly-20131120\lwjgl_util-2.9.1-nightly-20131120.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Attempting to download C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4.jar for job 'Version & Libraries'... (try 0)
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch-platform\5.12\twitch-platform-5.12-natives-windows-64.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch-external-platform\4.5\twitch-external-platform-4.5-natives-windows-64.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1-nightly-20131120\lwjgl-2.9.1-nightly-20131120.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\5.12\twitch-5.12.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:06 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Local file matches local checksum, using that
[01:06:07 INFO]: Finished downloading C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4.jar for job 'Version & Libraries': Used own copy as it matched etag
[01:06:07 INFO]: Job 'Version & Libraries' finished successfully (took 0:00:02.252)
[01:06:07 INFO]: Launching game
[01:06:07 INFO]: Looking for old natives & assets to clean up...
[01:06:07 INFO]: Unpacking natives to C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4-natives-4014681314051
[01:06:07 INFO]: Launching in C:\Users\Drew Mitchell\AppData\Roaming\.minecraft
[01:06:07 INFO]: Half command: C:\Program Files\Java\jre7\bin\javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512M -Xmx2300M -Djava.library.path=C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4-natives-4014681314051 -cp C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.2\authlib-1.2.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1-nightly-20131120\lwjgl-2.9.1-nightly-20131120.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1-nightly-20131120\lwjgl_util-2.9.1-nightly-20131120.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\5.12\twitch-5.12.jar;C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4.jar net.minecraft.client.main.Main
[01:06:09 INFO]: Client> [01:06:09] [main/INFO]: Setting user: Drkmaster83
[01:06:09 INFO]: Client> [01:06:09] [main/INFO]: (Session ID is token:1b641461d0cd46f5b40eb13e6e1acb70:719e29f6dfaf44a7a2c9952b6154e6d6)
[01:06:09 INFO]: Client> [01:06:09] [Client thread/INFO]: LWJGL Version: 2.9.1
[01:06:10 INFO]: Client> [01:06:10] [Client thread/INFO]: Reloading ResourceManager: Default
[01:06:11 INFO]: Client>
[01:06:11 INFO]: Client> Starting up SoundSystem...
[01:06:11 INFO]: Client> Initializing LWJGL OpenAL
[01:06:11 INFO]: Client> (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[01:06:11 INFO]: Client> OpenAL initialized.
[01:06:11 INFO]: Client>
[01:06:11 INFO]: Client> [01:06:11] [Sound Library Loader/INFO]: Sound engine started
[01:06:11 INFO]: Client> [01:06:11] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[01:06:12 INFO]: Client> [01:06:12] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[01:07:01 INFO]: Client> [01:07:01] [Client thread/INFO]: Stopping!
[01:07:01 INFO]: Client>
[01:07:01 INFO]: Client> SoundSystem shutting down...
[01:07:01 INFO]: Client> Author: Paul Lamb, www.paulscode.com
[01:07:01 INFO]: Client>
[01:07:02 INFO]: Game ended with no troubles detected (exit code 0)
[01:07:02 INFO]: Deleting C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4-natives-4014681314051
[01:07:02 WARN]: Couldn't delete C:\Users\Drew Mitchell\AppData\Roaming\.minecraft\versions\1.7.4\1.7.4-natives-4014681314051 - scheduling for deletion upon exit

Reopened, duplicated three times already.

Wiping also seems to occur arbitrarily when the window is left inactive for more than 15 minutes at a time. I'd let it sit there and want to go play SMP, but it would wipe if I hit Refresh... Not sure how to duplicate, but I was definitely not spamming the button at this time.

If it helps, we've had the same issue occur. Not sure of the cause as it was my son who told me all his servers listed in multiplayer were gone and he wasn't sure what had happened... it seems plausible that the refresh button could be cause as he was at a friends playing LAN worlds, then came home with laptop and the server listing was gone. Similar experience as Drew stated; there was a "servers.dat_tmp" file... I copied in an old back up "servers.dat" file to ".minecraft" folder and recoverd some of his servers listing and the "_tmp" file disappeared.

Renaming the new file "servers.dat_tmp" back to "servers.dat" restored the server list. The client can be running, but the server list does not come back until you refresh the list again.

In MC-48769 there is a devconsole log while that bug has happened.

...It's not logged, that's another problem...

this happen with me
but by playing will result in this bug too
not only refresh,i said reset not of refresh button and yes,leaving the server will make this bug

is the bug fixed in the 1.7.5?

Yes, I get this bug as well, when playing the game and I exit out of it. It will sometimes lose the server list, due to the reasoning that minecraft launcher doesn't rename it back from server.dat_tmp to server.dat. So you have to rename it back to server.dat manually.

I have found a fix for this problem, as it happened to me too. The way to fix it is once the servers are deleted, do not edit your server list at all, and go into .minecraft and find the servers.dat_temp file. Right click it and copy it so that you have the original and a copied version of it. Then, right click the copied one, and change it's name to servers.dat. Then, refresh your server list and all the servers you previously had should come back. Worked for me!

That's more of a walk-around than a fix. As even if you do that it will still get corrupted again a little while later. As I have had to do that many times. I wish Mojang would read this and fix the problem for good.

I really hope this gets fixed soon because I'm tired of my servers being constantly deleted.

Also happens when u refresh sometimes to reconnect to the servers..When i click it sometimes my server list wipes out in a flash..

Happened to me yesterday and again this morning. I just disconnected and went to reconnect and the list disappeared 😞

exact same thing happened to me

The server.dat file located in the .minecraft folder gets renamed to server.dat_tmp upon refreshing it too fast. Just rename it back to server.dat and you will get your serverlist back.
This problem is still occuring in 1.8

You don't have to spam the refresh button to see this bug, all you have to do is play multiplayer. Randomly (and it's been happening twice daily) the list will delete itself. This is a pretty big issue, but it doesn't seem to affect everyone. I'd love to see it fixed after putting up with it for the past year.

Just to make sure you understand this hasn't stopped happening. It happened last night, I added some servers back. My pc rebooted this morning and the server list was empty again when I relaunched the minecraft client.
😞

@@unknown
Just to make sure you understand this hasn't stopped happening. It happened last night...
In what version ? 1.8 (as already in the affected versions) or in 1.8.1-pre4 ?

@Kumasasa It's on 1.8 , I have been waiting for 1.8.1000 to be released to start using it. (Maybe this week now that the Dev team is back from Redmond, we can have the official release to fix the horrible security bug in 1.8... but that's a different ticket)
This list problem has been happening for a while, and is really really annoying. I will have built a list of 10 servers or more of friends, people I help out, and test servers, and then I quit one server, hit refresh and bam, empty list. I never get all the server ip's back and at this point after this happening more times than I care to count; I have stopped even trying.

It may erase the servers but going into the %appdata% and finding servers.dat_temp then remove the _temp in the extension will restore the list.

yeah but you have to do that constantly

Just happened on 1.8.1 😞
It never ends.

This happens to me about every other time I hit refresh, I end up having to go and rename servers.dat_tmp to servers.dat about every ten minutes

I just updated to Microsoft 8.1 and my server list has disappeared couple times in last 2 days.
I'm using the refresh button too.

Truth be told it happened to me, many times, on three very different computers all since 1.7 came out. I only got it to happen upon hitting the refresh button repeatedly or attempting to reconnect to a server immediately after losing connection way too many times in a row.

This is still present, using MC 1.8.1, no mods.

oh dear, it just happened to me... yesterday they were all there, today I launched mc and they were gone. v. 1.8.3

I've only ever seen this issue with Minecraft profiles stored in Dropbox on a Windows machine. Has anyone else noticed this consistently? I've assumed it was caused by Dropbox having an open filehandle to servers.dat during a non-atomic delete-and-move from the temp file. Possibly the only real solution to this would be to have a platform-specific segment of code that could use ReplaceFile() from Win32, rather than assuming POSIX semantics for native Java filesystem access.

This is easy to fix. Just make a folder in your Desktop/.Minecraft copy the servers.dat and paste the servers.dat in the new folder. Next time your Mc servers get deleted just copy the server.dat from the folder you made and paste it in where it should be. Hope this helps!

Thanks for the suggestion! That's actually a workaround, not a fix. Dropbox does support restoring deleted files, so I've been using that. However, if it does occur without Dropbox (I've never observed it in my local-only profile), this is a good workaround, though.

Ya, that's a good work-around, but shouldn't someone in the Minecraft dev team just fix it? Just saying.

This has been happening to me many times too. I hit refresh and the game freezes for ~1 second, then all the servers disappear.

I just recently upgraded my laptop and I'm seeing this happen on a regular basis now.
The new laptop has SSD, so perhaps it's a caching/file handle issue? Not sure. I just know it's getting irritating...
Usually happens after being disconnected from a server that goes offline in an abrupt manor...

I think it is simply forgetting to follow through after "buffering" the file or the file-system doesn't get properly notified of changes made by Java (platform-specific).
EDIT:
@unknown I agree it is pretty darn irritating after a while.

from MC-80436
[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)
at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_40]
at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_40]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_40]
at ds.a(SourceFile:69) ~[ds.class:?]
at bkp.a(SourceFile:25) [bkp.class:?]
at bkp.<init>(SourceFile:18) [bkp.class:?]
at bgz.r_(SourceFile:63) [bgz.class:?]
at bco.a(SourceFile:197) [bco.class:?]
at azl.a(SourceFile:646) [azl.class:?]
at bgz.q(SourceFile:164) [bgz.class:?]
at bgz.a(SourceFile:159) [bgz.class:?]
at bco.a(SourceFile:172) [bco.class:?]
at bgz.a(SourceFile:348) [bgz.class:?]
at bco.d(SourceFile:232) [bco.class:?]
at bco.k(SourceFile:211) [bco.class:?]
at azl.p(SourceFile:1303) [azl.class:?]
at azl.ah(SourceFile:757) [azl.class:?]
at azl.f(SourceFile:711) [azl.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.7.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:27) [launchwrapper-1.7.jar:?]
[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)
at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_40]
at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_40]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_40]
at ds.a(SourceFile:69) ~[ds.class:?]
at bkp.a(SourceFile:25) [bkp.class:?]
at bgz.r_(SourceFile:64) [bgz.class:?]
at bco.a(SourceFile:197) [bco.class:?]
at azl.a(SourceFile:646) [azl.class:?]
at bgz.q(SourceFile:164) [bgz.class:?]
at bgz.a(SourceFile:159) [bgz.class:?]
at bco.a(SourceFile:172) [bco.class:?]
at bgz.a(SourceFile:348) [bgz.class:?]
at bco.d(SourceFile:232) [bco.class:?]
at bco.k(SourceFile:211) [bco.class:?]
at azl.p(SourceFile:1303) [azl.class:?]
at azl.ah(SourceFile:757) [azl.class:?]
at azl.f(SourceFile:711) [azl.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.7.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:27) [launchwrapper-1.7.jar:?]

@@unknown I looked a little more into it and it might be that java cannot open or write to the file because of some sort of permission issue i.e. read-only or protected directory. This makes it a different, though similar bug; if its even a bug at all.
@unknown, I think the reason you are seeing this is because either:
Your modded client and/or launcher messed with the game directory settings; shouldn't happen, but who knows.
Your game directory is set in a location that java doesn't currently have access to, make sure your game directory actually exists and is not "Read-Only" nor "Admin-Only".

I have no mods on my Minecraft and my files are in the same location the game installed to and do not appear to be "read-only" or "Admin-only".
I still had this problem so I stopped using the refresh button completely. I just close the screen and re-enter and usually all my server's are still there. However a couple of times, they have disappeared even using this method rather than refresh.
Not sure if using windows 8 has anything to do with it, but that was when I first encountered the problem.

My server.dat file was still there, but it's empty.

Happens all the time to me. Have to keep removing the _tmp, but actually this last time it happened it completely deleted my servers. I had to right click in the folder and click properties then click previous versions and get the servers file from an older version of the folder. It's very annoying and obviously isn't fixed. Does it really take you guys over a year to fix something like this?

happens to me also. this time i took a video of it https://youtu.be/Ci9QebXcFEE

Can confirm in 1.8.7 for Gameband. However, before it happened, all entities froze.

Confirmed in 1.8.8.

I've also conducted a theory that ot could be changing internet or switching between internet connections. Haven't switched internet connections for a month and it hasnt deleted my server list. Next month I switched internet connections caise mone 1st wasnt working so i kept constantly switching and it deleted my server list. This can be one thing but doesnt mean Minecraft should delete server lists...

Yep. same for me. Would always be renamed to servers.dat_tmp, but i logged in today and saw it completely gone. nothing in .minecraft .

@Miles Lunger What version?

@Drew Mitchell Minecraft 1.8.8,

Put this in the description:
DON'T EXIT THE GAME BEFORE YOU DO THE WORKAROUND OR ELSE server.dat_tmp WILL BE DELETED AND ALL OF YOUR SERVERS WILL BE PERMANENTLY DELETED!
This is very important to put in the description so please do it!

Done - thanks for the hint.

Same is happening to mine, but servers.dat is already named that. Help please!!!

@Ashley Gilbert: only go to servers.dat when you have opened multiplayer or it wont work. Sometimes, I have found, it doesn't do it but then it doesn't delete the servers. P.S: You have to redo the renaming every time you go on minecraft 😞 WHY!!!

Im sure until Mojang fix this issue it would be very easy to make a simple one click program on your desktop which renames it for you using Visual Basic or Jar possibly.
*Edited I just programmed one myself really easy actually. Here it is, instructions included. http://bit.ly/1XCo6yI

Just happened to me, first time. v1.8.8 with launcher 1.6.13. Solution to remove _tmp extension from servers.dat was successful.
Might have been due to network drop at some critical moment. I left a server, opened a local creative world, closed, and attempted to go back to server. I was not due to rapid clicking on Refresh. My network had gone down. Refreshed the network connection and then found I had no server list.
When I opened the creative world a chunk was missing. I couldn't move into it. I exited the game, restarted, and the chunk was back. Then I moved to multiplayer. That's never happened to me. I understand that's probably not related but two kinds of funkiness at the same time is an unusual coincidence.

When will this be fixed? Has the actual problem even been identified yet? It is getting pretty annoying.
Still happens in 15w51b.

I fixed it my problem. For some reason, mine was ALWAYS servers.dat, but the problem was still happening. So I tried changing it to servers.dat_tmp, and now it works!

Still relevant in 16w05b

I opened (Windows 10.0) %appdata% >> .minecraft >> it was already servers.dat – and the bug STILL occurs!!

I made a tutorial on how to TEMPORARILY fix this. https://www.youtube.com/watch?v=jh-glrrRqkk

Still Doesn't Work!! This is confirmed unuseful.

I went to look for the server.dat or server.dat_tmp and i dont even see the folder.... what?

It's in your .minecraft folder, in appdata

The servers.dat_tmp isn't even there so I have to manually re-enter all the servers one by one and then put the ip's into a note

The alternate workaround is making a backup of servers.dat (literally copy, paste into "my documents" or anywhere else)

Still happens with 1.9, 1.9.2

Still happens in 1.10

Incorrect "Relates to" link, MC-80294 is marked as a duplicate. Can a mod please fix this

Does someone experiencing this bug had the resource pack download dialog when joining a server open before?

If your running mac it dosnt let you do anything, you get (Error code -36)
Whatever that means...

I accidentely deleted all the files in .minecraft but the servers.dat is still there i tried to fix it using repair in minecraft installer but it wont work.........

This also happened for my friend today is there any way to fix it?

@unknown, read the "Workaround" part of the ticket.

I exited the game after logging in with the wrong version, and didn't notice this occured until it was too late. What happened to the servers.dat_tmp, and is it recoverable? Also, has anyone figured out what causes it to change into .dat_tmp?

Unless you manage to find it in your recycle bin, it is not. Your best safeguard against this happening again is to create a backup. For some reason it happens a few times then randomly stops, idk why or how to stop it.

A few months ago I finally realized the cause of the bug. If another program is accessing the file, it can be reset. For example, my entire Minecraft directory is synced between my computers with Dropbox. If Dropbox is using the file to sync, the file gets deleted. If Dropbox is paused or off, the problem NEVER occurs.

The cause might be system specific. I know that when I encountered the bug a few years ago I wasn't using any kind of backup or syncing software on my Minecraft folder. I actually remember copying the server list into My Documents and manually replacing it as needed.

If it hasn't been tried already, maybe opening the server list in "read-only" mode by default could help

Seems to affect 1.13, see MC-135217.

The solution worked for me!

Well, my issue was completely different from this one, despite having the same result, and not only do I not have anything else that accesses my server list (or even my game) but none of those errors appeared (and I did not spam-click refresh) so I am quite certain my issue is not a duplicate of this one despite it being marked as one (especially since this report is not listed as affecting 1.14.2 or 1.15, which were the versions I tried).
In any case, I attempted to follow the instructions to get my list back and instead got redirected to the old minecraft launcher. I am now being asked whether I want to reset my configuration to use the old launcher or not, and have no idea what to do. It is very important for me to recover my old server list since I have no other record of my server IPs, and quite frankly, I do not want to have to go hunting for new servers and communities to join when all my old ones still exist, and I just can't access them. Does anyone know how I should proceed? I've already been waiting quite a while for this to be resolved and all I've gotten was silence.

@@unknown, when a version is not listed under "Affected Versions" it doesn't mean that the issue does not occur in this version. It just means no one has confirmed it for that version yet. Though there is duplicate for 1.14.4.
No step of the workaround requires modifying files of the launcher or switching the launcher, so I am not quite sure why you are using the old launcher now.
Can you make sure that the game installations / profiles are actually correct, i.e. previous singleplayer worlds are still there and settings are the same as they were before the update. Otherwise you might have launched a different installation by accident.
Also do not downgrade Minecraft versions (I am not sure if you did based on your report MC-167771). This could lead to data corruption. Instead create separate profiles / installations with different directories in the launcher.
Please attach the log files in case you notice that any suspicious error or warning has been logged.

When I tried to find ".minecraft/" by searching through my computer's files that's what it redirected me to. The only search result sent me to the old launcher, which makes no sense at all, since that launcher has been replaced. I did not do anything to it, I just got the popup I mentioned that wanted me to, and eventually exited it without changing anything, because using the old launcher would make no sense.
I only have 1 Minecraft account, and I only have it installed once, on my one computer. I just tried to check my singleplayer worlds, using the instance set to the most recent update (1.15.1) and when I tried to click the play button a big error window saying "Error Launching the game failed!" appeared on two different lines, instead of opening the game. I've only ever used singleplayer worlds for testing updates when they come out (like how I'd initially planned on finding beehives in a new world, right after I checked if any of my servers were 1.15-compatible, when I discovered all my servers were gone) and I've never seen an error like this before, but I guess it means I can't play the game at all now.
I did not downgrade the profile I was using, that's not what I said. I switched to a different instance/profile/whatever you even call the separate little named icons (such as a furnace and whatnot) that can be made, each with their own version and settings attached, to see if it was just the one for 1.15 that had removed my servers, or if the other ones had it gone as well. I did not try more than the two (one with 1.15 and one with 1.14.2) just in case it was some sort of corruption I was spreading by opening them. I believe they are under the installations tab under the launcher but at no point should any of them have a different server list from any other, or even a different set of worlds, as far as I know. They certainly never have before.
I do not know how to attach log files but by now I bet it'd be too late. It's been weeks since the problem occurred, I've shut down and restarted my computer multiple times, and I even updated it once. The only thing that was abnormal the first time I opened the launcher and discovered this issue (aside from the deletion itself) was the launcher didn't fit the screen right/loaded weirdly, so I had to move it around and resize it manually so it'd look more normal again. I was having issues with my internet at the time so downloading the 1.15 update also took far longer than usual, but I figured it was just the internet issue causing both problems and otherwise proceeded as normal.

Hi, I am experiencing the same problem. it is specific to child profiles (inside the Amazon FreeTime setup) for me.

Still happens in 20w27a

I don't know why, but this didn't work for me. Is there anything else I can do?

I have just experienced a similar, if not the same bug, in Minecraft 1.19.2 after my computer froze mid-game and I had to force shut it down. The strange thing is that I haven't edited my server list any time recently and I don't have any programs that would have modified it. I was playing on a server with server specific resource packs, so if that's linked to servers.dat that could be why the list got corrupted.
After loading the game, noticing the corrupted server list, and closing the game afterwards, my servers.dat is 1kb in size, whereas servers.dat_old is 70kb in size, but when opening it with a text editor it is filled entirely with an invalid character "Nul", except for the one not corrupted server at the top (I'm assuming Minecraft cleans up the corrupted text when it reads the server list). I'll have to test and see what triggers Minecraft to modify the server list and how probable it was that my computer froze while it was actively being modified.
Confirmed in 1.7.4/1.7.3. After refreshing many times in a row (nearly an excessive amount), the server list is wiped of all entries, leaving only the search for LAN servers. I've noticed that they also create a servers.dat_tmp file which isn't used, and showed no contents when I opened it with NBTExplorer. After I copied my backup of my servers.dat file over and opened the Multiplayer screen, my server list was back and the dat_tmp file was deleted.
YouTube Video which demonstrates this but had a tendency to go off topic:
http://www.youtube.com/watch?v=vm67Y7m1Ebc&feature=player_detailpage#t=66