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

Related issues

MC-8400 Redstone block and piston not updating MC-8604 in some computers can't play LAN worlds no appear the LAN world or appear the error connection timed out MC-8949 Map Enlaging BUGs MC-8955 Comparators not causing updates MC-8988 Allocated memory is different than Total available in F3 Menu. MC-9149 13w05b Server @p argument for join team isn't working MC-9233 Unable to place snow on top of upside-down slabs/stairs MC-121392 17w43a and b Crashing on opening MC-121393 [Java] [Linux] "Launch failed" error MC-121412 Minecraft 1.13 snapshots crash on launch. MC-121478 Game crashes when launched with enlarged window MC-121524 17w43b crashes at start when Resolution has been specified in Launch Options MC-121738 Minecraft 1.13 Snapshots Crash on Launch MC-121922 Game crashes on launch MC-121960 Exception in thread "main" joptsimple.OptionArgumentConversionException: Cannot parse argument '--height' of option width MC-122356 Crash when changing resolution from base resolution in launch settings MC-122719 17w45b(+) cannot startup if you enable "resolution" in launcher MC-122936 Minecraft Crashes when Starting in a diffrent Resolution then the Standard MC-123156 Error in dxva_video_decode_accelerator_win.cc on line 345 MC-123200 17w50a Crashs When Loading MC-123204 Minecraft crashes when loading with custom resolution set in launcher MC-123279 Crash on startup with user-defined resolution in the profile MC-123573 Snapshots won't start MC-124710 Game crash after pressing play no crash log created. MC-124862 Can't launch snapshots MC-124929 Instant crash with defined resolution in launcher MC-125731 Game Instantly crashes as I press play. MC-126478 Cant play Latest Snapshots MC-126570 Can't Launch Minecraft when width and height properties set. MC-127608 Unable to open 18w11a MC-127957 Game crashes when trying to play on snapshots MC-128097 The Game Crash with a Custom Resolution MC-128443 Resolution Issue MC-128837 HD Crash MCL-8400 Potential Crash From Launcher For Screenshot MCL-8604 Launcher does not work with custom options (like 'minecraft screen resolution') in 1.13 snapshot profiles MCL-8949 An unexpected issue occurred MCL-8955 Minecraft crashes on startup MCL-8988 Cannot set resolution MCL-9149 Minecraft does crash if I change the resolution MCL-9233 Game Crash

Attachments

Comments

migrated
[media][media][media][media][media]
EchoBlade

Confirmed for 17w43b.

migrated

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.

migrated

can confirm for both 17w43a and 17w43b

FaRo1

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

migrated

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

migrated

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)

migrated

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

Oh it works thanks.

EchoBlade

Confirmed for 17w45a.

migrated

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

migrated

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

EchoBlade

Confirmed for 17w46a.

migrated

Confirmed for 17w47a

SunCat

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

migrated

confirmed for 17w48a

migrated

confirmed for 17w49a

migrated

confirmed for 17w49b

migrated

confirmed for 17w50a

migrated

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

FaRo1

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

migrated

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.

migrated

confirmed for 18w03b

migrated

Confirmed for snapshot 18w07b. Same problem.

migrated

Crashing with 18w07c too

migrated

And 18w08b

migrated

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.

migrated

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.

migrated

Same issue persists, snapshot 18w14b.

JochCool

Still an issue in 18w15a 😞

migrated

Abd 18w16a

migrated

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.

migrated

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.

migrated

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

migrated

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

migrated

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

migrated

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