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

  • 2
  • Problem
  • Updated 4 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

  • 1 Post
  • 0 Reply Likes

Posted 4 months ago

  • 2
Photo of Sumeet Choudhury

Sumeet Choudhury, Employee

  • 41 Posts
  • 13 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.

Regards,
Sumeet
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4854 Posts
  • 1880 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

  • 73 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

  • 4280 Posts
  • 1138 Reply Likes
I'm pretty confident the issue with deletion of photos has an unrelated cause: https://feedback.photoshop.com/photoshop_family/topics/-an-internal-error-has-occurred-0-attempt-to-... 

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

  • 73 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 :)