Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Worst Exception!!

Worst Exception!!

Scheduled Pinned Locked Moved The Lounge
performancequestion
92 Posts 49 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jacquers

    object reference not set to an instance of an object index is outside the bounds of the array

    T Offline
    T Offline
    Tomz_KV
    wrote on last edited by
    #48

    Jacquers wrote:

    object reference not set to an instance of an object

    This exception message is not useful at all. It would be nice if it gives the object name.

    TOMZ_KV

    K 1 Reply Last reply
    0
    • A AlphaDeltaTheta

      What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

      G Offline
      G Offline
      gjpt
      wrote on last edited by
      #49

      Keyboard error Press F1

      A 1 Reply Last reply
      0
      • A AlphaDeltaTheta

        What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #50

        I guess the worst exception I have seen is the "uncaught exception"... That one who calls std::terminate() and then calls abort() :P Saludos!! ____ichr@mm :wq

        1 Reply Last reply
        0
        • A AlphaDeltaTheta

          What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

          K Offline
          K Offline
          KLSmith
          wrote on last edited by
          #51

          Seems to me that worst is being interpreted as either: nonsensical, useless (programmer too lazy to write a meaningful message), or a dreaded message, where something bad really did happen. Here is a nonsensical one: One recent message in my Windows-7 system event log was The service failed to start. Reason: The service finished successfully.

          A 1 Reply Last reply
          0
          • A AlphaDeltaTheta

            What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

            S Offline
            S Offline
            scosta_FST
            wrote on last edited by
            #52

            "Catastrophic error" is a real message I've seen years ago, from Windows XP.

            1 Reply Last reply
            0
            • pkfoxP pkfox

              Ah yes the compiler messages of MicroFocus COBOL !!! - miss one full-stop (period) and you would get 1000's of errors. Deep joy.

              When the going gets weird the weird turn pro - Hunter S Thompson RIP

              B Offline
              B Offline
              BrainiacV
              wrote on last edited by
              #53

              Hahahaha...Reminds me of a COBOL program I wrote in high school. I tried to write a COBOL without the temporary storage. I tried to go from the input field directly to the output field. My one (or two) page program generated 200 pages of error messages.

              Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

              1 Reply Last reply
              0
              • A AlphaDeltaTheta

                What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                B Offline
                B Offline
                BrainiacV
                wrote on last edited by
                #54

                I always hated working in Oracle's PL/SQL. I'd get "BAD END STATEMENT", which I finally tracked down to mean "LABEL NOT FOUND". I guess it found the end of the program before it found the label it was looking for and decided it was the end statement's fault. I'm sorry, I wrote a better interpreter in high school when I made a program that would read symbolic labeled BASIC programs and generate the version with line numbers (that was required at that time). I was slowly wallpapering my cubicle with Oracle error messages and their real meaning. The Oracle database engine may have been programmed by the A-Team, but I always thought the programming interface was written by the F Troop. To this day, I refuse to do Oracle database programming.

                Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                1 Reply Last reply
                0
                • F Farlop

                  SQL Server: "String or binary data would be truncated" which column? "aaaaah i'm not telling you!!" Drives me mad every time!

                  S Offline
                  S Offline
                  StatementTerminator
                  wrote on last edited by
                  #55

                  The offending value would be kinda nice to know as well! I once had to deal with this in a daily import file that we were processing from another company. The file had tens of thousands of records, and I wrote the code to import the data into our system. Someone at the company who gave us the import file liked to go in and make manual edits once in a while...yeah. The specs were not meant as suggestions. So I had one bad value in one field of one record in a large import file, causing the whole import to bomb, and no clue other than a guess at which columns were suspect. Thanks MS SQL. I had to implement a binary search to cast values in the file until I found the bad one. Good times.

                  1 Reply Last reply
                  0
                  • A AlphaDeltaTheta

                    What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                    H Offline
                    H Offline
                    Harley L Pebley
                    wrote on last edited by
                    #56

                    The one that should be raised but isn't, or caught and simply ignored, causing the application to not work correctly with no indication as to why.

                    1 Reply Last reply
                    0
                    • A AlphaDeltaTheta

                      What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                      P Offline
                      P Offline
                      Peter Webb
                      wrote on last edited by
                      #57

                      Up until yesterday "Out of Memory" was my worst exception. By coincidence, today I found out was not actually an exception, but an error condition in Java, which explains why I wasn't catching it. So now its been promoted to worst throwable. And I hate pretty much everything you can throw.

                      A B 2 Replies Last reply
                      0
                      • S sir_download_alot

                        We had an external consultant, and he implemented a very meaningfull error message for all type of errors: "An Error occured"

                        S Offline
                        S Offline
                        StatementTerminator
                        wrote on last edited by
                        #58

                        LOL, this kind of lazy exception "handling" is worse than none at all :) But why should a consultant care, they don't have to actually maintain the code.

                        1 Reply Last reply
                        0
                        • A AlphaDeltaTheta

                          What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                          D Offline
                          D Offline
                          Dark Pallys
                          wrote on last edited by
                          #59

                          "Catastrophic Failure", no more, no less. No error code, no reference to where the error came from or how it got there..... SIGH! There's nothing worse than getting an error like that after a 12 hour coding session...

                          1 Reply Last reply
                          0
                          • A AlphaDeltaTheta

                            What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                            S Offline
                            S Offline
                            StatementTerminator
                            wrote on last edited by
                            #60

                            PC LOAD LETTER This is what happens when full-blown engineers who write a little code try their hand at exception handling. Everyone knows that PC means paper cassette (what else could it possibly mean?), and that LETTER means the letter-size paper tray, right? Surely that's more informative than "ADD PAPER," I mean it tells you exactly what kind of paper to use and where to put it. My favorite, though, is the GPF error message from Windows 95/NT: "This program has performed an illegal operation and will be shut down." Back in the NT/95 days I worked as the IT guy for a public library. People would get that message on the public terminals and freak out, expecting the police to show up. I thought about hacking the Windows API to add sirens and flashing lights to the dialog, but figured it might not look good on my next review. The conversations I had with patrons trying to explain the error were pretty funny though. Even funnier were the patrons who just got up and made a bee-line for the door, wonder what they were surfing?

                            1 Reply Last reply
                            0
                            • A AlphaDeltaTheta

                              What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                              P Offline
                              P Offline
                              Patrick Fox
                              wrote on last edited by
                              #61

                              That was my choice too, Out of Memory. GDI throws this a lot and it's misleading. People with 8 gigs of ram scratch their heads wondering where it went wrong. GDI uses limited pools of memory for its stuff, and when it runs out it doesn't tell you which of these pools was exhausted. Even worse it usually lacks GDI resources to throw up a message box telling you it ran into a problem. I've dealt with this a lot in the past week.

                              1 Reply Last reply
                              0
                              • A AlphaDeltaTheta

                                What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                                P Offline
                                P Offline
                                patbob
                                wrote on last edited by
                                #62

                                C#'s missing DLL exception is my absolute favorite worst. Not the exception itself, but because Microsoft put all these convenient fields in for identifying which DLL was missing, and then didn't bother to actually fill any of them in. [edit] Not worst, but rather my all time favorite, was the insufficient memory error message from the IBM (3090?) we had at school. It included the 800 phone number of the sales team so you could contact them to buy more memory. Of course, configuring the VM to have more RAM was the cheap answer :)

                                We can program with only 1's, but if all you've got are zeros, you've got nothing.

                                1 Reply Last reply
                                0
                                • A AlphaDeltaTheta

                                  What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                                  W Offline
                                  W Offline
                                  waarnink
                                  wrote on last edited by
                                  #63

                                  Who is General Failure? And why is he reading drive A?

                                  1 Reply Last reply
                                  0
                                  • Y YvesDaoust

                                    "the application has failed to start because its side-by-side configuration is incorrect" This one gives me nightmares because so far I have been unable to troubleshoot it. The application refuses to start, that's it. No clue on what DLL was missing/of invalid type or whatsoever. Quite efficiently contributes to the arcane mysteries of .NET technology. One more instance of what harold aptroot said.

                                    P Offline
                                    P Offline
                                    patbob
                                    wrote on last edited by
                                    #64

                                    YvesDaoust wrote:

                                    This one gives me nightmares because so far I have been unable to troubleshoot it. The application refuses to start, that's it. No clue on what DLL was missing/of invalid type or whatsoever

                                    Check into sxstrace. It generates a log of all side-by-side library loads, reporting what library versions were checked and which were loaded (or not found). Totally useless for C# though, but useful for native code.

                                    We can program with only 1's, but if all you've got are zeros, you've got nothing.

                                    A 1 Reply Last reply
                                    0
                                    • A AlphaDeltaTheta

                                      What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                                      G Offline
                                      G Offline
                                      gggustafson
                                      wrote on last edited by
                                      #65

                                      I would like to submit the following from [^]:

                                         Three things are certain:
                                         Death, taxes, and lost data.
                                         Guess which has occurred.
                                      
                                         Everything is gone;
                                         Your life's work has been destroyed.
                                         Squeeze trigger (yes/no)?
                                      
                                         I'm sorry, there's -- um --
                                         insufficient -- what's-it-called?
                                         The term eludes me ...
                                      
                                         Windows NT crashed.
                                         I am the Blue Screen of Death.
                                         No one hears your screams.
                                      
                                         Seeing my great fault
                                         Through darkening blue windows
                                         I begin again
                                      
                                         The code was willing,
                                         It considered your request,
                                         But the chips were weak.
                                      
                                         Printer not ready.
                                         Could be a fatal error.
                                         Have a pen handy?
                                      
                                         A file that big?
                                         It might be very useful.
                                         But now it is gone.
                                      
                                         Errors have occurred.
                                         We won't tell you where or why.
                                         Lazy programmers.
                                      
                                         Server's poor response
                                         Not quick enough for browser.
                                         Timed out, plum blossom.
                                      
                                         Chaos reigns within.
                                         Reflect, repent, and reboot.
                                         Order shall return.
                                      
                                         Login incorrect.
                                         Only perfect spellers may
                                         enter this system.
                                      
                                         This site has been moved.
                                         We'd tell you where, but then we'd
                                         have to delete you.
                                      
                                         wind catches lily
                                         scatt'ring petals to the wind:
                                         segmentation fault
                                      
                                         ABORTED effort:
                                         Close all that you have.
                                         You ask way too much.
                                      
                                         First snow, then silence.
                                         This thousand dollar screen dies
                                         so beautifully.
                                      
                                         With searching comes loss
                                         and the presence of absence:
                                         "My Novel" not found.
                                      
                                         The Tao that is seen
                                         Is not the true Tao, until
                                         You bring fresh toner.
                                      
                                         The Web site you seek
                                         cannot be located but
                                         endless others exist
                                      
                                         Stay the patient course
                                         Of little worth is your ire
                                         The network is down
                                      

                                      And many others.

                                      Gus Gustafson

                                      1 Reply Last reply
                                      0
                                      • A AlphaDeltaTheta

                                        What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                                        R Offline
                                        R Offline
                                        Reelix
                                        wrote on last edited by
                                        #66

                                        Uncaught Error - 'undefined' The error message that gets thrown when an HTML5 WebSocket crashes due to an unknown cause...

                                        -= Reelix =-

                                        B 1 Reply Last reply
                                        0
                                        • A AlphaDeltaTheta

                                          What's in your mind is the worst exception in programming?? My favourite is Out of Memory!

                                          M Offline
                                          M Offline
                                          Member 4608898
                                          wrote on last edited by
                                          #67
                                          1. Something went wrong but I'm not telling you what 2) Illegal/invalid value but I'm not going to tell you what the illegal/invalid value is.
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups