You are here

Object reference not set to an instance of an object

23 posts / 0 new
Last post
rjdavison
Offline
Donator
Joined: 4 years
Last seen: 11 months
Object reference not set to an instance of an object

version V5.0.1.0
LinuxServer Docker image

WEbGrab has been running fine for months and then just noticed that its no longer grabbing the EPG. Just manually checkd the machnie to see the following error...

[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 03/07/2023 18:26:47 done in 3s
[Critical] ^M
Object reference not set to an instance of an object.
[Critical] ^M
at ........ctor(String )
at ..........(String[] )
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /config/WebGrab++.log.txt
[Critical] Execution stopped

Have tried the DNS fix that other posts mentioned with no change. Have tried forcing a license update with no change.

sbilge
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

I am getting same error on "windows 10" since 3 days. I changed DNS servers but same result.

[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V5.0.1.0
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 21/07/2023 00:25:47
[ Debug ]
[ Debug ] Running on: Microsoft Windows NT 10.0.19045.0
[ Debug ] Environment: 6.0.20
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: WG.common.timezone.timezonesdata.txt
[ Debug ] Reading config file: C:\Users\bilge\AppData\Local\WebGrab+Plus\WebGrab++.config.xml
[ Info ] Checking License ..
[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 21/07/2023 00:25:50 done in 3s
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  . ..ctor(String )
at  .․. (String[] )
[Critical] Unhandled Exception

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

there could be a formatting error in config. Download :
https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site...
rename it to WebGrab++.config.xml with notepad++ write license data and channels.

sbilge
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

I tried. But I am getting error. I am always using notepad++.
Thanks for support

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

there are 2 factors when you get that:
1.corrupted config
2.dns problem or network problem
I saw you have file tr.tr try to add extension .xml like tr.tr.xml

sbilge
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

I changed to " c:\epg\tr.xml" but same result.
Firstly, I tried google dns.
https://ibb.co/b5V1gqQ

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

Can you send your config to the author http://webgrabplus.com/content/contact
ask Jan to verify for you. I am currently in vacation, with limited internet access and programs to check your config.

sbilge
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

I sent via e-mail.
Have a nice holidays.
Thanks

viper
Offline
Donator
Joined: 5 years
Last seen: 1 year

I have exactly the same problem with version 3.1.0 on a Windows 10 VM.
I use WebGrab with the Windows Task Scheduler in a Batch file, which is executed one time per day at 20:10 CEST and I wrote the log file also every day.
The problem happened the first time in October 2020, but sometimes only, no big problem.
Since 2023 it happens more often and since mid of July (18.07. in my case) it happens most time.

You can see it in the screenshots where the log file is 1kB of size.
I don't know what changed at this point, but it's really strange.

Further I triggered the scheduled task manually multiple times around 9:00 CEST today and the problem did not occur once.
I changed the time of the scheduled task now to 9:30 CEST for testing and will check if the time of day makes a difference.

UPDATE:
The scheduled task was now triggered at 9:30 CEST the first time and the problem occured again.
I triggered it manually 3 minutes later and now it runs, crazy.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

update atleast to the latest V3.x(V3.3.0)
V3.x isnt being updated anymore(netframework is obsolete and no longer being updated)

better would be to use the latest V5.1.2 beta which requires dontnet 7.

viper
Offline
Donator
Joined: 5 years
Last seen: 1 year

I can reproduce the problem now also manually.
DNS seems to be part of the problem.
If I execute an "ipconfig /flushdns" which deletes the DNS cache on the Windows machine and then starting WebGrab, the problem occurs more often, sometimes not, but most of my tries.
WebGrab hangs then on "Checking license" and the DNS cache shows entries for checkip.dyndns.org.

Is this URL used by WebGrab to determine the current Internet ip address?
Open this URL in Browser sometimes takes multiple seconds till I get a reply.

I think there is a timing problem with that.
Maybe the DNS resolver takes a bit of time and the answer from checkip.dyndns.org takes also a bit of time.
These both in addition take too much time and WebGrab is not waiting long enough for the result.

And if the answer from checkip.dyndns.org alone takes to long, then a faster DNS Server is also not enough to solve the problem.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

thats a question only jan could answer.
i do know that webgrab sends a ping to bing.com to check that a internet connection exists.
if that fails it will also cause the error.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

also the reason i say you should update is this is not a new problem,i just checked the changelog..

28/07/2021
Version 3.2.1 beta
---------------------------------------------------------------------------------------------
- (3.2.0.1) changed : in license, the internet check is replace by a method that uses ping of bing.com

so your version isnt using the ping bing method..

viper
Offline
Donator
Joined: 5 years
Last seen: 1 year

Ok, thanks. Will check that.

k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
k1ara6n
Offline
Joined: 1 year
Last seen: 1 year

Hi, I am using version 5 and installed dotnet version 7, used the config from https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site..., yet I am facing the same issue. I have attached the screenshots for various permissions to the files which are as advised, config and error screenshots. Please can you help me with the same.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

update to v5.1.3
http://webgrabplus.com/download/sw

also try setting your dns to google 8.8.8.8 and 8.8.4.4

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl