brok85 / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
0 stars 0 forks source link

Force close on "Time is" param for SMS Send #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is my test case for Issue #93. :-)

What steps will reproduce the problem?
1. Create Rule -> Time is -> +Action -> SMS -> SMS Send -> Param
2. Wait as each dialog along the chain has to Force Close

Original issue reported on code.google.com by case.and...@gmail.com on 22 Jun 2010 at 8:07

GoogleCodeExporter commented 9 years ago
This looks like it only occurs on first load of FactoryActions.  Caused by 
"DataTypeIDLookup is already closed".  Seems the database hasn't been opened 
yet so the lookup keys aren't ready.    Thrown when trying to run this line 
from ActivityDlgActionInput.java:

llDynamic = FactoryActions.buildUIFromAction(modelApp, modelAction, 
ruleActionDataOld, this);

Original comment by case.and...@gmail.com on 30 Jun 2010 at 6:51

GoogleCodeExporter commented 9 years ago
Having a hard time reproducing this since I added r784 changes.  This could be 
a similar issue of the database or a cursor is being closed where it shouldn't 
be (see Issue #103 for details.)  Closing unless I run into this problem again 
since the Issue #103 fix.

Original comment by case.and...@gmail.com on 30 Jun 2010 at 11:49

GoogleCodeExporter commented 9 years ago
Re-opening as I ran into the same similar issue last night.

Original comment by case.and...@gmail.com on 1 Jul 2010 at 2:25

GoogleCodeExporter commented 9 years ago
I think this occurs after the display is flipped.  When the display is flipped 
the ActivityMain calls onDestroy() which issues the call to 
UIDbHelperStore.instance().releaseResources(), which closes the database.  From 
that point on calls to the DataType data structures craps out and causes the 
force close.

Original comment by case.and...@gmail.com on 2 Jul 2010 at 8:33

GoogleCodeExporter commented 9 years ago
Awaiting codereview: http://codereview.appspot.com/1725048/show

Original comment by case.and...@gmail.com on 2 Jul 2010 at 9:28

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r793.

Original comment by case.and...@gmail.com on 4 Jul 2010 at 8:33