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.
  • 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
                • A AlphaDeltaTheta

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

                  E Offline
                  E Offline
                  Eric_M
                  wrote on last edited by
                  #68

                  AppHangB...does anyone have any idea where that comes from or what causes 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!

                    R Offline
                    R Offline
                    RafagaX
                    wrote on last edited by
                    #69

                    java.lang.ClassNotFoundException

                    In an applet, pure bliss to solve... :rolleyes:

                    CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                    1 Reply Last reply
                    0
                    • L Lost User

                      All of the "something went wrong, but I'm not going to tell you what, why, or even where, neener neener"-Exceptions. XNA was pretty good at throwing those - often in a manner that the debugger would fail to run. Actually native code in general is good at that. For example, if anything happens after the stack gets misaligned on win64, things go very wrong.

                      A Offline
                      A Offline
                      Alan Balkany
                      wrote on last edited by
                      #70

                      You beat me to it!

                      1 Reply Last reply
                      0
                      • J Jacquers

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

                        K Offline
                        K Offline
                        KP Lee
                        wrote on last edited by
                        #71

                        Both of those exceptions explain what you did and that it is your (the developer's) fault that it happened. If both of them said "You are an effing idiot!", the statement would be true, but not at all helpful about what went wrong. I've worked in languages where you'd never get the first error because there is no such thing as an object and over-indexing an array isn't an error. I've had scheduled programs that blew up because it had an illegal divide by zero error or illegal instruction. Couldn't for the life of me find out what was wrong with my code. Turned out it was scheduled to run when another code was also running that overindexed its array and rewrote my code's machine language in memory and so my code went crazy. The operator happened to notice other people's code were blowing up whenever this same program ran.

                        Jacquers wrote:

                        index is outside the bounds of the array

                        Is a life-saver. Or at least a time-saver because my time isn't wasted when someone else is the idiot. As it is, too many times, that's my role. (IE Idiot programmer.)

                        1 Reply Last reply
                        0
                        • P Pete OHanlon

                          The fact you commented, says you did. Obviously, you and I are more subtle than the others. :-D

                          I was brought up to respect my elders. I don't respect many people nowadays.
                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                          K Offline
                          K Offline
                          KP Lee
                          wrote on last edited by
                          #72

                          English is my first language and I didn't get it. That or my memory had a stack-overflow problem so I forgot what you meant. I think my memory is on RAM that doesn't get refreshed too often, I forget what I'm

                          1 Reply Last reply
                          0
                          • B BobJanova

                            The Zortech C compiler was a bit like that with any syntax mistake (like missing a semicolon or for sure a brace): look at the first error and ignore the other 200 it generated.

                            A Offline
                            A Offline
                            AlphaDeltaTheta
                            wrote on last edited by
                            #73

                            All C compilers are probably like that... even MINGW and MSVC does this till today... By far, only tcc gives good compile time errors!!

                            1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              <shudder> I'd forgotten that one: OS/360 in my case. And wasn't the explanation helpfull as well? "The RTM2WA is pointed to by the TCB of the failing task (field TCBRTWA), and is listed after the abnormally ending TCB." Why can't you just say "You forgot a comma you idiot" and let us both move on? :laugh:

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              A Offline
                              A Offline
                              AlphaDeltaTheta
                              wrote on last edited by
                              #74

                              Hoa! :omg: Well I never programmed any of OS/* or COBOL... But this one looks insane

                              1 Reply Last reply
                              0
                              • B base2 codeproject

                                Stack overflow exceptions! Although they don't happen often, they are tricky to debug as the stack trace isn't available to me when it happens.

                                A Offline
                                A Offline
                                AlphaDeltaTheta
                                wrote on last edited by
                                #75

                                This happened quite often to me, once I had written a file finder program. During tests, once I tried to search a really huge directory tree and boom! Stack Overflow. And that is still in my code -- Known Issues - "WONTFIX" - Craches with huge file trees!

                                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.

                                  A Offline
                                  A Offline
                                  AlphaDeltaTheta
                                  wrote on last edited by
                                  #76

                                  Not only .NET. It also happens with native exe's. Mostly if there is an error in the application manifest. (Not the .NET assembly manifest, the one embedded in the exe)

                                  1 Reply Last reply
                                  0
                                  • B BobJanova

                                    That is so you fix the problem (i.e. plug in a keyboard) before trying to use the computer.

                                    A Offline
                                    A Offline
                                    AlphaDeltaTheta
                                    wrote on last edited by
                                    #77

                                    My keyboard (PS/2) was plugged in already... what else shall I do?? That time my head grows hot and ":mad: Mr COMPUTER, HOW MANY DAMN KEYBOARDS DO YOU WANT??"

                                    1 Reply Last reply
                                    0
                                    • P patbob

                                      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 Offline
                                      A Offline
                                      AlphaDeltaTheta
                                      wrote on last edited by
                                      #78

                                      patbob wrote:

                                      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.

                                      Hey, It will be very helpful to me if you please instruct me how to use that tool ??

                                      P 1 Reply Last reply
                                      0
                                      • G gjpt

                                        Keyboard error Press F1

                                        A Offline
                                        A Offline
                                        AlphaDeltaTheta
                                        wrote on last edited by
                                        #79

                                        How in the world I'll press F1 after keyboard error??

                                        1 Reply Last reply
                                        0
                                        • K KLSmith

                                          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 Offline
                                          A Offline
                                          AlphaDeltaTheta
                                          wrote on last edited by
                                          #80

                                          KLSmith wrote:

                                          The service failed to start. Reason: The service finished successfully.

                                          This is a good one... Also in my event log!

                                          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