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 33 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!

    J Offline
    J Offline
    Joezer BH
    wrote on last edited by
    #16

    Quote:

    "Error: Cannot delete 6342_637.oft, there is not enough disk space. Delete one or more files to free disk space, and then try again."

    Never underestimate the difference you can make in the lives of others.

    OriginalGriffO 1 Reply Last reply
    0
    • L Lost User

      And everything we wrote that long ago was better? :)

      Sent from my BatComputer via HAL 9000 and M5

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #17

      Well, I at least tried to tell the user what he had done wrong. Most of the time. Some of the time, probably. But MS didn't even give a nod towards "user friendly" in those days; it was "user hostile" at best, and "outright hatred" at worst.

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

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • J Joezer BH

        Quote:

        "Error: Cannot delete 6342_637.oft, there is not enough disk space. Delete one or more files to free disk space, and then try again."

        Never underestimate the difference you can make in the lives of others.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #18

        Oh god, I'd forgotten that piece of zen wonderfulnes

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

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        J 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Oh god, I'd forgotten that piece of zen wonderfulnes

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

          J Offline
          J Offline
          Joezer BH
          wrote on last edited by
          #19

          Not an exception but with the same flavour. During windows start-up device detection: "Keyboard error or no keyboard present." and below the well known "Press F1 to continue or ESC to enter SETUP."

          Never underestimate the difference you can make in the lives of others.

          A B 2 Replies 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
            Gary R Wheeler
            wrote on last edited by
            #20

            0xC0000005, aka Windows access violation. Detection is nowhere near the place in your source code that caused the problem, and the actual cause usually has nothing to do with an attempt to access any kind of protected object.

            Software Zen: delete this;

            L J 2 Replies Last reply
            0
            • A AlphaDeltaTheta

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

              J Offline
              J Offline
              Joezer BH
              wrote on last edited by
              #21

              Oh, just remembered another one: "<unknown> had detected an error in <unknown>, <unknown> will now close."

              Never underestimate the difference you can make in the lives of others.

              1 Reply Last reply
              0
              • G Gary R Wheeler

                0xC0000005, aka Windows access violation. Detection is nowhere near the place in your source code that caused the problem, and the actual cause usually has nothing to do with an attempt to access any kind of protected object.

                Software Zen: delete this;

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

                Gary R. Wheeler wrote:

                Windows access violation.

                Access is a violation of many things and deserves its own exception. ;)

                Sent from my BatComputer via HAL 9000 and M5

                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
                  PIEBALDconsult
                  wrote on last edited by
                  #23

                  When things go wrong, even the worst exception is better than no exception. :sigh:

                  1 Reply Last reply
                  0
                  • J Joezer BH

                    Not an exception but with the same flavour. During windows start-up device detection: "Keyboard error or no keyboard present." and below the well known "Press F1 to continue or ESC to enter SETUP."

                    Never underestimate the difference you can make in the lives of others.

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

                    Well this is the one I was always facing in my old Celeron box

                    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
                      AlphaDeltaTheta
                      wrote on last edited by
                      #25

                      In good old days of native c++... now I have moved to managed, atleast the debugger gives me some stack traces... I never learnt how to debug a native app!

                      1 Reply Last reply
                      0
                      • G Gary R Wheeler

                        0xC0000005, aka Windows access violation. Detection is nowhere near the place in your source code that caused the problem, and the actual cause usually has nothing to do with an attempt to access any kind of protected object.

                        Software Zen: delete this;

                        J Offline
                        J Offline
                        JeremyBob
                        wrote on last edited by
                        #26

                        Agreed, the Access Violation errors are the absolute worst.

                        1 Reply Last reply
                        0
                        • A AlphaDeltaTheta

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

                          Y Offline
                          Y Offline
                          YvesDaoust
                          wrote on last edited by
                          #27

                          "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 A 2 Replies 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
                            base2 codeproject
                            wrote on last edited by
                            #28

                            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 1 Reply Last reply
                            0
                            • A AlphaDeltaTheta

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

                              F Offline
                              F Offline
                              Farlop
                              wrote on last edited by
                              #29

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

                              S 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
                                hollysong
                                wrote on last edited by
                                #30

                                Multiple-step operation generated errors. Check each status value.

                                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
                                  BobJanova
                                  wrote on last edited by
                                  #31

                                  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 1 Reply Last reply
                                  0
                                  • A AlphaDeltaTheta

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

                                    Sander RosselS Offline
                                    Sander RosselS Offline
                                    Sander Rossel
                                    wrote on last edited by
                                    #32

                                    There are quite some Exceptions I really don't like... NullReference, String or binary data would be truncated, that sort of stuff. Mostly because the error doesn't indicate what was null or what data would be truncated. But the worst of them all, mostly because I've seen it not handled correctly way to often, See the inner Exception for details... Ok, so where is that inner exception? Not in some logging, not in some message box, actually it is nowhere! The programmer programming this code did not ever stop to think about the fact that an Exception may have an inner exception. Good luck finding out what's wrong... :sigh: Now comes the fun part. I fixed it and the first Exception I got had an inner exception in the inner exception... Luckily I log exceptions recursively for these cases :)

                                    It's an OO world.

                                    public class Naerling : Lazy<Person>{
                                    public void DoWork(){ throw new NotImplementedException(); }
                                    }

                                    1 Reply Last reply
                                    0
                                    • pkfoxP pkfox

                                      Back in my dark COBOL days "Abnormal abend", that could indicate anything.

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

                                      S Offline
                                      S Offline
                                      sir_download_alot
                                      wrote on last edited by
                                      #33

                                      But usually you got an error code and, if didn't helped, a dump which could be analysed. I got mostly 0C7 errors :-)

                                      1 Reply Last reply
                                      0
                                      • J Jorgen Andersson

                                        BSOD

                                        Be excellent to each other. And... PARTY ON, DUDES! Abraham Lincoln

                                        S Offline
                                        S Offline
                                        sir_download_alot
                                        wrote on last edited by
                                        #34

                                        Is this the same like BYOD? What I really like is BYOB (bring your own bottle) :-)

                                        J 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
                                          sir_download_alot
                                          wrote on last edited by
                                          #35

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

                                          S 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