Questions tagged [nsexception]

NSException is a Mac Developer Library class used to implement exception handling and contains information about an exception.

NSException is a Mac Developer Library class used to implement exception handling and contains information about an exception.

It is available in OS X v10.0 and later and is declared in NSException.h

259 questions
1
vote
1 answer

terminating with uncaught exception of type NSException - Xcode

I'm using Xcode 6.4 and get the following error when trying to use a use a back button I hard coded: 2015-07-01 22:41:47.082 oby[14979:280903] -[oby.PhotoViewController popView]: unrecognized selector sent to instance 0x7f8112f24d90 2015-07-01…
jape
  • 2,861
  • 2
  • 26
  • 58
1
vote
0 answers

performSegueWithIdentifier not working properly with swift

I am currently trying to segue to a different view controller when a button is pressed. The button's action method is called correctly, but when it calls the perform segue with identifier it crashes the app and says "terminating with uncaught…
arotc7
  • 11
  • 1
1
vote
2 answers

Objective-C : appending a NSString to NSException reason

I am working on some API (Crittercism) to report handled exceptions in the client to server. The client API takesNSException as the input parameter. I have to add some application context info string(NSString) also to theNSException before calling…
Sinu Varghese
  • 800
  • 1
  • 14
  • 39
1
vote
1 answer

Terminating exception type of NSException

I am receiving the following error when compiling my code. I am trying to connect to a sqlite 3 database and upon text entered into the UIAlertView save that to the table, creating a new list.Any and all help is much appreciated I have spent hours…
chrisotto6
  • 150
  • 1
  • 11
1
vote
3 answers

Objective C - check whether NSString is calculable

I'm programming a calculator in Xcode with Objective C for learning (I am a beginner.). This is inter alia the code I am using (to calculate a NSString). - (IBAction)resultButtonPressed:(id)sender { NSExpression *expression = [NSExpression…
Nooyi
  • 316
  • 2
  • 12
1
vote
0 answers

Thread 1: signal SIGABRT error in Swift - terminating with uncaught exception of type NSException

I have looked for answers to this error but haven't found the answer. When I try to run my app it crashes and this screen pops up https://www.dropbox.com/s/po8h36keeo5dt59/Screenshot%202014-08-20%2016.40.55.png Here is my debug section: 2014-08-20…
1
vote
1 answer

Navigation Bar subview tree might get corrupted issue

i am trying to send the view to next view but when i try to come back to the root page it crashes and say that Navigation Bar subview tree might get corrupted issue - (IBAction)nxtBtn:(id)sender { //here i am sending it to next view... …
1
vote
1 answer

App is throwing an NSException for a variable that does not exist in this view controller?

The Problem: My app has started crashing when I try to launch the Solution Submittal View controller, it throws the following exception which refers to a previous version's variable "projectTitleTextField" which has been replaced with…
1
vote
0 answers

UITableView crashing: Could not find a navigation controller for segue 'ShowDetail'

Relatively new to iOS development, while look at some older material I've been trying to get my segue to move into my detail view from a table view cell. Its throwing this error and then crashing in the iOS simulator: 2014-03-24 19:47:54.151 Craft…
user2858107
  • 53
  • 1
  • 6
1
vote
0 answers

Why don't I see details of UIKit exception in XCode?

I am working on UITableView and beginUpdates,endupdates. Probably some rows or sections or not in sync with dataSource. That is why I get an exception like below: *** Assertion failure in -[UITableView _endCellAnimationsWithContext:],…
frankish
  • 6,738
  • 9
  • 49
  • 100
1
vote
1 answer

Exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 19 beyond bounds [0 .. 18]'

I haver already looked for the other similar post, but none has solved my problem. I get this error: *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 19 beyond bounds [0 .. 18]' I'm…
charliemolain
  • 13
  • 1
  • 1
  • 5
1
vote
0 answers

Exception: Array mutated while being enumerated. What array is it talking about?

I've been bumping my head against the good old, ***Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM: 0x14d5e120> was mutated while being enumerated. I've had to contend with this a couple of times…
mprivat
  • 21,582
  • 4
  • 54
  • 64
1
vote
2 answers

Cannot AddObject to NSMutableArray from Block

I have a feeling that my problem here is really with blocking, but maybe it's something else too. I am trying to forward geocode an address and place the coordinates into an array to use later. An exception is raised down at the bottom when I try to…
TedCap
  • 185
  • 1
  • 1
  • 9
1
vote
1 answer

NSuncaughtexceptionhandler not catching memorywarning crash

I am using below shown code to catch the uncaught exceptions in my app. The handler is not called when i get received memory warning crash but for all the other crashes the handler gets called. Please help me. void…
Karthick
  • 382
  • 1
  • 3
  • 23
1
vote
1 answer

textFieldDidBeginEditing using tags

I'm running into a little issue with my textFieldDidBeginEditing method.. I'm trying to figure out which textfield is being called on to edit so I can decide if I want the view to move up or not to make the field visible. Here is my method, I have…
Jacob
  • 2,338
  • 2
  • 22
  • 39