Unexpected Problem - Bug in 3.3 ( Creating game or kit )

Donni11

  • *
  • Posts: 2181
Hello Stencylers I keep getting this Unexpected Problem popping up :

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:74)
   at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:74)
   at javax.swing.SwingWorker$5.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
   at sun.swing.AccumulativeRunnable.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
   at javax.swing.Timer.fireActionPerformed(Unknown Source)
   at javax.swing.Timer$DoPostEvent.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
   at stencyl.core.lib.Game.getAllAtlasResources(Game.java:1947)
   at stencyl.core.lib.Game.getResourcesForAtlas(Game.java:2772)
   at stencyl.sw.io.write.GameFileWriter.write(GameFileWriter.java:791)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:80)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:48)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:16)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

__________________________________
Here are the full logs :

« Last Edit: June 09, 2015, 06:00:37 am by Donni11 »
Peace

Donni11

  • *
  • Posts: 2181
 :( Sigh , I keep getting this bug ...
Peace

Mineat

  • Posts: 379
How did it happen? That way, we can have the log file figured out.

Donni11

  • *
  • Posts: 2181
I don't know , it just keeps popping up .
Peace

Donni11

  • *
  • Posts: 2181
I heard it's fixed in the latest private build ...
Peace

Jon

  • *
  • Posts: 17524
We need at least some kind of info on what you were doing before the error happened. It's understandable if you can't be 100% precise, but surely you remember what area of the app you were using when this happened (since you do say that this keeps coming up). Or were you trying to save the game?

Donni11

  • *
  • Posts: 2181
Okay , when I type in the name of the game and a second after I press  " Create " it pops up .
I think this topic might be similar : http://community.stencyl.com/index.php/topic,41622.0/topicseen.html
and this http://community.stencyl.com/index.php/topic,41372.0.html ...
Peace

Jon

  • *
  • Posts: 17524
So you create a new game, enter in the name, click create and it errors out, correct? And this happens 100% of the time you try to do this?

Could you re-run the app as an administrator (right-click icon and it will be in the menu) and see if the error goes away?

gdog105

  • Posts: 87
I get the error to after creating new game

Donni11

  • *
  • Posts: 2181
Hi Jon , when I run this as administrator I  Can create a new game and I don't get the * Error *  :) . But when I try to create a kit I now do get the error again  :(  .
Peace

Jon

  • *
  • Posts: 17524
That's good info to know. And to double-check, are you able to edit and save games properly if you do NOT run Stencyl as an administrator? It seems strange that you'd be able to do those since they involve the same permissions.

Donni11

  • *
  • Posts: 2181
That's good info to know. And to double-check, are you able to edit and save games properly if you do NOT run Stencyl as an administrator? It seems strange that you'd be able to do those since they involve the same permissions.
Its strange , now it lets me edit and save games properly even when I'm NOT running as an administrator . But as I said before with my normal account or administrator it does NOT let me create kits .
Also I heard this was fixed in the latest version http://community.stencyl.com/index.php/topic,41372.msg233727.html#msg233727           ( last post ).

« Last Edit: June 10, 2015, 02:33:03 pm by Donni11 »
Peace

captaincomic

  • *
  • Posts: 6108
Do you still have this problem with 3.3.1?

Donni11

  • *
  • Posts: 2181
No , I can create a kit but I can't upgrade a kit .
Peace