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
Related issues
is duplicated by
Attachments
Comments


Confirmed for 17w43b.

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

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....

Quite at the top of the page it tells you "Affects Version/s" where you could theoretically have seen that the versions you guys confirmed as affected were already known/inserted. Fabian just wanted to let you all know where to look the next time so you don't have to unnecessarily confirm. The thing is that everyone who watches bugposts will get an email notification whenever someone writes anything or even just edits their comment. Which means it can get a bit annoying if several people comment or edit unnecessarily 🙂
Just keep an eye in the future on the "Affects Version/s", but really thank you for trying to help 🙂
(PS: In case you or anyone else seeing this bugpost, not knowing how you can run your launcher as long this bug is not fixed:
Start your client, go to "Launch options", click the Snapshot profile, then simply disable the "Resolution" slider like so: https://puu.sh/y7XLD/0582f4d747.png)

Ok, thanks Meri and again Im sorry guys, i was just stressed I think Ill ty it.
Oh it works thanks.

Confirmed for 17w45a.

I too can confirm with Sebastian Cila above, that this still happens on version 17w45a if 'Resolution' is switched ON in launch settings, but if switched off - game will run fine

confirmed for 17w45b. this is an extremely frustrating one not to fix.

Confirmed for 17w46a.

Confirmed for 17w47a

@unknown, you don't have to comment when you can update the affected versions yourself

confirmed for 17w48a

confirmed for 17w49a

confirmed for 17w49b

confirmed for 17w50a

Turning off the resulation does not work for me. It just crashes. Log also does not save.

Then you have a different problem. Try turning on log output.

When booting up the game with the "Resolution" switch on, without even changing the resolution, the launcher gives a pop up saying "Game Crash - An unexpected issue..." while leaving an empty "latest.log". This is on 17w50a.
Edit: I would give the info from "launcher_log.txt" file but it is 14MB. Edit 2: I deleted it and reproduced the crash and was only left with 564KB. Too big for pastebin, what do I do? Edit 3: I added the log file to the ticket.

confirmed for 18w03b

Confirmed for snapshot 18w07b. Same problem.

Crashing with 18w07c too

And 18w08b

Persisting for 18w09a. Can launch without any resolution args but can't customise resolution without it crashing back to the launcher. Zero output or indication as to why this is. Please fix this as it's been an issue throughout and I'd like to play these snapshots.

18w10a also does this. I've uploaded my launcher log to see if it will shed some light on this. There are errors being shown in there that aren't shown as actual errors when viewing the output via the launcher.

Same issue persists, snapshot 18w14b.

Still an issue in 18w15a 😞

Abd 18w16a

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.