Sharex: Object reference not set to an instance of an object.

Created on 26 Feb 2019  路  8Comments  路  Source: ShareX/ShareX

After not using shareX for many months I get this error. Program wont start. pls help. already verified integrity of files and deinstalled and reinstalled. same error happening.

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
at ShareX.SettingManager.ApplicationConfigBackwardCompatibilityTasks()
at ShareX.SettingManager.LoadApplicationConfig()
at ShareX.SettingManager.LoadInitialSettings()
at ShareX.Program.Run()
at ShareX.Program.Main(String[] args)

ShareX 12.4.1 (Steam)

error happens after loading ApplicationConfig.json

Bug

All 8 comments

Documents\ShareX\ApplicationConfig.json
Documents\ShareX\Backup\ApplicationConfig.json
Remove these two files.

Getting this error now also.
Have uninstalled and re-installed, and removed all ApplicationConfig.json files.


System.NullReferenceException: Object reference not set to an instance of an object.
at ShareX.SettingManager.ApplicationConfigBackwardCompatibilityTasks()
at ShareX.SettingManager.LoadApplicationConfig()
at ShareX.SettingManager.LoadInitialSettings()
at ShareX.Program.Run()
at ShareX.Program.Main(String[] args)

ShareX 12.4.1 (Release)

Which version was installed before?

"ApplicationVersion": "12.3.1"

Also, windows user account was migrated right before this started to occur.

"The computer will enter the migration phase silently and become sluggish while it moves your user profile from John.Doe to Doe12345. This will cause another reboot."

If you upgraded from 12.3.1 then it don't even have any backward compatibility codes there.

I have the same issue, upgraded from version 11.1
System.NullReferenceException: Object reference not set to an instance of an object.

at ShareX.SettingManager.ApplicationConfigBackwardCompatibilityTasks()
at ShareX.SettingManager.LoadApplicationConfig()
at ShareX.SettingManager.LoadInitialSettings()
at ShareX.Program.Run()
at ShareX.Program.Main(String[] args)

ShareX 12.4.1 (Release)

Same error, when trying to generate thumbnails for mkv file.

System.NullReferenceException: Object reference not set to an instance of an object.

   at ShareX.MediaLib.VideoThumbnailer.GetTimeSlice(Int32 count)

   at ShareX.MediaLib.VideoThumbnailer.TakeThumbnails()

   at ShareX.MediaLib.VideoThumbnailerForm.<>c__DisplayClass12_1.<btnStart_Click>b__0()

edit - it seems any mkv, webm and h.265, vp9 video causes this error

Getting the same problem after 2 days ago. Tried uninstalling, reinstalling, deleting config files etc. It just won't open and no log files ever get made.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monirulalom picture monirulalom  路  3Comments

thelastfantasy picture thelastfantasy  路  3Comments

wilandlane picture wilandlane  路  3Comments

Not-Kris picture Not-Kris  路  3Comments

hikapoo picture hikapoo  路  4Comments