Click here to Skip to main content
15,908,675 members
Home / Discussions / C#
   

C#

 
AnswerRe: inheriting from tabPage class Pin
Ed.Poore1-Jun-06 13:26
Ed.Poore1-Jun-06 13:26 
QuestionCodeDom question Pin
Pablo Hernandez Valdes1-Jun-06 11:11
Pablo Hernandez Valdes1-Jun-06 11:11 
AnswerRe: CodeDom question Pin
Dustin Metzgar1-Jun-06 11:27
Dustin Metzgar1-Jun-06 11:27 
QuestionData Source Wizard for SQL [modified] Pin
PyroManiak1-Jun-06 11:10
PyroManiak1-Jun-06 11:10 
AnswerRe: Data Source Wizard for SQL Pin
Ed.Poore1-Jun-06 13:19
Ed.Poore1-Jun-06 13:19 
GeneralRe: Data Source Wizard for SQL Pin
PyroManiak1-Jun-06 18:55
PyroManiak1-Jun-06 18:55 
Questionjust-in-time (JIT) error Pin
keroed_edmond1-Jun-06 11:00
keroed_edmond1-Jun-06 11:00 
AnswerRe: just-in-time (JIT) error Pin
Ed.Poore1-Jun-06 13:17
Ed.Poore1-Jun-06 13:17 
keroed_edmond wrote:
System.NullReferenceException: Object reference not set to an instance of an object.
at MySerialPortReader.CallAccountingService.doInsert( IEnumerable arr)
at MySerialPortReader.MainFrame.RecvTimer_Tick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dw

That's the important bit, ignore the rest it's mostly waffle.  You're trying to access a null object in CallAccountingService.doInsert.  You'll have to step through the code if you don't know off-hand what's causing this.  If it seems completely random could it be something to do with the serial port not receiving some data or something like that where it only happens once in a while.

Start with objects that are only dealt with inside the CallAccountingService.doInsert function first since variables dealt with in more than one of the listed functions are less likely to be the cause.  Although it all depends on how you've written and structured the code.



You know you're a Land Rover owner when the best route from point A to point B is through the mud.

Ed
GeneralRe: just-in-time (JIT) error Pin
keroed_edmond1-Jun-06 14:16
keroed_edmond1-Jun-06 14:16 
GeneralRe: just-in-time (JIT) error Pin
Ed.Poore1-Jun-06 23:13
Ed.Poore1-Jun-06 23:13 
GeneralRe: just-in-time (JIT) error [modified] Pin
keroed_edmond3-Jun-06 9:49
keroed_edmond3-Jun-06 9:49 
GeneralRe: just-in-time (JIT) error Pin
Ed.Poore3-Jun-06 11:07
Ed.Poore3-Jun-06 11:07 
GeneralRe: just-in-time (JIT) error Pin
keroed_edmond3-Jun-06 12:15
keroed_edmond3-Jun-06 12:15 
GeneralRe: just-in-time (JIT) error Pin
Ed.Poore3-Jun-06 13:35
Ed.Poore3-Jun-06 13:35 
GeneralRe: just-in-time (JIT) error Pin
Ed.Poore3-Jun-06 13:39
Ed.Poore3-Jun-06 13:39 
GeneralRE:MITEL RS232 Pin
keroed_edmond12-Jun-06 8:52
keroed_edmond12-Jun-06 8:52 
GeneralRe: RE:MITEL RS232 Pin
Ed.Poore12-Jun-06 9:03
Ed.Poore12-Jun-06 9:03 
GeneralRe: RE:MITEL RS232 Pin
keroed_edmond12-Jun-06 15:45
keroed_edmond12-Jun-06 15:45 
GeneralRe: RE:MITEL RS232 Pin
Ed.Poore12-Jun-06 23:40
Ed.Poore12-Jun-06 23:40 
GeneralRe: RE:MITEL RS232 Pin
keroed_edmond13-Jun-06 12:29
keroed_edmond13-Jun-06 12:29 
GeneralRe: RE:MITEL RS232 Pin
Ed.Poore14-Jun-06 3:13
Ed.Poore14-Jun-06 3:13 
GeneralRe: RE:MITEL RS232 Pin
keroed_edmond14-Jun-06 5:21
keroed_edmond14-Jun-06 5:21 
GeneralRe: RE:MITEL RS232 Pin
Ed.Poore14-Jun-06 6:18
Ed.Poore14-Jun-06 6:18 
QuestionListView Question Pin
teejayem1-Jun-06 10:11
teejayem1-Jun-06 10:11 
AnswerRe: ListView Question Pin
Wjousts1-Jun-06 11:05
Wjousts1-Jun-06 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.