Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: isfinite(coefficient)' crash

Tags:

iphone

crash

I get this crash report of which I cannot get the line in my code by symbolicating:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason:
'Invalid parameter not satisfying: isfinite(coefficient)'

I searched my code for both function isfinite and variable coefficient and of course I found none. The crash was attributed to System 7.1.2 on iPhone6,1

What might have determined it?

like image 326
Fabrizio Bartolomucci Avatar asked Aug 07 '14 08:08

Fabrizio Bartolomucci


1 Answers

I had the same issue and discovered it was an issue with auto layout not being able to satisfy constraints.

For me this was solved by removing proportional size constraints which couldn't be satisfied when their corresponding view was hidden.

If you need to keep the constraints, consider to lower their priority.

like image 193
Timothy Avatar answered Oct 13 '22 01:10

Timothy