1
Resolved Questions / Java? Unexpected problem on thread AWT-EventQueue-0: - WITH TEST GAME
« on: April 11, 2015, 11:33:36 am »
Hi everyone,
My elusive Java issue is back and it completely blocks me from using Stencyl.
Please find the test game and log attached.
I trimmed the game down as much I could to make checking/debugging it easier. I understand that it should not run (I deleted too much for that) but I get the very same error message in the full project as well.
How to reproduce: (it happens on my mac 5/5)
1. Open game “JavaIssue”
2. Test Game (Flash Player)
3. Error message shows up (Encountered errors while building your game…)
Events for 'Scene_1': Unexpected !
from scripts.SceneEvents_0
line: 107
columns: 46-47
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
This happens in the full project as well, not because I’ve deleted stuff.
4. Click OK
5. It goes into “Ouch, this should not have happened…” while opening the scene and that is the end of it
6. Someone hopefully comes up with a smart solution!
Thank you for helping me!
My elusive Java issue is back and it completely blocks me from using Stencyl.
Please find the test game and log attached.
I trimmed the game down as much I could to make checking/debugging it easier. I understand that it should not run (I deleted too much for that) but I get the very same error message in the full project as well.
How to reproduce: (it happens on my mac 5/5)
1. Open game “JavaIssue”
2. Test Game (Flash Player)
3. Error message shows up (Encountered errors while building your game…)
Events for 'Scene_1': Unexpected !
from scripts.SceneEvents_0
line: 107
columns: 46-47
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
Events for 'Scene_1': Unexpected .
from scripts.SceneEvents_0
line: 107
columns: 47-48
This happens in the full project as well, not because I’ve deleted stuff.
4. Click OK
5. It goes into “Ouch, this should not have happened…” while opening the scene and that is the end of it

6. Someone hopefully comes up with a smart solution!
Thank you for helping me!