# An Internal Error Has Occurred ?:0 attempt to index a nil value

**URL:** <https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724>\
**Category:** Troubleshooting and Bugs\
**Created:** [September 20, 2025, 7:34pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724 "2025-09-20T19:34:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gatsby1923](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.negativelabpro.com/gatsby1923/32/5804_2.png) [@gatsby1923](https://forums.negativelabpro.com/u/gatsby1923)\
**Post date:** [September 20, 2025, 7:34pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724/1 "2025-09-20T19:34:03Z")

</div>

![Screenshot 2025-09-20 at 3.20.56 PM](https://canada1.discourse-cdn.com/flex029/uploads/negativelabpro/original/2X/a/ac3f6557a623737ec4e670e3591157a62933a389.jpeg) This is getting really annoying and I have tried all the solutions I have seen on the forum… Sometimes it works sometimes it doesn’t sometimes I need to restart lightroom, sometimes I don’t, sometimes I need to restart my mac, sometimes I don’t… and some negatives just don’t want to convert at all… It’s annoying me so much that I gave up on using NLP for my black and white work.

---

<div class="post-metadata">

**Author:** ![Digitizer](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Digitizer](https://forums.negativelabpro.com/u/Digitizer)\
**Post date:** [September 22, 2025, 5:59am UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724/2 "2025-09-22T05:59:07Z")

</div>

Welcome to the forum @gatsby1923

Which versions of software and OS do you work with?

- NLP?
- Lightroom Classic?
- macOS?
- Mac hardware and config?

I’ve had these issues too when I updated to Lightroom Classic v13.5 and tested LrC 14. Going back to LrC 13 eliminated these incidents. My config: NLP 3.1.1 / LrC 13.4 / macOS 14.8.

> [@gatsby1923](#):
>
> some negatives just don’t want to convert

What do you use to capture the negatives?

---

<div class="post-metadata">

**Author:** ![nate](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.negativelabpro.com/nate/32/4_2.png) [@nate](https://forums.negativelabpro.com/u/nate)\
**Post date:** [September 23, 2025, 6:56pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724/3 "2025-09-23T18:56:58Z")

</div>

Hi, can you confirm that you are using the latest version of Negative Lab Pro (v3.1.1)? This error should not be happening on the latest version.

---

<div class="post-metadata">

**Author:** ![whom](https://avatars.discourse-cdn.com/v4/letter/w/7cd45c/32.png) [@whom](https://forums.negativelabpro.com/u/whom)\
**Post date:** [January 23, 2026, 9:42pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occurred-0-attempt-to-index-a-nil-value/9724/4 "2026-01-23T21:42:40Z")

</div>

I just got the error today on a brand new Mac Studio. Here are my attempts, in order, with outcome (all from the same batch of Sony aIV raw files):

Success converting 1 image.  
Error attempting to convert 3 images.  
Success converting over 100 images.  
Error attempting to convert 12 images.

NLP: 3.1.1  
LrC: 15.1.1 release  
macOS: Tahoe 26.2  
Mac Studio 2025, Apple M4 Max, 64GB, 1TB

The error:

`An internal error has occurred.`  
`bad argument #1 to ‘pairs’ (table expected, got nil)`

Edit: Sorry, this looks like a different error now that I’m re-reading. Let me know if I should have posted in another topic.
