Getting this error in module 2

My INFO and url are printing but after that it is throwing an error shown in the attached file. Please help me regarding the same.

There’s some error, in your logic as far as I can see from your screenshot , look at the stacktrace printed out , it shows there’s an error on line number 177 of portfolioManagerApplication file,
add a breakpoint, and debug it in VS code.
Refer to this FAQ in order to understand how to debug.
https://forum.crio.do/t/how-to-use-the-debugger-in-vs-code-for-java/7092/2

this is my line 177:
.findFirst().get().getClose());

Also, the same code is working for the other two test cases.

You need to write code which coves all the edge cases as well.

u can catch this error by logical question what if the enddate gives a value which is does not fetch stockvalues from tiingocandle. so you need to modify the value to the very next proper value