[TIMOB-14357] Android: TiViewProxy and TiCompositeLayout crashes due to NullPointerException
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-07-01T21:01:26.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 14, 2013 Sprint 14 API |
Components | Android |
Labels | android, nullpointerexception |
Reporter | Kota Iguchi |
Assignee | Ingo Muschenetz |
Created | 2013-06-24T23:33:00.000+0000 |
Updated | 2017-03-16T20:42:34.000+0000 |
Description
Titanium 3.1.1 on Android crashes at
java.lang.NullPointerException at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:268)
java.lang.NullPointerException at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:513)
based on Matt's 3_1_X_lanica branch. https://github.com/matt-langston/titanium_mobile/tree/3_1_X_lanica
We only have Java stack trace through Crittercism report. We don't have test cases for this but we received lots of crash report for this.
Potential fix for this symptom:
https://github.com/Lanica/titanium_mobile/commit/b7a518f9f59b160c8c60c9e25fd6778b47212f69
Attachments
File | Date | Size |
---|---|---|
report.txt | 2013-06-24T23:33:00.000+0000 | 13384 |
report-1.txt | 2013-06-24T23:33:00.000+0000 | 15289 |
Here's PR: https://github.com/appcelerator/titanium_mobile/pull/4415
Support is engaged with Lanica team on this. Let us know if there is anything we can add here.
I looked at the PR and I think these changes should be made in module land, unless we can find a reproducible test case that exhibits these specific crashes.
Thanks Heiu & Shak, I'm quite not sure what do you mean by 'module land', because this issue is happening solely inside Titanium views. One of Lanica's component is extending/using TiViewProxy, but we are sure our component is *not* crashing because of this. Titanium views are crashing. Let's discuss about it over github, thanks.
Resolving for now. Please reopen when requested info is provided
Closing ticket as the information that was requested was never provided.