Skip to main content
Adobe Photoshop Family

8 Messages

 • 

1.3K Points

Sat, Mar 24, 2018 3:05 PM

Lightroom Classic: "An internal error has occurred: ?:0: attempt to index a nil value"

When I delete photographs from catalogue + disc, I am now consistently having the following error dialogue box pop up in LR Classic CC:

"An internal error has occurred: ?:0: attempt to index a nil value"

It appears that LR is carrying out the delete function, however, in order to continue using the program, there is an "OK" checkbox that you must click on.

Responses

7 Messages

 • 

262 Points

3 years ago

Same problem exactly. No luck researching this.

7 Messages

 • 

262 Points

In my case, this error occurs only when deleting images from disk the first time. After that, the error appears not to occur again until I launch Lightroom. I see no ill effects from this. LR updates do not fix this. I have also noticed other odd things about Lightroom Classic CC. It seems that these occur only after it has been running for some time. and the fix is to relaunch it and do what I need to do right away.

One issue is that imports hang. They usually do this right after putting up the progress bar, before any progress is shown. Also, I can monitor my disk activity and I see none. Relaunching LR fixes this. I have seen one large import hang mid stream.

Another issue is that LR often hangs when invoking another editor via the File > Plug-in Extras route. The external editor never gets invoked. LR just hangs.

Another issue is that stitching more than a few large images (42MB say) hangs. This may be a program limitation that is not gracefully handled with an error message.

Another oddity is that after exiting LR, it always seems to take two atempts to relaunch.

Problems that occur after LR has been running a while suggest a memory leak issue that somebody needs to find and stomp out. I may be wrong about this, but it has the earmarks.

I am running Windows 10, latest update.

10 Messages

 • 

234 Points

Version 7.3.1, Windows 10 1803, had this problem about a month.

5 Messages

 • 

220 Points

3 years ago

Same here. On the surface it seems that nothing bad happens, but it is an annoyance. Something is not programmed right and I hope no damage accumulates in the catalog over time.

7 Messages

 • 

262 Points

2 years ago

Same as you. I export all edited images as TIFFs and also as small JPGs that are watermarked. Then move the RAWs to an organized archive of folders for future use. Also, I have XML sidecar files keeping my edit history. So if I lose my catalog I really lose nothing. When I delete from disk by accident, I can restore the RAW file and sidecar file then synchronize the folder and LR picks it up with edits. Neat.

Adobe Administrator

 • 

14.7K Messages

 • 

283.8K Points

2 years ago

Do you have any 3rd party plug-ins installed?

Sr. Product Manager, Adobe Digital Imaging

7 Messages

 • 

262 Points

I have plenty of 3rd party plugins. Tried disabling them to no avail.

12 Messages

 • 

506 Points

I have this issue and don't have a single 3rd party plug-in installed.

8 Messages

 • 

1.3K Points

2 years ago

Yes. Smugmug. DXO. A geotagging app.

1 Message

 • 

80 Points

2 years ago

Hello, I get the same error when deleting images. I do not use 3rd party plugins, error occurs on both systems, one of them is a clean installation. What causes the error is not apparent, after clicking ok, it goes on normally.

5 Messages

 • 

202 Points

2 years ago

I have the same problem as well since the last update. Lightroom Classic version: 7.3 [ 1164630 ]

2 Messages

 • 

74 Points

Me too and just since the update.

7 Messages

 • 

262 Points

2 years ago

Same problem here since before the 7.3 update. No change after the update. I have noticed that after it happens the first time, following image deletes (from disk) execute very fast and without the error. Not sure what triggers it to occur again.

10 Messages

 • 

234 Points

I have the same.  Just the first deletion of one or more pix produces the error.

7 Messages

 • 

262 Points

I eliminated the same problem by durning off the Logitech add-in. I use a Logitecfh keyboard and mouse. In the add-in manager, I turned off all add-ins and restarted LR. That fixed the problem. I then enabled add-ins one by one, exit and restarting LR each time and testing deletes. The Logitech add-in brought the problem back. Sooo...

1 Message

 • 

64 Points

The Logitech add-in also seemed to be the culprit for me!

4 Messages

 • 

130 Points

And me...

1 Message

 • 

60 Points

2 years ago

You might find help here:  
https://forums.adobe.com/thread/346527

10 Messages

 • 

190 Points

2 years ago

Same here. Recently I updated to 7.3.1 hoping the problem was fixed, but the error displays after an attempt to delete a photo. But quite often Lightroom simply freezes when trying to delete.

10 Messages

 • 

190 Points

2 years ago

Today I triggered a manual backup of the catalogue with the "check integrity" option checked. After backup and restart of lightroom I am able to delete photos again without an error.

12 Messages

 • 

506 Points

2 years ago

I make a backup every day for work, and always check integrity. problem still occurs at random.

11 Messages

 • 

186 Points

2 years ago

This reply was created from a merged topic originally titled Impossible to delete photographs in LR Classic CC.

When trying to delete photographs I previously marked as rejected, I get an error message even when trying that for the first time (5000 photographs): "?:0: attempt to index field 'rootFile' (a nil value)". Some of the photographs have been deleted from the disc, but not all of them. All of them remain in the catalog. This has never occurred before the "update" to LR Classic CC.

Adobe Administrator

 • 

498 Messages

 • 

9.6K Points

2 years ago

This reply was created from a merged topic originally titled Impossible to delete photographs in LR Classic CC (merging).

Which version of Lightroom Classic are you using?
Please let us know if the problem persists; we would like to contact you offlist to investigate your catalog.

Thanks,
Sunil

Note: This conversation was created from a reply on: Impossible to delete photographs in LR Classic CC.

11 Messages

 • 

186 Points

2 years ago

You may contact me any time offline. Current version of LR CC classic and MAC OS..