Still Getting null pointer exception on peakHourServingRadiusOf3KmsAt7Pm() test

Previous Post : https://forum.crio.do/t/getting-null-pointer-exception-on-peakhourservingradiusof3kmsat7pm-test/13971

This is where I am getting null :
null

Hi @rohit
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

hello @rohit
You have posted this query in Qmoney,from next time post queries only in the respective ME.
Now coming to your error,
Since it is getting nullpointerException, there could be various reasons behind it,
1.maybe there is no restaurant at all because you are not populating the database.
2. Maybe the function you are calling is not the right function call, visit the testcase which is failing and go through every function the test is visiting and see are you calling the right methods and class.

Hint: Interfaces in java are used for abstraction.

please mark the reply as solution if this solves your issue or reply to this thread if your issue still persists.

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.