NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) TV Listings v
« Previous 1 2 3 4 5 … 13 Next »
Unexpected error: System.NullReferenceException:

 
  • 0 Vote(s) - 0 Average
Unexpected error: System.NullReferenceException:
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#1
2015-03-29, 06:25 PM
If I bring up the TV guide while watching live TV, I get the following error after I clear the tv guide. NPVR will lock up shortly after.

2015-03-29 12:04:33.895 [DEBUG][1] TV Listings: Got event PLAYBACK_KEYDOWN System.Windows.Forms.KeyEventArgs
2015-03-29 12:04:33.896 [DEBUG][1] TV Listings: Deactivating...
2015-03-29 12:04:33.897 [DEBUG][1] TV Listings: deactivated.
2015-03-29 12:04:33.898 [DEBUG][1] TV Listings: Dispose()
2015-03-29 12:04:33.901 [DEBUG][1] UiStatic.Dispose()
2015-03-29 12:04:33.903 [ERROR][1] TV Listings: Error disposing resources: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.Drawing.Font'.
2015-03-29 12:04:33.903 [DEBUG][1] TV Listings: Exception details: System.InvalidCastException: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.Drawing.Font'.
at NUtility.SkinHelper.Dispose()
at TVListings.TVListings.DisposeUi()
2015-03-29 12:04:33.903 [DEBUG][1] Hiding OSD.
2015-03-29 12:04:35.606 [DEBUG][1] Client about to request renewal of handle: 140003
2015-03-29 12:04:45.649 [DEBUG][1] Client about to request renewal of handle: 140003
2015-03-29 12:04:55.702 [DEBUG][1] Client about to request renewal of handle: 140003
2015-03-29 12:05:00.175 [ERROR][1] Unexpected error: System.NullReferenceException: Object reference not set to an instance of an object.
at TVListings.TVListings.GetRenderList()
at NextPVR.ControllerForm.Render(Boolean forceRender)
at NextPVR.Program.Main(String[] args)
2015-03-29 12:05:00.275 [ERROR][1] Unexpected error: System.NullReferenceException: Object reference not set to an instance of an object.
at TVListings.TVListings.GetRenderList()
at NextPVR.ControllerForm.Render(Boolean forceRender)
at NextPVR.Program.Main(String[] args)

Any ideas what might be causing this?

Thanks.
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#2
2015-04-02, 05:59 AM
Hi,

can you please check that you're using the latest skin files for the plugin? And what exactly do you mean with "clear the tv guide"?

-alibert
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#3
2015-04-03, 12:53 AM
alibert Wrote:Hi,

can you please check that you're using the latest skin files for the plugin? And what exactly do you mean with "clear the tv guide"?

-alibert

