Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14357] Android: TiViewProxy and TiCompositeLayout crashes due to NullPointerException

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNeeds more info
Resolution Date2013-07-01T21:01:26.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 14, 2013 Sprint 14 API
ComponentsAndroid
Labelsandroid, nullpointerexception
ReporterKota Iguchi
AssigneeIngo Muschenetz
Created2013-06-24T23:33:00.000+0000
Updated2017-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

FileDateSize
report.txt2013-06-24T23:33:00.000+000013384
report-1.txt2013-06-24T23:33:00.000+000015289

Comments

  1. Kota Iguchi 2013-06-25

    Here's PR: https://github.com/appcelerator/titanium_mobile/pull/4415
  2. Shak Hossain 2013-06-25

    Support is engaged with Lanica team on this. Let us know if there is anything we can add here.
  3. Hieu Pham 2013-06-27

    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.
  4. Kota Iguchi 2013-06-27

    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.
  5. Vishal Duggal 2013-07-01

    Resolving for now. Please reopen when requested info is provided
  6. Lee Morris 2017-03-16

    Closing ticket as the information that was requested was never provided.

JSON Source