NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 89 90 91 92 93 Next »
hashtable Exception

 
  • 0 Vote(s) - 0 Average
hashtable Exception
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#1
2004-04-11, 07:12 PM
Sub,

I'm loading a hashtable for the icons like you suggested and it was working fine.  Now that I have them all, however, it seems to throw an exception.  Here is whats in the log:

4/11/2004 3:02:40 PM.010 VERBOSE [2] WeatherTask created
4/11/2004 3:02:40 PM.741 ERROR [2] Error initializing plugin: c:\program files\devnz\gbpvr\plugins\WeatherPlugin.dll
4/11/2004 3:02:40 PM.741 ERROR [2] Exception has been thrown by the target of an invocation.
4/11/2004 3:02:40 PM.741 ERROR [2]   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
  at System.Activator.CreateInstance(Type type, Boolean nonPublic)
  at au..ctor()
4/11/2004 3:02:40 PM.751 VERBOSE [2] CustomTaskSettings.loadAll()

If I comment out some of the icon load statements the exception goes away. Is there some hard limit as to the size of a hashtable?

I am a longtime visual c++ programmer and this is my first venture into C# so forgive the question [Image: smile.gif]
-CodeMonkey
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#2
2004-04-11, 07:18 PM
Can you post the bit of code that is loading the icons? Something is throwing an exception in the constructor. I think its just failed to find a image file or something similar.


PS, I've been c++ for a long time also, on unix/windows. GB-PVR is my first real C# development, and I've decided I quite like it.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#3
2004-04-11, 08:55 PM
Yup that's what is was, a typo in a filename. Thanks.
-CodeMonkey
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Puzzling exception bgowland 2 1,695 2012-03-07, 02:30 AM
Last Post: bgowland
  PluginHelper.SetPlayerMetaData(Hashtable args) not working alibert 12 4,660 2011-01-23, 05:33 PM
Last Post: sub
  PlayAudioFile() throws exception bgowland 2 1,580 2008-10-09, 10:37 PM
Last Post: bgowland
  Error initializing event plugin: Exception has been thrown by the target of an invoca ralphy 1 2,014 2008-01-21, 11:23 PM
Last Post: ralphy
  Exception when querying gbpvr.db3 bgowland 5 2,034 2007-12-16, 07:47 PM
Last Post: bgowland
  Database locked exception bgowland 3 2,043 2007-10-20, 09:24 PM
Last Post: bgowland
  Unhandled exception handling in GB-PVR ubu 7 2,322 2007-02-18, 02:54 AM
Last Post: sub
  exception when calling scheduledRecording.getProgramme().getTitle() (manual rec) betlit 2 1,383 2005-09-23, 03:01 PM
Last Post: betlit

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

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

Linear Mode
Threaded Mode