Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26300

iOS: Initializing Ti.UI.TextArea crashes app when running on kroll-thread

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.3.0
    • Fix Version/s: Release 7.3.1
    • Component/s: iOS
    • Labels:

      Description

      At version 7.3.0 it seems that the error below appears whereas in version 7.2.0.GA does not.
      Check the above algorithm with the setting “run on main thread” turned off.

      [ERROR] :  Script Error {
      [ERROR] :      column = 28;
      [ERROR] :      line = 228;
      [ERROR] :      message = "Only run on the main thread!";
      [ERROR] :      nativeStack = "3   Foundation 0x00000001109a064f -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 165\n4   UIFoundation    0x00000001228d4e9a -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1178\n5   UIFoundation    0x00000001228d48c2 -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2232\n6   UIFoundation    0x000000012290bb10 _enableTextViewResizing + 228\n7   UIFoundation    0x0000000122910010 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 584\n8   UIFoundation    0x0000000122910064 -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] + 47\n9   UIFoundation    0x000000012293b7f1 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 168\n10  UIFoundation    0x000000012293b346 -[NSTextStorage processEditing] + 372\n11  UIFoundation    0x000000012293af90 -[NSTextStorage endEditing] + 83\n12  UIKit 0x0000000111bb5516 -[UITextView setAttributedText:] + 254\n13  UIKit 0x0000000111bbe833 -[UITextView setText:] + 185\n14    0x000000010dee2f49 -[TiUITextArea textWidgetView] + 393\n15    0x000000010de77bea -[TiUITextWidget init] + 122\n16    0x000000010deafb9c -[TiViewProxy newView] + 236\n17    0x000000010deacc4c -[TiViewProxy view] + 108\n18    0x000000010dead029 -[TiViewProxy view] + 1097\n19    0x000000010dead029 -[TiViewProxy view] + 1097";
      [ERROR] :      sourceURL = "file:///Users/..../Library/Developer/CoreSimulator/Devices/7E9AEA65-E384-4187-B67F-273B159CE8DC/data/Containers/Bundle/Application/B1179AAB-1B97-43D5-8AE9-C1242625E85E/.app/ui/templates/listener.js";
      [ERROR] :      stack = "    at [native code]\n    at tableViewListener(/ui/templates/listener.js:228:28)";
      [ERROR] :  }
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              andreas.pingas Andreas Pingas
              Reviewer:
              Vijay Singh
              Tester:
              Samir Mohammed
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • It looks like Backbone Issue Sync is not enabled for your project.

                  Git Source Code