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
sangeeta.marathe@Futurewise.cosangeeta.marathe@Futurewise.co 

Error Solution

Class.ProfilerQuestionControllerTest.test1Data: line 50, column 15 Class.ProfilerQuestionControllerTest.save1Test: line 72, column 9 External entry point

 

Please help me this error bcoz i am not able to figure out it...

Imran MohammedImran Mohammed

Its tough to say what exactly the issue could be without having a look into the code.

 

Paste the code and highlight which iline is 72 and 50.

sangeeta.marathe@Futurewise.cosangeeta.marathe@Futurewise.co

System.ListException: List index out of bounds: 0

What is meant by this exception...

bob_buzzardbob_buzzard

It means that you have an empty list but you've tried to access an element in it.

Imran MohammedImran Mohammed

Yes as Bob_buzzard said, you are trying to access an index in the list which does not exist.