Lightroom Classic 8.1: Locate missing folder -- An internal error occurred: ?:0: attempt to index field '?' (a nil value)

  • 3
  • Problem
  • Updated 8 months ago
  • (Edited)
LR 8.1 on Windows 10.  All add-ins disabled.  Many (most) of folders have question marks displayed in folders panel.  When I try to locate missing folder, the error appears.  I tried importing a folder fresh and it doesn't make any difference.  Completely dead with LR. Any advice?
Photo of Donald Bernhardt

Donald Bernhardt

  • 2 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 3
Photo of Sumeet Choudhury

Sumeet Choudhury, Employee

  • 57 Posts
  • 21 Reply Likes
Hi Donald,

Greetings !
Thanks for sharing your issue. I was unable to reproduce the issue.

Can you let me know your system configuration?

For that, you can copy paste the "System Info" data that you see in Lightroom Classic under the Help Menu.

Also if possible share us the video of the workflow that you are following to investigate the issue further. Even if you let us know the steps followed by you we can try to reproduce it in-house.

Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 5582 Posts
  • 2223 Reply Likes
You might also need a look at the catalog Sumeet, as most of the reports I've seen are catalog-specific. I've seen a number of cases over the last 6 months or so that throw this error when trying to delete or update photos, but no way of reliably getting it into this state.
Photo of Stephen Leggett

Stephen Leggett

  • 80 Posts
  • 5 Reply Likes
I see this quite often, cannot always guarantee to reproduce it but its likely to occur if you

1. Publish a large smart collection
2. Whilst the publishing is in progress, delete and remove from disk an image

Has been the case for several major releases of Lightroom, running on a Mac
Photo of John R. Ellis

John R. Ellis, Champion

  • 5042 Posts
  • 1420 Reply Likes
I'm pretty confident the issue with deletion of photos has an unrelated cause: 

The error message "An internal error occurred: ?:0: attempt to index field '?' (a nil value)" arises from a very common programming error (referencing a non-existent / nil object).
Photo of Stephen Leggett

Stephen Leggett

  • 80 Posts
  • 5 Reply Likes
In both cases code is dealing with not being able to find an image reference in the catalog, but agree that they could well be different elements of code.

PS. Could lend Adobe one of my SQL manuals if that would help :)
Photo of Darryl Brooks

Darryl Brooks

  • 1 Post
  • 0 Reply Likes
I also get this quite often. Usually, but not always when deleting or moving an image. Impossible to duplicate. I have just created a new catalog in reimported all images and this did not help.