Stencyl doesn't start up

ernestotrajano

  • Posts: 3
Hi all!

I'm having a problem with Stencyl: it doesn't start up! The icon bumps once and nothing else happens. On the log I see the following message

2/7/14 15:04:11.621 com.apple.launchd.peruser.501[134]: ([0x0-0x882882].Stencyl[29077]) Exited with code: 1

When I try to start the application using the command line, the exception I get is the following (file is attached):

java -Xms64m -Xmx1536m -Djava.library.path=lib -jar sw.jar
[LOG] The Stencyl workspace is:
[LOG] Log file 'logs/02-07-2014_0305_PM.log' created/opened.
[LOG] Mirroring logs to the standard output...
[LOG] Current Working Directory: /Applications/Stencyl
java.awt.IllegalComponentStateException: The dialog is decorated
   at java.awt.Dialog.setBackground(Dialog.java:1355)
   at stencyl.sw.Splash.<init>(Splash.java:62)
   at stencyl.sw.Splash.splash(Splash.java:217)
   at stencyl.sw.Splash.displaySplash(Splash.java:263)
   at stencyl.sw.Splash.displaySplashFirstTime(Splash.java:249)
   at stencyl.sw.Launcher.main(Launcher.java:92)
java.awt.IllegalComponentStateException: The dialog is decorated
   at java.awt.Dialog.setBackground(Dialog.java:1355)
   at stencyl.sw.Splash.<init>(Splash.java:62)
   at stencyl.sw.Splash.splash(Splash.java:217)
   at stencyl.sw.Splash.displaySplash(Splash.java:263)
   at stencyl.sw.Splash.displaySplashFirstTime(Splash.java:249)
   at stencyl.sw.Launcher.main(Launcher.java:92)
[LOG] Unexpected problem on thread main: The dialog is decorated
[LOG] Closing log file 'logs/02-07-2014_0305_PM.log'...

My computer's configuration is the following:

- MacBook Pro (Intel core i5)
- Mac OS X 10.9.1 - Mavericks
- java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Does someone knows what may be happening?

Many thanks in advance for any help.

Cheers,
Ernesto

ernestotrajano

  • Posts: 3
Any hints about what may be happening?

Cheers

mdotedot

  • Posts: 1654
Hi Ernestotrajano,

I'm on Mavericks as well.

Try with another java:

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

Best regards from
M.E.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

ernestotrajano

  • Posts: 3
Hi M.E.,

many, many thanks! Stencyl now works perfectly.

For those with the same problem, I've found Java 6 here:

http://support.apple.com/kb/DL1572?viewlocale=en_US

Best,
Ernesto