[TIMOB-26847] Android: Fix stringify of custom TableView row
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-03-26T10:30:40.000+0000 |
| Affected Version/s | Release 7.5.0 |
| Fix Version/s | Release 8.0.1 |
| Components | Android |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2019-02-22T00:47:16.000+0000 |
| Updated | 2020-08-05T14:52:31.000+0000 |
Description
- Prevent exception when
JSON.stringify a custom TableViewRow
TiExceptionHandler: (main) [5645,45992] Attempt to invoke virtual met
hod 'void org.appcelerator.titanium.view.TiUIView.registerForTouch()' on a null
object reference
[ERROR] : TiExceptionHandler:
[ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.h
andleGetView(TiViewProxy.java:594)
[ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.h
andleMessage(TiViewProxy.java:270)
[ERROR] : TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.ja
va:102)
[ERROR] : TiExceptionHandler: android.os.Looper.loop(Looper.java:193)
[ERROR] : TiExceptionHandler: android.app.ActivityThread.main(ActivityThrea
d.java:6669)
[ERROR] : TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method
)
[ERROR] : TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAnd
ArgsCaller.run(RuntimeInit.java:493)
[ERROR] : TiExceptionHandler: com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:858)
master: https://github.com/appcelerator/titanium_mobile/pull/10742 8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10743
[~smohammed] Updated PRs
FR Passed, Waiting on Jenkins builds.
*Closing ticket.* Fix verified in SDK version
8.0.1.v20190325125116}and SDK Version8.1.0.v20190325115012Test and other information can be found at: master: https://github.com/appcelerator/titanium_mobile/pull/10742 8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10743