[Banshee-List] Inconsistent bug when accessing DapDevice attribute
- From: "Richard Bailey" <rmjb mail com>
- To: banshee-list gnome org
- Subject: [Banshee-List] Inconsistent bug when accessing DapDevice attribute
- Date: Wed, 4 Jul 2007 22:30:01 -0400
I'm running into a strange bug when working on my plugin
I've attached a listener to SourceManager.SourceAdded and when it's called I test if the source passed in the EventArgs is a DapSource and work with it from there.
My strange behaviour is that I get a NullReferenceException when I access the ID property of the DapDevice object when I plugin my dap while banshee is running
but if I have my device already plugged in and THEN launch banshee, everything works fine
Is there a process that populates the DapDevice objects with information "gradually" that maybe I'm pre-stepping?
I always successfully access the Name property of the DapDevice object though.
Reporter: What is your opinion on the obesity problem?
King: I prefer it to the famine problem
- Wizard of ID
] [Thread Prev