Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8342137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:40:58+00:00 2026-06-09T05:40:58+00:00

I have quite possibly the strangest error occurring right now with the video recording

  • 0

I have quite possibly the strangest error occurring right now with the video recording being done in my app. Using AVFoundation, I set everything up in my view to initialize the camera. Everything works fine and dandy, EXCEPT when the device is sitting horizontal facing up or down. I should mention that this is on iPad 2/3.

This is the exception, according to the debugger:

*** AVCaptureFileOutput: ignoring exception '*** -[__NSArrayM objectAtIndex:]: index 0
beyond bounds for empty array' that raised during delegate method

Now, this error is occurring as soon as I click record, and ONLY when the device is face up or face down horizontal. If I then rotate the device, I am able to record normally, even in these two orientations. This leads me to believe that the current/default orientation of the device when the view first appears is affecting the recording. I’m just not sure why this error occurs, and it is not my code – I’ve tried breakpoints for objectAtIndex:, which returned nothing, and I set breakpoints for exception throws, which only led me on a long goose chase through assembly code.

Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:40:59+00:00Added an answer on June 9, 2026 at 5:40 am

    Something like this had happened to me before when I was using UIWebView. Having deduced from the phrase ignoring exception (which I also had seen), your app doesn’t crash, does it? If it doesn’t, then it seems this is an internal error in Apple’s code and you can do two things only: file a bug report to Apple, then do what the system does — just ignore it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quick question/clarification required here. I have a DB table that will quite possibly have
I quite possibly am doing this the wrong way but; I have a list
I've got an app I'm working on and I have quite a bit of
First of all, regular expressions are quite possibly the most confusing thing I have
I have quite a few lines of code that create objects and using various
Using MySQL I need to have a list (possibly long list) of x,y coordinates.
It is quite possible that I may not have got the point, but I
we have quite a lot of RPG-programs here, and we do a lot of
I have quite a complex piece of code (JQuery and HTML5 Web SQL) that
I have quite a few buttons in my application, they vary in sizes based

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.