Problems with running my game on stencyl 3.2

anglospanglo

  • Posts: 44
I recently upgraded my mac OS to yosemite, and because of this I had to upgrade my stencyl to 3.2 to build my game. However, since i upgraded, I get long error messages every time I try to build an IPA or test on my phone. Here's a copy of the error message - does anyone have an idea of what could be causing this? The game has been working perfectly fine up until the update and I haven't made any changes

Unexpected problem on thread AWT-EventQueue-0: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:72)
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
   at javax.swing.SwingWorker$5.run(SwingWorker.java:717)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814)
   at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824)
   at javax.swing.Timer.fireActionPerformed(Timer.java:291)
   at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
   at stencyl.sw.util.gfx.ImageUtil.rotate90(ImageUtil.java:371)
   at stencyl.sw.io.write.resource.HXWriter.write(HXWriter.java:251)
   at stencyl.sw.io.write.resource.HXWriter.access$200(HXWriter.java:75)
   at stencyl.sw.io.write.resource.HXWriter$3.doInBackground(HXWriter.java:2267)
   at stencyl.sw.io.write.resource.HXWriter$3.doInBackground(HXWriter.java:2220)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
   at javax.swing.SwingWorker.run(SwingWorker.java:316)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
   at java.lang.Thread.run(Thread.java:695)

messoft

  • Posts: 32
I have the same problem

violaterr

  • Posts: 14
The first thing I would try is to do  a clean install. Remove all of stencyl (export your games first of course) and then reinstall stencyl 3.2 from scratch. I was having some issues with certain games before I did that, which was suggested to me in another thread, and it fixed the problem, let me know how it goes.

captaincomic

  • *
  • Posts: 6108
I think this should be fixed already in the latest private build. Please post your full logs, anyway.

messoft

  • Posts: 32
 I have this errors when I upgrade to 3.2


I click on OK and then...


and then


My logs
https://www.dropbox.com/s/4khhqv7gvmampy6/log-2015-01-27.zip?dl=0

anglospanglo

  • Posts: 44
I think this should be fixed already in the latest private build. Please post your full logs, anyway.

Thanks for your response. How do i get the latest private build? I'll try it again and post my logs once I get access to my Mac again

anglospanglo

  • Posts: 44
Okay, the game is also broken when i try to run it for Android or Flash on my PC. Again, it works perfectly fine on 3.1, but on 3.2 (including the latest nightly build) I get this error over and over for pretty much every actor in my game:

Events for 'Turn2':  Not enough arguments
   from scripts.ActorEvents_7
   line: 83
   columns: 8-28
Events for 'Turn2':  Function 'moveToLayer' requires arguments : layerRefType, layerRef
   from scripts.ActorEvents_7
   line: 83
   columns: 8-28

Justin

  • *
  • Posts: 4716
http://community.stencyl.com/index.php?topic=34780.0

Try cleaning your project and removing the games-generated folder.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)