Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Fatal error System.NullReferenceException:Object reference not set to an instance of an object. #183

Open
Spyridion opened this issue May 15, 2023 · 3 comments

Comments

@Spyridion
Copy link

I tried against two different creators and I'm getting the same error. I'm not sure where the error is coming from. Here's the text from the error:
2023-05-14 21:04:44.2044 FATAL Fatal error, application will be closed: System.NullReferenceException: Object reference not set to an instance of an object. at UniversalDownloaderPlatform.MegaDownloader.Plugin.BeforeStart(IUniversalDownloaderPlatformSettings settings) at UniversalDownloaderPlatform.Engine.PluginManager.BeforeStart(IUniversalDownloaderPlatformSettings settings) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.Engine\PluginManager.cs:line 77 at UniversalDownloaderPlatform.Engine.UniversalDownloader.Download(String url, IUniversalDownloaderPlatformSettings settings) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.Engine\UniversalDownloader.cs:line 177 at PatreonDownloader.App.Program.RunPatreonDownloader(CommandLineOptions commandLineOptions) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 128 at PatreonDownloader.App.Program.Main(String[] args) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 68

@xduQuzhen
Copy link

I meet the same problem and solved it.
Your region has blocked the mega service, so you have to add the following command before in cmd before starting download.
You should change port which is your proxy sofrware setting.(7890->yours port)
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:7890

curl https://www.google.com

if curl command return html,it works.

@Spyridion
Copy link
Author

Interesting. It works once I remove my mega credentials. Unfortunately, I'm on windows so I don't have a proxy atm.

@Spyridion
Copy link
Author

Would you know a workaround for windows by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants