Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-856] Android KS: 'Change' in Scrollable view test crashes, and 'Add' does nothing

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsAndroid
Labelsandroid, defect, regression
ReporterBill Dawson
AssigneeDon Thorp
Created2011-04-15T02:37:56.000+0000
Updated2011-04-17T01:54:27.000+0000

Description

Trace shows the crash (when clicking 'Change') to be NullPointerException in TiUIScrollableView.setViews

Comments

  1. Don Thorp 2011-04-15

    (from [cd13a5bce95f72b251c15e3aa8b8bb802607d77e]) [#856 state:open] I put a patch in to prevent the crash, but bigger problems are afoot. I'm going to move this to 1.4.0 as it's too dangerous to fix the night before the release. The real problem lies in KrollObject. The getter is being added and it returns the value of the object. Then the setter method is added and it wipes out the returned value. Causing the array to be zero length. http://github.com/appcelerator/titanium_mobile/commit/cd13a5bce95f72b251c15e3aa8b8bb802607d77e"> http://github.com/appcelerator/titanium_mobile/commit/cd13a5bce95f7...

  2. Don Thorp 2011-04-15

    Moving back to 1.3.0. Marshall's fix of the regression for other issues. Allows me to continue fairly safely. I was probably too tired to decide to just move it.

  3. Don Thorp 2011-04-15

    (from [0d6e9f6a7ee43756a2e1cba46ed869492ea4528e]) [#856 state:resolved] Jump actually jumps, add is re-enabled, Scrolling works as expected http://github.com/appcelerator/titanium_mobile/commit/0d6e9f6a7ee43756a2e1cba46ed869492ea4528e"> http://github.com/appcelerator/titanium_mobile/commit/0d6e9f6a7ee43...

JSON Source