You are here

Error: at . ..ctor (System.String ) [0x012c0]

43 posts / 0 new
Last post
andeson1994
Offline
Donator
Joined: 2 years
Last seen: 5 months
Error: at . ..ctor (System.String ) [0x012c0]

Hello, my webgrab is experiencing problems, please see the error message below.

Job started at 20/04/2020 17:46:16
Checking License ..
For License request/update data, see WGLicense.log.txt
Job finished at 20/04/2020 17:46:17 done in 1s

Object reference not set to an instance of an object

at . ..ctor (System.String ) [0x012c0] in <6e2df84e6ea44123b52a7d9265f761e5>:0
at .―.  (System.String[] ) [0x00347] in <6e2df84e6ea44123b52a7d9265f761e5>:0
Unhandled Exception
For detailed info, see log file /root/.wg++/WebGrab++.log.txt
Execution stopped

OS: Ubuntu 18 LTS,
Screenshot below.

Thanks for all.

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 6 years
Last seen: 10 hours
andeson1994
Offline
Donator
Joined: 2 years
Last seen: 5 months

Hello, it was working normally, the error has been happening for 4 days. I have the requirements.
thanks

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

i didn't see mono version in your picture, if you have mono force license as per attached picture

Attachments: 
andeson1994
Offline
Donator
Joined: 2 years
Last seen: 5 months

Hi, thanks for your help, I reset my operating system and reinstalled everything again, now it works again.

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

hello mat,
i found you are replying to this case , i tried to download webgrab but also faced the same error
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  . ..ctor(String )
at  .―. (String[] )
[Critical] Unhandled Exception

can you please advise
thank you

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

hello mat,
i found you are replying to this case , i tried to download webgrab but also faced the same error
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  . ..ctor(String )
at  .―. (String[] )
[Critical] Unhandled Exception

can you please advise
thank you

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

make sure you have mono > 5.0

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

what do you mean by mono

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

i am using windows

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

windows 10?

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

windows server 2016

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

Hi mate, just an update this error appear while i tried to get the epg for the below channel
HD7 English

where it works for the other EPG ,

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

Did you install first version 3.0.0 and then the update to 3.0.3 ?
Edit
which site.ini ?

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

i install V3.0.0 from where i can download version 3.0.3

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

please note that same issue with version 3.0.3

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

well if with other siteini works then could be the site ini. which one you have problem with ? Did you add license to config ?

mohamedeid
Offline
Donator
Joined: 2 years
Last seen: 1 month

yes i just add license by adding a line to config file with my account info , but without success , i got the same error

igkovace
Offline
Donator
Joined: 3 years
Last seen: 8 months

Hi,

I think same problem (Raspberry pi 4, mono last version 6.8.0.123), XML creating working for me days before without any problem, today I get invalid XML and when I start manual again working. I have Unlimited license :).

ERROR:
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  . ..ctor (System.String ) [0x012fb] in d1e31ae84b2649d58a4385542203ec5c:0
at  .―.  (System.String[] ) [0x00351] in d1e31ae84b2649d58a4385542203ec5c:0
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /home/pi/wg3/WebGrab++.log.txt
[Critical] Execution stopped

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

strange i also have a PI4 and works fine, what channel were you testing ?Even better iy you attach log

Salokyn
Offline
Joined: 1 year
Last seen: 1 year

Hi,

I get a similar error.

I use linuxserver/webgrabplus docker image on Libreelec 9.6.2 on RPi4.arm.

