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

Native Development

Reply
Developer
Posts: 108
Registered: ‎09-21-2013
My Device: Blackberry Z10 STL100-1
My Carrier: Movistar

the console gave some errors after i close my app

Hi, im having some errors from the console like this afer i close my app

 

ERROR: Context: Object name=" "Sheet" " [objectId= 132 ] not unrealized
ERROR: Context: Object name=" "TextStyleData" " [objectId= 2 ] not unrealized
ERROR: Context: Object name=" "Page" " [objectId= 133 ] not unrealized
ERROR: Context: Object name=" "TitleBar" " [objectId= 134 ] not unrealized
ERROR: Context: Object name=" "ActionItem" " [objectId= 135 ] not unrealized
ERROR: Context: Object name=" "Container" " [objectId= 136 ] not unrealized
ERROR: Context: Object name=" "DockLayout" " [objectId= 137 ] not unrealized
ERROR: Context: Object name=" "Container" " [objectId= 138 ] not unrealized
ERROR: Context: Object name=" "TextField" " [objectId= 139 ] not unrealized
ERROR: Context: Object name=" "ActionSet" " [objectId= 140 ] not unrealized
ERROR: Context: Object name=" "EngineDocument" " [objectId= 141 ] not unrealized
ERROR: Context: Object name=" "EngineDocument" " [objectId= 142 ] not unrealized
ERROR: Context: Object name=" "TextInputProperties" " [objectId= 143 ] not unrealized
ERROR: Context: Object name=" "ListControl" " [objectId= 144 ] not unrealized
ERROR: Context: Object name=" "MultiSelectHandler" " [objectId= 145 ] not unrealized
ERROR: Context: Object name=" "ActionItem" " [objectId= 146 ] not unrealized
ERROR: Context: Object name=" "StackListLayout" " [objectId= 147 ] not unrealized
AbstractBpsEventHandler: thread has no event dispatcher

 

the last one its normal, but the others doesnt apper until now

what does it mean, do i have to make something?

Developer
Posts: 1,178
Registered: ‎03-20-2013
My Device: Red LE Developer Z10
My Carrier: Fido

Re: the console gave some errors after i close my app

This seems to be pretty normal. It appears that the Cascades dev team are quite sloppy about properly cleaning up when various classes are destroyed, particularly relating to context menus. I have a JIRA logged about half a dozen objects not being "unrealized" every time the Share dialog is displayed and then closed. In short, I wouldn't worry about those messages unless you know that they are objects that YOU are creating and then not deleting properly.


edusal100 wrote:

Hi, im having some errors from the console like this afer i close my app

 

ERROR: Context: Object name=" "Sheet" " [objectId= 132 ] not unrealized
ERROR: Context: Object name=" "TextStyleData" " [objectId= 2 ] not unrealized
ERROR: Context: Object name=" "Page" " [objectId= 133 ] not unrealized
ERROR: Context: Object name=" "TitleBar" " [objectId= 134 ] not unrealized
ERROR: Context: Object name=" "ActionItem" " [objectId= 135 ] not unrealized
ERROR: Context: Object name=" "Container" " [objectId= 136 ] not unrealized
ERROR: Context: Object name=" "DockLayout" " [objectId= 137 ] not unrealized
ERROR: Context: Object name=" "Container" " [objectId= 138 ] not unrealized
ERROR: Context: Object name=" "TextField" " [objectId= 139 ] not unrealized
ERROR: Context: Object name=" "ActionSet" " [objectId= 140 ] not unrealized
ERROR: Context: Object name=" "EngineDocument" " [objectId= 141 ] not unrealized
ERROR: Context: Object name=" "EngineDocument" " [objectId= 142 ] not unrealized
ERROR: Context: Object name=" "TextInputProperties" " [objectId= 143 ] not unrealized
ERROR: Context: Object name=" "ListControl" " [objectId= 144 ] not unrealized
ERROR: Context: Object name=" "MultiSelectHandler" " [objectId= 145 ] not unrealized
ERROR: Context: Object name=" "ActionItem" " [objectId= 146 ] not unrealized
ERROR: Context: Object name=" "StackListLayout" " [objectId= 147 ] not unrealized
AbstractBpsEventHandler: thread has no event dispatcher

 

the last one its normal, but the others doesnt apper until now

what does it mean, do i have to make something?






Developer of Built for BlackBerry certified multiFEED RSS/Atom feed reader and aggregator.  multiFEED Icon

Play nice: Clicking Like Button on posts that helped you not only encourages others to continue sharing their experience, but also improves your own rating on this board. Also, don't forget to accept a post if it solves your problem or answers your question.
Developer
Posts: 108
Registered: ‎09-21-2013
My Device: Blackberry Z10 STL100-1
My Carrier: Movistar

Re: the console gave some errors after i close my app

Oh ok, thanks Smiley Tongue
Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: the console gave some errors after i close my app

for a sheet you can avoid it by implementing onClosed and calling destroy().
another option is to use your main qml as a parent for sheets, the main qml gets destroyed on application exit.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter