[DEBUG] text is: &l [DEBUG] text is: < [DEBUG] text is: &l [DEBUG] text is: & [DEBUG] text is: [DEBUG] text is: & [DEBUG] text is: &n [DEBUG] text is: &nb [DEBUG] text is: &nbs [DEBUG] text is:   [DEBUG] text is:   [DEBUG] text is: [ERROR] The application has crashed with an unhandled exception. Stack trace: 0 CoreFoundation 0x03774b7c __exceptionPreprocess + 156 1 libobjc.A.dylib 0x038c440e objc_exception_throw + 47 2 CoreFoundation 0x0372d238 +[NSException raise:format:arguments:] + 136 3 CoreFoundation 0x0372d1aa +[NSException raise:format:] + 58 4 Foundation 0x005a3e00 mutateError + 218 5 Foundation 0x005e5592 -[NSString stringByReplacingCharactersInRange:withString:] + 164 6 MemeiPad 0x00065237 -[TiUITextArea textView:shouldChangeTextInRange:replacementText:] + 81 7 UIKit 0x008a6074 -[UITextView keyboardInput:shouldInsertText:isMarkedText:] + 143 8 UIKit 0x008eca7b -[UIKeyboardImpl callShouldInsertText:] + 148 9 UIKit 0x008f4137 -[UIKeyboardImpl addInputString:fromVariantKey:] + 107 10 UIKit 0x008f64f8 -[UIKeyboardImpl handleKeyEvent:] + 1918 11 UIKit 0x007c4e5d -[UIApplication handleEvent:withNewEvent:] + 4631 12 UIKit 0x007bcb3c -[UIApplication sendEvent:] + 71 13 UIKit 0x007c19bf _UIApplicationHandleEvent + 7672 14 GraphicsServices 0x0535c822 PurpleEventCallback + 1550 15 CoreFoundation 0x03755ff4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52 16 CoreFoundation 0x036b6807 __CFRunLoopDoSource1 + 215 17 CoreFoundation 0x036b3a93 __CFRunLoopRun + 979 18 CoreFoundation 0x036b3350 CFRunLoopRunSpecific + 208 19 CoreFoundation 0x036b3271 CFRunLoopRunInMode + 97 20 GraphicsServices 0x0535b00c GSEventRunModal + 217 21 GraphicsServices 0x0535b0d1 GSEventRun + 115 22 UIKit 0x007c5af2 UIApplicationMain + 1160 23 MemeiPad 0x00002e9a main + 362 24 MemeiPad 0x00002571 start + 53 2010-11-23 14:54:28.934 MemeiPad[35235:207] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFString replaceCharactersInRange:withString:]: Range or index out of bounds' *** Call stack at first throw: ( 0 CoreFoundation 0x03774b99 __exceptionPreprocess + 185 1 libobjc.A.dylib 0x038c440e objc_exception_throw + 47 2 CoreFoundation 0x0372d238 +[NSException raise:format:arguments:] + 136 3 CoreFoundation 0x0372d1aa +[NSException raise:format:] + 58 4 Foundation 0x005a3e00 mutateError + 218 5 Foundation 0x005e5592 -[NSString stringByReplacingCharactersInRange:withString:] + 164 6 MemeiPad 0x00065237 -[TiUITextArea textView:shouldChangeTextInRange:replacementText:] + 81 7 UIKit 0x008a6074 -[UITextView keyboardInput:shouldInsertText:isMarkedText:] + 143 8 UIKit 0x008eca7b -[UIKeyboardImpl callShouldInsertText:] + 148 9 UIKit 0x008f4137 -[UIKeyboardImpl addInputString:fromVariantKey:] + 107 10 UIKit 0x008f64f8 -[UIKeyboardImpl handleKeyEvent:] + 1918 11 UIKit 0x007c4e5d -[UIApplication handleEvent:withNewEvent:] + 4631 12 UIKit 0x007bcb3c -[UIApplication sendEvent:] + 71 13 UIKit 0x007c19bf _UIApplicationHandleEvent + 7672 14 GraphicsServices 0x0535c822 PurpleEventCallback + 1550 15 CoreFoundation 0x03755ff4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52 16 CoreFoundation 0x036b6807 __CFRunLoopDoSource1 + 215 17 CoreFoundation 0x036b3a93 __CFRunLoopRun + 979 18 CoreFoundation 0x036b3350 CFRunLoopRunSpecific + 208 19 CoreFoundation 0x036b3271 CFRunLoopRunInMode + 97 20 GraphicsServices 0x0535b00c GSEventRunModal + 217 21 GraphicsServices 0x0535b0d1 GSEventRun + 115 22 UIKit 0x007c5af2 UIApplicationMain + 1160 23 MemeiPad 0x00002e9a main + 362 24 MemeiPad 0x00002571 start + 53 ) terminate called after throwing an instance of 'NSException'