I just bought Minecraft and downloaded it. When I opened the launcher after logging in, it started downloading, but then just before it finished the download it disappeared and this error popped up:
I tried deleting the launcher, the .minecraft folder, and then re-downloading it but it didn't work either.