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!
Thank you so much! I really appreciate your help throughout the whole process!
@Lea Inberg My pleasure!
@Dr. Tim, Max Labs Director I am having the same situation on my end, can you walk me through to how to fix it?
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
Thank you for responding to my question! I followed your steps and granted the access. Please let me know what additional information is needed from my end. Thank you
@Lea Inberg Fantastic. Thanks, Lea. We're looking into it now and will let you know ASAP!
@Dr. Tim, Max Labs Director Hello, Dr. Tim, I'm checking in to see if there are any updates or anything I can do to help. Thank you!
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!
Thank you for getting back to me. I believe the issue must have happened in the "new rule" section. Since I was able to go over everything else but not dig deep into the rules without messing everything up. Due to me already finishing the first round of the lab, any changes I make, Salesforce asks me to rename it, which the grader later won't respond well to. I have no problem redoing the whole lab if only I had an option to get rid of the work I had done without messing up the past codes
@Lea Inberg Thanks, Lea. That's helpful. I think it has something to do with what you're saying. When you say the "new rule" section, do you mean the workflow rule part of 3b or the lead auto-response rule or do you recall? If not, no worries. We'll check both but if you do remember that might be helpful. Thanks!
@Dr. Tim, Max Labs Director Unfortunately, I do not recall which part exactly
i am having the same issue my lab 2b wont grade. I don't understand how to fix it.
I'm not sure what you mean by "it won't grade" so explain a little more and also do these 3 steps so I can access your account and take a look. Let me know once you've done them, ok?
Log in and click on the character icon (upper right) and click My Settings
On the left, under My Personal Information, click Grant Account Login Access below that
On the row for The Max Labs Project Support, use the --No Access-- pull-down menu to select 1 month and click Save
@Dr. Tim, Max Labs Director Thank you for the quick response. i did that so you should have access!
@Dr. Tim, Max Labs Director i type in the code on the developer console to try and grade the Lab 2b but an error comes up saying System.QueryException: invalid ID field: null