Question

This question was previously asked Here, but not answered, And failed to find any article on the web that explains this issue.

My app is working fine, but at some point when i startActivityForResult i see 3 logs of webcoreglue: The real object has been deleted.

Now allegedly my app is all ok so far, and i have no idea what and why this message is being logged.

Could someone explain why and when this is happening and what does it mean, before i try and find out what's wrong with my app?

EDIT: On the request for more context, i'm not using any special libs i think, only the Facebok SDK.

My app at the moment is a "Create game" activity which has 3 options, invite players from facebook, invite player by username and add random player.

The invite players from facebook button opens a ListActivity (for result) that returns all the players you select. invite user opens dialog box with EditText and searches the server for the user data. All the selected players appear in a ListView inside the main activity, so add random player just adds an item to that listview.

I belive the error may be, that i'm using a static field in the main activity in which i try to use from the ListActivity.

the ListActivity gets a Parcelable that contains a class which contains 3 ArrayList of image,name and id. that parcable contains all the selected users from all 3 methods. Hope this is enough context, don't know what more can i say as i have no clue of what that log is related to.

EDIT 2: After another search foudn this question which gave a specific solution toa problem

Was it helpful?

Solution

Something went out of scope and it's destructor was called. Search for "The real object has been deleted." showed only a specific solution for a screen rotation artifact and a hack for overriding some of the object destructors. It would be educational to put print statements in your object destructors to see what is getting called and when.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top