Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: application termine without any error ?!

Why are not closing the file after the write and read?  Is there something special with the logic you are showing?

Developer
Posts: 117
Registered: ‎12-03-2010
My Device: Not Specified

Re: application termine without any error ?!

try { ... }  finally { ... }

 

the finally code always exec no matter what exception happen.

So, I did close the file after read / write.  ( just to be secure the put them on finally block to be sure the file will get close no matter what )

 

So, I don't think the close is the issue.

 

 

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: application termine without any error ?!

Could you test with just having save() commented out and then just the load() commented out to narrow down which one is causing the problem.  If I had to guess, it would be the load() that is causing the problem.

Highlighted
Developer
Posts: 117
Registered: ‎12-03-2010
My Device: Not Specified

Re: application termine without any error ?!

load() on my code is simply setting variable data without complexe execution...

Sadly, after comment out load() / save()  the error is still produce.

So, I need keep search where is the problem. ( I will let you know if I found the problem ).

 

My feeling teel me that it is still event stuff get trouble.

I am going to take a close look about bubble / cancel parameter of custom event.

 

 

Thank you very much for the help.