You are here

Strange error message when missing xmltv_id

1 post / 0 new
CyberJacob
Offline
Joined: 3 years
Last seen: 3 years
Strange error message when missing xmltv_id

I added a few channels this morning and found a strange error message that occurs if a channel is missing an xmltv_id attribute:

Object reference not set to an instance of an object
  at WGconsole.Program.ConsoleApplication (System.String[] args) [0x01cfa] in <274ad6f9740e441a95b86a1d1148edca>:0
  at WGconsole.Program.Main (System.String[] args) [0x00016] in <274ad6f9740e441a95b86a1d1148edca>:0

While this is not strictly a bug (it was caused by the faulty configuration xml) It would be useful if this could display a more useful error message.

This happens in V2.0.5 and V2.1. mono information for reference:

Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 14 10:53:45 UTC 2016)
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
        LLVM:          supported, not enabled.
        GC:            sgen

 

Brought to you by Jan van Straaten

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