[TIMOB-26754] Android: ListView broken in SDK 8+
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-01-28T18:05:13.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Gary Mathews |
Created | 2019-01-20T14:24:33.000+0000 |
Updated | 2019-01-28T18:05:13.000+0000 |
Description
I haven't pinpointed it down so far, but some element of the ListView in SDK 8+ breaks our app. Log:
[ERROR] TiExceptionHandler: (main) [13385,13385] ti:/listview.js:53
[ERROR] TiExceptionHandler: var proxyType = child.type;
[ERROR] TiExceptionHandler: ^
[ERROR] TiExceptionHandler: TypeError: Cannot read property 'type' of undefined
[ERROR] TiExceptionHandler: at processChildTemplates (ti:/listview.js:53:26)
[ERROR] TiExceptionHandler: at UI.createListView (ti:/listview.js:22:6)
[ERROR] TiExceptionHandler: at UIWrapper.invoker [as createListView] (ti:/invoker.js:105:19)
[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/settings/index.js:68:112)
[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:10)
[ERROR] TiExceptionHandler: at Button.openSettings (/alloy/controllers/lunches/footer.js:84:11)
[ERROR] TiExceptionHandler: at Button.value (ti:/events.js:50:21)
[ERROR] TiExceptionHandler: at Button.value (ti:/events.js:102:19)
[ERROR] TiExceptionHandler:
[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:63)
[ERROR] TiExceptionHandler: org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:978)
[ERROR] TiExceptionHandler: org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1207)
[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:265)
[ERROR] TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:102)
[ERROR] TiExceptionHandler: android.os.Looper.loop(Looper.java:193)
[ERROR] TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:6669)
[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)
[ERROR] TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[ERROR] V8Exception: Exception occurred at ti:/listview.js:53: Uncaught TypeError: Cannot read property 'type' of undefined
This issue can be reproduced by cloning [this project](https://github.com/hansemannn/studentenfutter-app).
Comments
- Michael Gangolf 2019-01-21
- Gary Mathews 2019-01-28