Log Question

vodkaman6661

  • Posts: 121
Hi I've been working in stencyl 2.2 for awhile and decided to try my game in stencil 3.1.

When trying to test the game on my device the log viewer gave me this error

[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread Thread-181: null

I've added a copy of the logs to the attachments

Thank you for any help

Tuo

  • *
  • Posts: 2469
Does it stop the game from compiling?

I personally get the NullPointerException all the time. I've just learned to ignore it. It's never caused any actual issues that I can tell.

As for the other one, I really dunno.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

torcado194

  • *
  • Posts: 217
ok so the 3 errors you pointed out are to be ignored. All the stuff in the log attachment is from problems migrating the project to 3.0. Personally i have never gotten any game from 2.x to work on 3.0, so I cant help there besides telling you to try everything listed here: http://www.stencyl.com/help/view/whats-new-30/

If the game is small enough and you really want to use 3.0 I would personally just remake the game. you'll save a lot of time that way usually

captaincomic

  • *
  • Posts: 6108
Quote
[LOG] ../../../../Source/scripts/Design_25_25_Label.hx:104: characters 20-32 : Unexpected setLabelText
[LOG] Behavior Name = Design_25_25_Label
[LOG] Line Num = 104
[LOG] Cols = 20-32
[LOG] Msg =  Unexpected setLabelText
[LOG] ../../../../Source/scripts/Design_25_25_Label.hx:104: characters 20-32 : Missing ;
[LOG] Behavior Name = Design_25_25_Label
[LOG] Line Num = 104
[LOG] Cols = 20-32
[LOG] Msg =  Missing ;
[LOG] ../../../../Source/scripts/Design_25_25_Label.hx:104: characters 32-33 : Unexpected :
[LOG] Behavior Name = Design_25_25_Label
[LOG] Line Num = 104
[LOG] Cols = 32-33
[LOG] Msg =  Unexpected
[LOG] make: *** [build-haxe-i386] Error 1
[LOG] ** BUILD FAILED **

Are you using the old Label behavior from 2.x? If so, you need to replace it with the new one bundled with 3.0.

vodkaman6661

  • Posts: 121
Thanks for the help everyone. :)

At a quick glance I do have the label behaviour in my game along with a couple of other stencyl 2.x behaviours.

I will have to delete them and see what happens, along with following the link that torcado194 posted. Hopefully it will work.

Can the games still be published to the apple ios store in  stencyl 2?