I updated to Defold 1.2.124 and can’t launch it anymore. How do I debug this?
Do you get any kind of error when launching? How far do you get? Do you see the splash screen?
It quits almost immediately, 1-2 seconds and doesn’t reach any splash screen. I tried replacing the app by downloading a new copy from defold.com. Also tried rebooting the system a couple of times. No luck
Don’t know if this helps at all but this is a video trying to launch Defold. And no, there is no error message.
What if you open a terminal and execute the application inside Defold.app? Does the terminal output show anything of interest?
This is what I get:
Last login: Sun Apr 1 17:51:54 on ttys000
Hellraiser:~ jrin$ /Applications/Defold.app/Contents/MacOS/Defold ; exit;
INFO:TOOLS: Launcher version e3f2a48e6495946eb8aede3c843471bb037976aa
DEBUG:TOOLS: arg 0: /Applications/Defold.app/Contents/Resources/packages/jre/bin/java
DEBUG:TOOLS: arg 1: -cp
DEBUG:TOOLS: arg 2: /Applications/Defold.app/Contents/Resources/packages/defold-7b3ad804702670db33809955240a5de3671111b8.jar
DEBUG:TOOLS: arg 3: -Xdock:icon=/Applications/Defold.app/Contents/Resources/logo.icns
DEBUG:TOOLS: arg 4: -Xdock:name=Defold
DEBUG:TOOLS: arg 5: -Djna.nosys=true
DEBUG:TOOLS: arg 6: -Ddefold.launcherpath=/Applications/Defold.app/Contents/MacOS/Defold
DEBUG:TOOLS: arg 7: -Ddefold.resourcespath=/Applications/Defold.app/Contents/Resources
DEBUG:TOOLS: arg 8: -Ddefold.version=1.2.124
DEBUG:TOOLS: arg 9: -Ddefold.editor.sha1=7b3ad804702670db33809955240a5de3671111b8
DEBUG:TOOLS: arg 10: -Ddefold.engine.sha1=e3f2a48e6495946eb8aede3c843471bb037976aa
DEBUG:TOOLS: arg 11: -Ddefold.buildtime=2018-03-29T10:03:09.037975
DEBUG:TOOLS: arg 12: -Ddefold.channel=editor-alpha
DEBUG:TOOLS: arg 13: -Djava.ext.dirs=/Applications/Defold.app/Contents/Resources/packages/jre/lib/ext
DEBUG:TOOLS: arg 14: -Djava.net.preferIPv4Stack=true
DEBUG:TOOLS: arg 15: -Dsun.net.client.defaultConnectTimeout=30000
DEBUG:TOOLS: arg 16: -Dsun.net.client.defaultReadTimeout=30000
DEBUG:TOOLS: arg 17: -Djogl.texture.notexrect=true
DEBUG:TOOLS: arg 18: -Dglass.accessible.force=false
DEBUG:TOOLS: arg 19: com.defold.editor.Start
DEBUG:TOOLS: arg 20: (null)
Exception in Application start method
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...99 completed.
[Process completed]
Ok, hmm, so this is something for @mats.gisselson and @Erik_Angelin to follow up on Tuesday when they’re back.
Hi @JRIN! Could you please try again and then mail me (erik.angelin@king.com) todays log file from ~/Library/Application Support/defold
I’d like to know what exception occurred and where.
Hi @Erik_Angelin. The file is unfortunately empty… zero bytes
Very unfortunate. Could you try installing to ~/Applications
instead? Or run via sudo
? Could be a file permission issue…
Nah, no luck with that either… Tried removing the preference file for the editor as well.
Hmm… So, the Defold
executable roughly just starts java
with loads of arguments. Maybe if you start java
explicitly we get some more info? Something like this:
/Applications/Defold.app/Contents/Resources/packages/jre/bin/java -cp /Applications/Defold.app/Contents/Resources/packages/defold-7b3ad804702670db33809955240a5de3671111b8.jar -Xdock:icon=/Applications/Defold.app/Contents/Resources/logo.icns -Xdock:name=Defold -Djna.nosys=true -Ddefold.launcherpath=/Applications/Defold.app/Contents/MacOS/Defold -Ddefold.resourcespath=/Applications/Defold.app/Contents/Resources -Ddefold.version=1.2.124 -Ddefold.editor.sha1=7b3ad804702670db33809955240a5de3671111b8 -Ddefold.engine.sha1=e3f2a48e6495946eb8aede3c843471bb037976aa -Ddefold.buildtime=2018-03-29T10:03:09.037975 -Ddefold.channel=editor-alpha -Djava.ext.dirs=/Applications/Defold.app/Contents/Resources/packages/jre/lib/ext -Djava.net.preferIPv4Stack=true -Dsun.net.client.defaultConnectTimeout=30000 -Dsun.net.client.defaultReadTimeout=30000 -Djogl.texture.notexrect=true -Dglass.accessible.force=false com.defold.editor.Start
Sorry for the crappy formatting!
I’m getting the same “Exception in Application start method”.
Hellraiser:Applications jrin$ /Applications/Defold.app/Contents/Resources/packages/jre/bin/java -cp /Applications/Defold.app/Contents/Resources/packages/defold-7b3ad804702670db33809955240a5de3671111b8.jar -Xdock:icon=/Applications/Defold.app/Contents/Resources/logo.icns -Xdock:name=Defold -Djna.nosys=true -Ddefold.launcherpath=/Applications/Defold.app/Contents/MacOS/Defold -Ddefold.resourcespath=/Applications/Defold.app/Contents/Resources -Ddefold.version=1.2.124 -Ddefold.editor.sha1=7b3ad804702670db33809955240a5de3671111b8 -Ddefold.engine.sha1=e3f2a48e6495946eb8aede3c843471bb037976aa -Ddefold.buildtime=2018-03-29T10:03:09.037975 -Ddefold.channel=editor-alpha -Djava.ext.dirs=/Applications/Defold.app/Contents/Resources/packages/jre/lib/ext -Djava.net.preferIPv4Stack=true -Dsun.net.client.defaultConnectTimeout=30000 -Dsun.net.client.defaultReadTimeout=30000 -Djogl.texture.notexrect=true -Dglass.accessible.force=false com.defold.editor.Start
Exception in Application start method
Hellraiser:Applications jrin$
Alright, thanks for your patience. Seems no one on the team has upgraded to 10.13.4 yet so we’ll do that and see if we can repro it.
I am on 10.13.4 and cannot reproduce with the latest Defold. Tried with various projects in the morning.
I am on 10.13.4 now too, Defold 1.2.124 works as before.
Thanks @Oleg_The_Evangelist and @dmitriy. I guess that rules out the OS version…
@JRIN Created an issue here https://github.com/defold/editor2-issues/issues/1789.
I’m preparing a special build for you with more logging.
Awesome! Thanks @Erik_Angelin.