{ "id": "61173", "key": "TIMOB-541", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11242", "name": "Release 1.6.0 M09", "archived": true, "released": true, "releaseDate": "2011-02-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:27.000+0000", "created": "2011-04-15T02:31:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "release-1.6.0", "tableview", "tableviewrow", "unicode" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Hello,
\nwhen trying to build a grouped table-view on iPhone my\napplication throws the exception
\niPhone Simulator 3.1 (139.1), iPhone OS 3.1 (7C144)
\nTerminating app due to uncaught exception\n'NSInvalidArgumentException', reason: ' -[NSCFString\nappendString:]: nil argument'
The crash seems to be triggered by the umlaut \"ß\"\n(html-encoded: ß).
\nCode for reproduction (just create a new project and insert into\napp.js):
\n\nTitanium.UI.setBackgroundColor('#000');\n\nvar window = Titanium.UI.createWindow({ \n title:'Window',\n backgroundColor:'#fff'\n});\n\nvar tableData = [];\n\nvar section = Ti.UI.createTableViewSection();\nsection.headerTitle = 'SectionHeader';\n\nvar umlautRow = Ti.UI.createTableViewRow({title:'Umlaut ß'});\nsection.add(umlautRow);\n\ntableData.push(section);\n\nvar table = Ti.UI.createTableView({\n data:tableData,\n style:Titanium.UI.iPhone.TableViewStyle.GROUPED\n});\n\nwindow.add(table);\n\nwindow.open();
\n
\nUsing Titanium Mobile v1.0 / OSX 10.5.8 / iPhone SDK 3.1 and\n3.1.2.
\nGot no idea on how to fix this myself, so any help would be\ngreatly appreciated.
Fixed at some point. Code has been checked into bugtests for\nposterity since there's an actual example provided here.