[TIMOB-10508] Android: java.lang.IllegalStateException: Ambiguous Z-Order
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2017-01-31T17:03:25.000+0000 |
| Affected Version/s | Release 2.1.1 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | api |
| Reporter | Mitchell Amihod |
| Assignee | Eric Merriman |
| Created | 2012-08-13T14:17:23.000+0000 |
| Updated | 2017-03-29T21:32:27.000+0000 |
Description
See attached app.js
Basically seeing Ambiguous Z-Order error when backing up from windowB.
Seems to be related to ScrollView inside of TableViewRow causing issue.
Let me know what other details I can supply.
Fun fact: I have this construct in my app (ScrollView inside TableViewRow) and the app only crashes going back on 4.x. On 2.3.x it does not crash.
Attachments
| File | Date | Size |
| app.js | 2012-08-13T14:17:23.000+0000 | 1354 |
crash log: http://pastie.org/4470756
Also, i'd be interested to know a bit of why this happens if someone could explain what's going on? Why does this only happen when I go back? The windows open & display their content fine - so what is it about going back that triggers this crash? Looking at that area of code "org.appcelerator.titanium.view.TiCompositeLayout$1.compare(TiCompositeLayout.java:162)", I see it's trying to figure stuff out based on zIndex of the elements. I tried applying zIndex to all elements in this example app.js, but it made no difference. tnx
Closing ticket as duplicate.