---
LibreELEC:~/.kodi/userdata/addon_data/docker.linuxserver.webgrabplus/config # docker container exec webgrabplus mono -V
Mono JIT compiler version 6.12.0.107 (tarball Thu Dec 10 05:40:57 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: preemptive
GC: sgen (concurrent by default)
---

Got the following log :

---
LibreELEC:~/.kodi/userdata/addon_data/docker.linuxserver.webgrabplus/config # cat WebGrab++.log.txt
[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V3.1.5.0
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 12/02/2021 05:30:41
[ Debug ]
[ Debug ] Running on: Unix 4.19.127.0
[ Debug ] Environment: 4.0.30319.42000
[ Debug ] Mono version: 6.12.0.107 (tarball Thu Dec 10 05:40:57 UTC 2020)
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: timezone.timezonesdata.txt
[ Debug ] Reading config file: /config/WebGrab++.config.xml
[ Info ] Checking License ..
[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 12/02/2021 05:30:53 done in 11s
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  . ..ctor (System.String ) [0x01367] in <19bf6f65ef814889813448233e5627e5>:0
at  .―.  (System.String[] ) [0x00351] in <19bf6f65ef814889813448233e5627e5>:0
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /config/WebGrab++.log.txt
[Critical] Execution stopped
---

I have just one chanel (for test purpose) in linuxserver/webgrabplus

---
<?xml version="1.0"?>
<settings>

<!-- for detailed info about the settings see http://webgrabplus.com/documentation/configuration/webgrabconfigxml
and http://webgrabplus.com/sites/default/files/downloads/Misc/Documented_Con... -->

<filename>/data/guide.xml</filename>
<mode></mode>
<postprocess grab="y" run="n">rex</postprocess>
<user-agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 Edg/79.0.309.71</user-agent>
<!--<decryptkey site="site-name">decrypt_userkey</decryptkey>-->
<!--<license wg-username="your webgrab+plus username" registered-email="your registered email address" password="optional-password" />-->
<logging>on</logging>
<retry time-out="5">4</retry>
<timespan>0</timespan>
<update>f</update>

<channel update="i" site="telerama.fr.index-only" site_id="192" xmltv_id="TF1">TF1</channel>

</settings>
---

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 6 years
Last seen: 8 hours

try 3.1.4
jan was working on some license stuff yesterday and think he broke something.
i was getting the same error.

Salokyn
Offline
Joined: 1 year
Last seen: 1 year

Sorry, my container had no access to internet ...

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

WebGrab+Plus/w MDB & REX Postprocess -- version V3.1.5.0

Jan van Straaten
Francis De Paemeleere

thanks to Paul Weterings and all the contributing users
--------------------------------------------------------------------------------

Job started at 17/02/2021 18:34:55
Checking License ..
For License request/update data, see WGLicense.log.txt
Job finished at 17/02/2021 18:35:05 done in 10s

Object reference not set to an instance of an object

at  . ..ctor (System.String ) [0x01367] in <19bf6f65ef814889813448233e5627e5>:0
at  .―.  (System.String[] ) [0x00351] in <19bf6f65ef814889813448233e5627e5>:0
Unhandled Exception
For detailed info, see log file /home/hts/.wg++/WebGrab++.log.txt
Execution stopped

Have the same problem for about 1 week. The system has been running for several months now without any problems. I am using Ubuntu Server 20.04. The interesting thing is that if I run the run.sh script again right after the error it works. The bad thing is that my cron job doesn't seem to work anymore because it runs on this error.

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

delete the .lic files, usually /home/ubuntu/.local/share/WebGrab+Plus/License
It is a problem if you run as a user or root, do decide as you want to run and then in config use update license f.
I have seen this problem also if you go back and forth with different versions, so first time of your next run do not run like 3.1.5 and 3.1.3 and then again 3.1.5.3 (bad explanation, hopefully you understand).

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

Unfortunately, it did not help. I deleted the license file. The next time it was run, it was created again.

I also have to say that neither applies to me. If I start the script manually then always under the user who also runs the cronjob.

sudo -u hts /home/hts/.wg++/run.sh

and when I update the version I have never switched to a previous version

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

i do not see mono running.on linux you should have a line with mono:
[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V3.1.5.3
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 17/02/2021 13:35:04
[ Debug ]
[ Debug ] Running on: Unix 5.4.79.7
[ Debug ] Environment: 4.0.30319.42000
[ Debug ] Mono version: 6.12.0.107 (tarball Thu Dec 10 05:44:54 UTC 2020)
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: timezone.timezonesdata.txt
[ Debug ] Reading config file: /home/pi/Desktop/.wg++/./WebGrab++.config.xml
[ Info ] Checking License ..

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

mono -V
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)

mono is installed

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

Please post you config (hide license email and password) and your webgrab log as a file please

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

when i wanted to copy the config i noticed that i still had a decrypt key in there for a site.ini that i don't use anymore. The problems also started around the same time I removed this site from the config. Let's wait until tomorrow. maybe that was already the problem

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

The problem seems to be solved. The cronjob tonight ran through without problems. Note, webgrap does not like it when decrypt keys are entered that are not used ( ;

Thanks for your help mat8861

mat8861
Offline
WG++ Team memberDonator
Joined: 6 years
Last seen: 10 hours
risobp wrote:

The problem seems to be solved. The cronjob tonight ran through without problems. Note, webgrap does not like it when decrypt keys are entered that are not used ( ;
Thanks for your help mat8861

strange for sure it should not affect the process if not in use. So probably was because you had same siteini with key and now you are running new version without key.. right?
Will mention to authors.

risobp
Offline
Donator
Joined: 1 year
Last seen: 1 month

Actually, no. I had the decrypt key from HD+ in it. In the meantime I have changed all my channels to web.magentatv.de. It is really very fast and so far also very reliable.

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

I have my doubt that was the problem. I have in my config all the userkeys and wg runs fine everytime...depite channel line i use. Anyway good you got it sorted.

davidmumar
Offline
davidmumar's picture
Donator
Joined: 2 years
Last seen: 1 month

[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V3.2.0.0
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 27/07/2021 13:15:03
[ Debug ]
[ Debug ] Running on: Unix 4.4.59.0
[ Debug ] Environment: 4.0.30319.42000
[ Debug ] Mono version: 5.20.1.34 (tarball Wed Oct 14 10:29:18 UTC 2020)
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: timezone.timezonesdata.txt
[ Debug ] Reading config file: /volume1/Varios/EPG/epgtemp1/WebGrab++.config.xml
[ Info ] Checking License ..
[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 27/07/2021 13:15:12 done in 8s
[Critical]
Object reference not set to an instance of an object
[Critical]
at  . ..ctor (System.String ) [0x01381] in <129dec1b18b44cf8b0b8a855b00404bf>:0
at  .―.  (System.String[] ) [0x00351] in <129dec1b18b44cf8b0b8a855b00404bf>:0
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /volume1/Varios/EPG/epgtemp1/WebGrab++.log.txt
[Critical] Execution stopped

I'm having intermittent failures when capturing with WebGrab ++

I run it from Synology with Mono version 5.20, I never had this error before, it has been happening since I updated to WebGrab ++ 3.2

Thanks

furious
Offline
furious's picture
Donator
Joined: 1 year
Last seen: 1 day

Upgrade to version 3.2.1, because it was supposed to fix this problem ...
with version 3.2 it was intermittent, but with 3.2.1 it always happens ...

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

this happens when you first run as user and then as root, it also happened with a change of revision. Deleting the .lic files under /home/user/.local/share/WebGrab+Plus/License (user or root) then run update license, it should solve it.

furious
Offline
furious's picture
Donator
Joined: 1 year
Last seen: 1 day

do not change anything, it has always been executed manually as user or by cron, delete the file that I comment and it remains the same ... I stay in 3.2.

davidmumar
Offline
davidmumar's picture
Donator
Joined: 2 years
Last seen: 1 month

Version 3.2.1 works perfectly for me
Thanks a lot

surfcu
Offline
Donator
Joined: 2 years
Last seen: 10 months

Updated to 3.2.1 and still getting this error

user@ubuntu~$ .wg++/run.sh

WebGrab+Plus/w MDB & REX Postprocess -- version V3.2.1.0

Jan van Straaten
Francis De Paemeleere

thanks to Paul Weterings and all the contributing users
--------------------------------------------------------------------------------

Job started at 11/08/2021 01:59:03
Checking License ..
For License request/update data, see WGLicense.log.txt
Job finished at 10/08/2021 22:47:12 done in 0s

Object reference not set to an instance of an object

at  . ..ctor (System.String ) [0x01381] in :0
at  .―.  (System.String[] ) [0x00351] in :0
Unhandled Exception
For detailed info, see log file /home/user/.wg++/WebGrab++.log.txt
Execution stopped

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

did you run force update license ? you can try also to remove manually the .lic files located /home/(user/root)/.local/share/WebGrab+Plus/License/
I also had this error when i updated ubuntu to 20.04 as the network manager (netplan) did not add the google dns, so i had to modify it using resolveconf

surfcu
Offline
Donator
Joined: 2 years
Last seen: 10 months

I ran force update license, removed .lic file and checked dns servers.

Strange thing happenned when I tried to run 3.2 version, it worked.
But 3.2.1 still doesn't work with the same error.

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

try first remove, then force license update also make sure user permission on files

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