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

Crash on start when resolution is changed in profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w19a
    • Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07b, Minecraft 18w07c, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a
    • None
    • Confirmed

      When setting the resolution for the snapshot profile the game fails to start and only shows the "Game Crash" message.

      From the launcher_log.txt:

      [1025/174005:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Exception in thread "main" joptsimple.OptionArgumentConversionException: Cannot parse argument '--height' of option width
      	at joptsimple.AbstractOptionSpec.convertWith(AbstractOptionSpec.java:92)
      	at joptsimple.ArgumentAcceptingOptionSpec.convert(ArgumentAcceptingOptionSpec.java:277)
      	at joptsimple.OptionSet.valuesOf(OptionSet.java:223)
      	at joptsimple.OptionSet.valueOf(OptionSet.java:172)
      	at net.minecraft.client.main.Main.main(SourceFile:90)
      Caused by: joptsimple.internal.ReflectionException: java.lang.NumberFormatException: For input string: "--height"
      	at joptsimple.internal.Reflection.reflectionException(Reflection.java:136)
      	at joptsimple.internal.Reflection.invoke(Reflection.java:118)
      	at joptsimple.internal.MethodInvokingValueConverter.convert(MethodInvokingValueConverter.java:48)
      	at joptsimple.internal.Reflection.convertWith(Reflection.java:124)
      	at joptsimple.AbstractOptionSpec.convertWith(AbstractOptionSpec.java:90)
      	... 4 more
      Caused by: java.lang.NumberFormatException: For input string: "--height"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:580)
      	at java.lang.Integer.valueOf(Integer.java:766)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at joptsimple.internal.Reflection.invoke(Reflection.java:116)
      	... 7 more
      

        1. 18w19a.png
          18w19a.png
          461 kB
        2. 2017-10-26 11-58-09.flv
          3.71 MB
        3. 2017-12-11 17-31-08.mp4
          3.27 MB
        4. launcher_log.txt
          640 kB
        5. launcher_log-custom-profile-snapshot-crash.txt
          563 kB

            searge [Mojang] Searge (Michael Stoyke)
            Phoenix616 Phoenix616
            Votes:
            50 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: