You are here

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

34 posts / 0 new
Last post
andeson1994
Offline
Donator
Joined: 1 year
Last seen: 4 weeks
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: 5 years
Last seen: 1 hour
andeson1994
Offline
Donator
Joined: 1 year
Last seen: 4 weeks

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

mat8861
Offline
WG++ Team memberDonator
Joined: 5 years
Last seen: 1 hour

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

Attachments: 
andeson1994
Offline
Donator
Joined: 1 year
Last seen: 4 weeks

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

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

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: 9 months
Last seen: 3 months

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: 5 years
Last seen: 1 hour

make sure you have mono > 5.0

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

what do you mean by mono

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

i am using windows

mat8861
Offline
WG++ Team memberDonator
Joined: 5 years
Last seen: 1 hour

windows 10?

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

windows server 2016

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

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: 5 years
Last seen: 1 hour

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

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

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

mohamedeid
Offline
Donator
Joined: 9 months
Last seen: 3 months

please note that same issue with version 3.0.3

mat8861
Offline
WG++ Team memberDonator
Joined: 5 years
Last seen: 1 hour

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: 9 months
Last seen: 3 months

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: 1 year
Last seen: 3 weeks

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: 5 years
Last seen: 1 hour

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

Salokyn
Offline
Joined: 2 weeks
Last seen: 2 weeks

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
WG++ Team memberDonator
Joined: 5 years
Last seen: 1 week

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: 2 weeks
Last seen: 2 weeks

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

risobp
Offline
Donator
Joined: 4 months
Last seen: 1 week

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: 5 years
Last seen: 1 hour

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: 4 months
Last seen: 1 week

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: 5 years
Last seen: 1 hour

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: 4 months
Last seen: 1 week

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: 5 years
Last seen: 1 hour

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

risobp
Offline
Donator
Joined: 4 months
Last seen: 1 week

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: 4 months
Last seen: 1 week

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: 5 years
Last seen: 1 hour
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: 4 months
Last seen: 1 week

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: 5 years
Last seen: 1 hour

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.

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