Details

      Description

      {html}<div><p>Hello,</p>
      <p>when trying to build a grouped table-view on iPhone my
      application throws the exception</p>
      <p>iPhone Simulator 3.1 (139.1), iPhone OS 3.1 (7C144)<br>
      <strong><em>Terminating app due to uncaught exception
      'NSInvalidArgumentException', reason: '</em></strong> -[NSCFString
      appendString:]: nil argument'</p>
      <p>The crash seems to be triggered by the umlaut "ß"
      (html-encoded: ß).</p>
      <p>Code for reproduction (just create a new project and insert into
      app.js):</p>
      <pre>
      <code>Titanium.UI.setBackgroundColor('#000');

      var window = Titanium.UI.createWindow({
      title:'Window',
      backgroundColor:'#fff'
      });

      var tableData = [];

      var section = Ti.UI.createTableViewSection();
      section.headerTitle = 'SectionHeader';

      var umlautRow = Ti.UI.createTableViewRow({title:'Umlaut ß'});
      section.add(umlautRow);

      tableData.push(section);

      var table = Ti.UI.createTableView({
      data:tableData,
      style:Titanium.UI.iPhone.TableViewStyle.GROUPED
      });

      window.add(table);

      window.open();</code>
      </pre>
      <p>Using Titanium Mobile v1.0 / OSX 10.5.8 / iPhone SDK 3.1 and
      3.1.2.</p>
      <p>Got no idea on how to fix this myself, so any help would be
      greatly appreciated.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              christiandöring Christian Döring
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-512
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration