Skip to main content
kernelopanico
Participant
July 26, 2022
Answered

Opening the masking panel throws an internal error

  • July 26, 2022
  • 3 replies
  • 2070 views

Dear Adobe Support Community,

 

I've been trying to wrap my head around an error message that is shown each and every time I open the new masking module:

 

An internal error has occurred: ?:0: attempt to perform arithmetic on field '?' (a nil value)

 

Regardless what masking tool I open, Lightroom throws this error. I tried disabling the active plugins but that did not seem ot help. I suspect this is somehow related to a publishing service/plugin, though I tried deactivating/removing each altogether and still no luck.

 

I'm on Win 10, runnning the latest version of Lightroom Classic (11.4.1). Screenshot and system info attached, should they prove helpful.

 

Any help would be appreciated.

 

Thanks,

Kristof

This topic has been closed for replies.
Correct answer kernelopanico

Thabjs Sean, this seemed like a viable path, still no joy, though. What I've tried so far:

 

- I removed all publishing services as well as the plugins, restarted Lightroom = same issue

- I downloaded the publishing service's plugin, did a fresh install and configuration, clicked on "Sync Now" twice afterwards. Sync finihes without any issues. Same error message when I open the Masking module.

 

After fiddling with the midi2lr plugin which lets me use a basic MIDI controller with Lightroom, I was able to narrow down the issue to my plugin configuration. I haven't found the exact culprit just yet but it's safe to say it's something with this plugin.

 

I'll take this up with the plugin's developer but thanks a lot for your swift help and suggestions!

 

Best,
Kristof

 

 

3 replies

Sean McCormack
Community Expert
Community Expert
July 26, 2022

I know that the internal error code is meant to be caught before it actually displays. Does this post help at all?

 

https://community.adobe.com/t5/lightroom-classic-discussions/an-internal-error-occurred-0-attempt-to-index-a-nil-value/m-p/9782623

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
kernelopanico
kernelopanicoAuthorCorrect answer
Participant
July 27, 2022

Thabjs Sean, this seemed like a viable path, still no joy, though. What I've tried so far:

 

- I removed all publishing services as well as the plugins, restarted Lightroom = same issue

- I downloaded the publishing service's plugin, did a fresh install and configuration, clicked on "Sync Now" twice afterwards. Sync finihes without any issues. Same error message when I open the Masking module.

 

After fiddling with the midi2lr plugin which lets me use a basic MIDI controller with Lightroom, I was able to narrow down the issue to my plugin configuration. I haven't found the exact culprit just yet but it's safe to say it's something with this plugin.

 

I'll take this up with the plugin's developer but thanks a lot for your swift help and suggestions!

 

Best,
Kristof

 

 

Sean McCormack
Community Expert
Community Expert
July 28, 2022

It may be related to changes in the SDK for hardware integration for Masking. Good luck with it!

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
Sean McCormack
Community Expert
Community Expert
July 26, 2022

If you create a new temporary catalog and add a few images, does it still happen there? 

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
kernelopanico
Participant
July 27, 2022

Unfortunately, yes. Still no joy, same internal error when I open the masking tool.

Sean McCormack
Community Expert
Community Expert
July 26, 2022

Does turning off the GPU in Edit>Preferences>Performance make a difference? You could also try resetting preferences. The option becomes visible in Edit>Preferences>General when you hold the Alt key. 

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
kernelopanico
Participant
July 26, 2022

Hello Sean,


Thanks for the swift suggestions.

 

I already tried resetting my preferences and that did not help either. Unfortunately, I still get the same error message after I disable the GPU acceleration (and restart Lightroom).

 

Any other ideas?

Sean McCormack
Community Expert
Community Expert
July 26, 2022

Are the graphics card drivers up to date? 

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.