Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaught exception 'CALayerInvalidGeometry', 'CALayer position contains NaN: [nan inf] #26

Closed
WizKIDz opened this issue Jan 13, 2015 · 4 comments

Comments

@WizKIDz
Copy link

WizKIDz commented Jan 13, 2015

Not sure if this could be a specific error to my app but I'm getting this full error message

"Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan inf]"

I am using the modal transition to a uitableview and adding uitableview to [self.animator setContentScrollView:detailViewController.tableView];

If there is any clue on how i might be able to change this i could push it as a fix. but if you think its a simple thing to change it would really help my app. I plan to release it soon!

Great job on this wonderful control!

@zoonooz
Copy link
Owner

zoonooz commented Jan 14, 2015

Hi @WizKIDz ,

I think it should be some value that pass into CGRectMake is not valid. There is someone send email to me about this also, I will look into it.

@surkis
Copy link

surkis commented Jan 20, 2015

Got same crash,
http://i58.tinypic.com/2mhcth4.png

@zoonooz
Copy link
Owner

zoonooz commented Jan 20, 2015

Hi @surkis @WizKIDz ,

I cannot reproduce the issue, could you build simple project that simulate your app structure for me. :(

zoonooz added a commit that referenced this issue Jan 29, 2015
@zoonooz
Copy link
Owner

zoonooz commented Jan 29, 2015

I just add the code that prevent crash from unexpected value like Inf or Nan. If you guys still see the crash happen, please re-open the issue.

@zoonooz zoonooz closed this as completed Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants