DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Random error, does not happen all the time (VB .NET)  (Read 4,434 times)

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Random error, does not happen all the time (VB .NET)
« on: January 29, 2009, 06:03 AM »
Alright, if you haven't done the BASIC Programming School here (that would be the language, the School is not BASIC :P), and you plan on it, this may be a bit of a spoiler (not a lot, but there is code in the SS).

Anyways, I'm working on the 2nd Basic assignment. Easy stuff, nothing complicated at all - I've done it before. I whipped up a small little prog that does it quite nicely, except for approximately 1/2 of the time, this error appears in VB - A NullReferenceException has occurred. Alright... so I threw in a Try/Catch block to see if I could get the error to appear in a format that someone from planet Earth could read... and nothing. On Error Resume Next does the same thing. The error "details" make no sense at all.

I've stepped through the program using the debugging tools, and it won't trigger any debugging issues. What the heck, seriously?

Anyone got ideas?

error.png

Original address: https://www.donationcoder.com/forum/index.php?topic=16802.0