Hello,
I am having an issue with Lab3b. When I run the grading console after finishing the lab I receive a message stating "Attempt to de-reference a null object." I have reviewed the whole lab, tried multiple web servers, and updated the grader but none seem to fix the issue. The other issue is that this lab is difficult to go back and scrap since it is intertwined with many things.
Any help is greatly appreciated!
Np, I got it! When you were doing the steps to add a lead using the API call - that long link in your browser that ends with you giving the lead the first name of "leerg" (first 2 letters of your first name and last 3 letters of the last) - on your first try you added a lead with no name at all. Either you left off the "first_name=leerg" part or you mistyped something and that part didn't work. Either way, you had a lead with no name at all.
A couple of minutes later, you got it fixed and it worked. In fact, you added two more that were correct. But that one with no name at all was still in there. Then our grader app was searching all your leads to make sure you had one in there with "leerg" but the code wasn't expecting to find one with no name at all and it choked! We should have anticipated that possibility and accounted for it but we didn't and that's what was causing the problem. Mystery solved!
So I deleted that one lead, reran the scoring routine and it worked and how you have 10/10 for everything. All good.
Sorry for the hassle and thanks a ton for helping us sort this out. We will fix that in the code so nobody runs into it again!
i am having the same issue my lab 2b wont grade. I don't understand how to fix it.
Oh, thanks for checking in, Lea, and offering to help. I took a good look at your account and just couldn't find a clue to this. Everything looked perfect to me! And our coder-guy has been studying the code and is baffled as to how it could have tripped up like that. So we need to dig deeper. But in the meantime, if there is anything you can think of where you might have run into a snag and had to go back and redo some steps or...anything other than just going step-by-step through the instructions in the order given, just let me know, ok? If you can recall anything out of the ordinary, that might help us track down this bug. Thanks!
Yeah that may be a grader app error. If you do these 3 steps, I can access your account and see if I can identify the issue - just let me know when you’ve finished them, ok? 1. Log in and click on the character icon (upper right) and click My Settings 2. Click My Personal Information (upper left) and then Grant Account Login Access below that 3. On the row for The Max Labs Project Support, use the --No Access-- pull-down menu to select 1 month and click Save