Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-76045

Clicking on non-existing link target or deleted screenshot gives error


    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.8.2-pre1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 15w44b
    • Fix Version/s: Minecraft 15w49a
    • Confirmation Status:
      Community Consensus


      I know the way Minecraft currently acts in this case is correct but still maybe irritating for some.

      When you make a screenshot, delete it and then click on the link in the chat you get this error message:

      [17:42:42] [Client thread/ERROR]: Couldn't open link
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
      	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
      	at bxf.a(SourceFile:481) [1.8.2-pre1.jar:?]
      	at bxf.a(SourceFile:303) [1.8.2-pre1.jar:?]
      	at bvw.a(SourceFile:127) [1.8.2-pre1.jar:?]
      	at bxf.k(SourceFile:405) [1.8.2-pre1.jar:?]
      	at bvw.k(SourceFile:105) [1.8.2-pre1.jar:?]
      	at bxf.p(SourceFile:382) [1.8.2-pre1.jar:?]
      	at bst.r(SourceFile:1488) [1.8.2-pre1.jar:?]
      	at bst.at(SourceFile:884) [1.8.2-pre1.jar:?]
      	at bst.a(SourceFile:321) [1.8.2-pre1.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:124) [1.8.2-pre1.jar:?]
      Caused by: java.io.IOException: Failed to open file:/####/AppData/Roaming/.minecraft/screenshots/2015-01-01_17.42.30.png. Error message: Das System kann die angegebene Datei nicht finden.
      	at sun.awt.windows.WDesktopPeer.ShellExecute(Unknown Source) ~[?:1.8.0_25]
      	at sun.awt.windows.WDesktopPeer.browse(Unknown Source) ~[?:1.8.0_25]
      	at java.awt.Desktop.browse(Unknown Source) ~[?:1.8.0_25]
      	... 14 more

      instead of any kind of feedback in the client or just a message that this file doesn't exist. (Which could be accomplished by just testing if this file exists before opening it...)

      Sorry that the message there ("Das System kann die angegebene Datei nicht finden.") is in German, it basically means that the OS wasn't able to find the given file.


          Issue Links



              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                marcono1234 [Helper] Marcono1234
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: