function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bouscalbouscal 

Trailhead: There was an unhandled exception. Error: NoMethodError. Message: undefined method `each' for nil:NilClass

Salesforce1 Mobile basics unit 5/5 - Creating Object-Specific Publisher Actions

I believe I have follwed the requirements explicitly, three times now.  Validated that the publisher action actually does what it's supposed to but the check from Trailhead returns an error.  
"Challenge not yet complete... here's what's wrong: 
There was an unhandled exception. Error: NoMethodError. Message: undefined method `each' for nil:NilClass"
Error message

I have deactivated all Account triggers to insure there's not a conflict.
I have zero data validation rules on the Account object.
I have zero workflow rules on the Account object.
I have checked that all Approvals are deactivated.

Here are all of the components...

Action
Update Account Information action
Publisher Layout
Account Detail publisher layout
Page Layout
Account Layout

Functional Results
Update Results


I'm quite anxious to complete this unit as it's the only one I have left.
Best Answer chosen by bouscal
bouscalbouscal
Gave up on debugging this and just used a new DE.

All Answers

SoleesSolees
Maybe you have a Namspace declared in your Dev org, and it seems that if you do, the challenge check won´t work.

cheers
bouscalbouscal
Hi Solees, that's not the issue, there's no namespace declared.  I suspect it's an issue with the test rather than in my org since it functions as desired without issue.
bouscalbouscal
Gave up on debugging this and just used a new DE.
This was selected as the best answer
Pargavi Selvaraj 7Pargavi Selvaraj 7
Hi 
I am also getting this error. I really don't know why this is happening. I create only reports and dashbords in newly created Developer Edition.

User-added image

If I complete this challenge only, I can move on to other issues. Please help me to solve this.
Sameer LearningSameer Learning
@Pargavi Selvaraj 7 I am also getting the same error. Have you got any resolution ?  
Rajul Ratnawat 1Rajul Ratnawat 1
I am also getting the same error while checking the step 3 for Business Administration Specialist User-added image
Pargavi Selvaraj 7Pargavi Selvaraj 7
No I don't find any solution to this @Sameer Learning. If I find a solution I'll definetly tell this.
Subash ChandraboseSubash Chandrabose
I am also getting same error. @Pargavi or @Rajul, If you guys found any solution. Please share with me.

User-added image

Thanks in Advance,
Subash Chandrabose
karthik subramanian 13karthik subramanian 13
same error while checking the step 3 for Business Administration Specialist 
SURI NAGASURI NAGA
Hi Friends,
I am too stuck at the challenge #3 and getting the same error. Any help to overcome this appreciated.User-added image