Null pointer Exception -

com.crio.warmup.stock.portfolio.PortfolioManagerTest > calculateExtrapolatedAnnualizedReturn() FAILED
java.lang.NullPointerException at PortfolioManagerTest.java:89

Hi @vishal0708
Looks like you are facing challenges in the current module.
Here are a few FAQs that we think might be helpful for you

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

@vishal0708 For a hint check the file annualreturncontroller in the annual-app dir
Check what values it is giving to getService
For more information please attach the screenshot

Hi @vishal0708 ,
Was the issue resolved?
If not, please provide a better context on when this is happening - running the tests individually using VS code/./gradlew build and attach screenshots if applicable

Excellent going @vishalbihani2 jumping in to helping your peers :clap:

Hi @Nabhan-CrioTA, Not not yet resolved

Can anyone help here !!

Go through this

Closing this as you have added the content to tests. Do reopen if it still persists

Closing this topic as your issue is resolved. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.

Re-opening this topic as the previously accepted solution was just Un-marked.

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.