Error While Running the application

server started successfully, but no data in the database,
so throwing below exception.
how to import or insert data in mflix
java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[na:na]
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[na:na]
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) ~[na:na]

Hi @Milind_19368,

Have you set up your atlas cluster? If not follow the tutorials provided in chapter 1.

If yes then you can load the sample data by following the below steps:

  • In the Clusters tab(after adding the cluster), you will find the sandbox.
  • In that sandbox, click on 3 dots > Load Sample Dataset.
  • And your sample data will be loaded into your cluster.

Vijay

got it, I didn’t restore the data, I did it now test are running fine
Thanks