mojira.dev
MC-121285

Crash on start when resolution is changed in profile

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

Linked issues

MC-8400 Redstone block and piston not updating Resolved MC-8604 in some computers can't play LAN worlds no appear the LAN world or appear the error connection timed out Resolved MC-8949 Map Enlaging BUGs Resolved MC-8955 Comparators not causing updates Resolved MC-8988 Allocated memory is different than Total available in F3 Menu. Resolved

Attachments

Comments 34

Confirmed for 17w43b.

Christian Francis Core

I think thats whats happening to me as well, I hope they can fix this infuriating bug....

I also had this happen on 17w43a just so you guys know.

can confirm for both 17w43a and 17w43b

Can you people please look at the affected versions? You have now written four redundant confirmations.
Here's a video showing that the launcher launches another launcher when it is set to be kept open when starting the game: https://www.youtube.com/watch?v=s6H6Fx_ZG9w

Christian Francis Core

Fabian what do you want us to do, I tried both versions and no luck, and besides we were just trying to let you guys know.

Edit: Ok, sorry if I was across as rude, I am just stressed out by this whole thing....

24 more comments

Snapshot 18w19a
MacOS 10.13.4 (17E202)
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Enabling resolution no longer crashes, but it does not use the resolution settings (1708x960). Game is still 854x480.

I can confirm this is the case, and no crashes.

[media]

I also tested by completely closing everything and restarting after saving the changes, but it still gets launched with the default resolution, as you can see above.

It seems to work correctly in the updated launcher (2.0.1049)

Confirmed, I've just received the new launcher update, I've been in the 1033 version before, in 18w19a.
All good, thank you πŸ™‚

Confirmed. Launcher did not update earlier, even on restart. Now on 2.0.1051, all better. Thanks.

Phoenix616

michael

Confirmed

Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, ..., Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a

Minecraft 18w19a

Retrieved