I completely removed the tvlistings, and its skins, and installed the latest off of the wiki. When I say clear, I mean press the back button (or escape key I think it's mapped to).

I can reproduce it, by going to live tv, bring up the guide, scroll to another channel, watch program, and then closing the guide.

2015-04-02 18:46:17.365 [ERROR][1] TV Listings: Error disposing resources: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.Drawing.Font'.
2015-04-02 18:46:17.366 [DEBUG][1] TV Listings: Exception details: System.InvalidCastException: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.Drawing.Font'.
at NUtility.SkinHelper.Dispose()
at TVListings.TVListings.DisposeUi()
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#4
2015-04-07, 01:58 PM
Thanks for your further explanations - I was able to reproduce your problem, trying to fix it for the next version.

-alibert
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#5
2015-04-12, 12:24 PM
Hi,

can you check if the attached version fixes your problem?

-alibert
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#6
2015-05-18, 01:49 AM
alibert Wrote:Hi,

can you check if the attached version fixes your problem?

-alibert

I just updated it, I will let you know what the status is..
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#7
2015-06-01, 05:10 PM
Bluethunder Wrote:I just updated it, I will let you know what the status is..

Well, I'm not sure about the fix for the crash item, but since I've installed the file provided, I'm getting alot of database locked errors again. I had to turn off TVlistings, and see if they go away.

I don't know if this is related to the recent update I did to NPVR, or the recent fix for tvlistings.

2015-05-31 16:08:01.947 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:01.947 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:01.947 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:01.958 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:01.958 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:01.958 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:01.978 [INFO][1] UpdateRecurringRecording(108, 'Bobby Flay's Barbecue Addiction'):
<Rules>
<EPGTitle>Bobby Flay&apos;s Barbecue Addiction</EPGTitle>
<ChannelOID>7792</ChannelOID>
<ChannelName>FOODCHD</ChannelName>
<StartTime>2015-06-04T01:30:00.0000000Z</StartTime>
<EndTime>2015-06-04T02:00:00.0000000Z</EndTime>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
<Quality>0</Quality>
<Keep>0</Keep>
</Rules>

2015-05-31 16:08:04.970 [DEBUG][10] TV Listings: RecordingSchedule: update procedure starting.
2015-05-31 16:08:04.975 [DEBUG][16] TV Listings: RecordingSchedule: update procedure starting.
2015-05-31 16:08:06.800 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:06.800 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:06.800 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, starting schedule update timer.
2015-05-31 16:08:06.819 [DEBUG][1] LoadListingsMatchingTitle(channel=7792,title=Bobby Flay's Barbecue Addiction)
2015-05-31 16:08:06.839 [DEBUG][1] - Potential episode at: 6/3/2015 7:30:00 PM
2015-05-31 16:08:06.850 [DEBUG][1] ...check IsValid()
2015-05-31 16:08:06.850 [DEBUG][1] ...scheduling episode
2015-05-31 16:08:06.877 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:06.877 [DEBUG][17] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:06.877 [DEBUG][25] TV Listings: RecordingSchedule: database file change detected, increasing schedule update timer interval.
2015-05-31 16:08:06.881 [DEBUG][1] - Potential episode at: 6/4/2015 12:30:00 AM
2015-05-31 16:08:06.883 [DEBUG][1] ...check IsValid()
2015-05-31 16:08:06.884 [DEBUG][1] ...already got this episode: EP014109710050
2015-05-31 16:08:06.884 [DEBUG][1] existing status: STATUS_PENDING
2015-05-31 16:08:06.884 [DEBUG][1] existing time: 6/3/2015 7:30:00 PM - 6/3/2015 8:00:00 PM
2015-05-31 16:08:06.884 [DEBUG][1] ...already got this episode scheduled
2015-05-31 16:08:06.884 [DEBUG][1] - Potential episode at: 6/5/2015 11:00:00 AM
2015-05-31 16:08:06.884 [DEBUG][1] ...check IsValid()
2015-05-31 16:08:06.884 [DEBUG][1] ...scheduling episode
2015-05-31 16:08:09.888 [DEBUG][22] TV Listings: RecordingSchedule: update procedure starting.
2015-05-31 16:08:35.031 [ERROR][16] TV Listings: Error reading playback positions from database: database is locked
database is locked
2015-05-31 16:08:35.114 [DEBUG][16] TV Listings: Exception details: System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteTransaction..ctor(SQLiteConnection connection, Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginDbTransaction(IsolationLevel isolationLevel)
at System.Data.Common.DbConnection.BeginTransaction()
at TVListings.BackendImpl.NPVRDatabase.GetPlaybackPositions(Int32 watchedKickInSeconds)
2015-05-31 16:08:35.114 [DEBUG][16] TV Listings: RecordingSchedule: detected change in playback positions.
2015-05-31 16:08:36.909 [ERROR][10] TV Listings: Error reading playback positions from database: database is locked
database is locked
2015-05-31 16:08:36.911 [DEBUG][10] TV Listings: Exception details: System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteTransaction.Commit()
at TVListings.BackendImpl.NPVRDatabase.GetPlaybackPositions(Int32 watchedKickInSeconds)
2015-05-31 16:08:40.000 [ERROR][24] TV Listings: Error reading maximum programme oid from database: database is locked
database is locked
2015-05-31 16:08:40.001 [DEBUG][24] TV Listings: Exception details: System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at TVListings.BackendImpl.NPVRDatabase.GetMaxProgrammeOid()
gEd
Offline

Posting Freak

London
Posts: 3,515
Threads: 100
Joined: Jan 2005
#8
2015-06-01, 08:32 PM
Bluethunder Wrote:Well, I'm not sure about the fix for the crash item, but since I've installed the file provided, I'm getting alot of database locked errors again. I had to turn off TVlistings, and see if they go away.
deselect "update EPG during live TV" in the config and restart the recording service. I would gamble that this will fix the db locking issue
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#9
2015-06-10, 09:01 PM
gEd Wrote:deselect "update EPG during live TV" in the config and restart the recording service. I would gamble that this will fix the db locking issue

I've had that disabled for a very long time..
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  New Unhandled Exception Error snaitaz 1 2,187 2018-12-22, 04:46 PM
Last Post: snaitaz
  3.8.3 web browser tv guide gets: System.Web.HttpException: The current identity (NT deltdick 1 2,718 2016-09-29, 04:17 AM
Last Post: johnsonx42
  DB locked error since 3.3.8 Bluethunder 10 5,510 2014-12-08, 06:58 AM
Last Post: alibert
  Runtime Error - System.Data.SqLite.dll (XMLTvExtras.exe) GoogleRocks! 7 4,803 2014-02-09, 04:23 PM
Last Post: GoogleRocks!
  Database locked error gEd 4 2,661 2014-01-13, 09:28 PM
Last Post: gEd
  Feature Request: Show error/failure message for failed recordings cncb 2 2,152 2011-12-13, 06:01 PM
Last Post: cncb
  JIT error when starting the TV Listing rameijn 5 3,145 2011-07-24, 02:04 PM
Last Post: alibert
  xmltvextras error Northpole 3 2,238 2011-06-14, 10:55 PM
Last Post: Northpole
  .net error. morser 6 3,550 2011-01-16, 03:46 PM
Last Post: alibert

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode