Ways of Making Progress
Aug. 17th, 2023 10:24 pmI had managed to exhume one of the necessary pieces of information using my superior Google-fu, so Gretchen was able to get on the phone with our financial advisor today and clean up one of the long-standing bits of financial business that needed to be taken care of. The right incantation was spoken and now all the various wheels are in motion so that the clean up will happen.
We are, of course, waiting to see if anything blows up in the process. :)
Speaking of things that blow up in the process...
So I'm writing a new feature at work where I'm using some of my older code to allow me to extract the data that I need to answer a lot of questions. It's actually working pretty well, but I got into a situation this afternoon where I was getting a null pointer exception. Ok, I had the data that I could pass in to clear up that null reference, so let's just initialize things and let them run normally.
A cascade of null pointer exceptions followed for a different object, because I had also passed in a null for the period identifier instead of the well-known (in this environment) "this is not a valid period" identifier. I added null checks. I added a lot of null checks.
And then I went back to my code and passed in the well-known "this is not a valid period" identifier instead of a null reference. Because suspenders *and* belt, right?
It's working correctly now.
We are, of course, waiting to see if anything blows up in the process. :)
Speaking of things that blow up in the process...
So I'm writing a new feature at work where I'm using some of my older code to allow me to extract the data that I need to answer a lot of questions. It's actually working pretty well, but I got into a situation this afternoon where I was getting a null pointer exception. Ok, I had the data that I could pass in to clear up that null reference, so let's just initialize things and let them run normally.
A cascade of null pointer exceptions followed for a different object, because I had also passed in a null for the period identifier instead of the well-known (in this environment) "this is not a valid period" identifier. I added null checks. I added a lot of null checks.
And then I went back to my code and passed in the well-known "this is not a valid period" identifier instead of a null reference. Because suspenders *and* belt, right?
It's working correctly now.