Csv does not exist or could not be read NullPointerException

please open your own TOPIC

but read this one first about processing folder / file structure

also if you read that already you should know that
info about path and filename is essential to this question

but code and data NOT,
only the

Table table;
String infile = "data/posit18.csv";
//..
table = loadTable(infile, "header, csv");

but as you show this already
even you get your project / file path correct

  • – that is not a csv file!! should be like
x,th1,th2,F
-0.00099,0.018381,0.009091,-10
-0.00099,0.018419,0.009189,10

processing loadTable can only use true .csv .tsv


and i have no idea why you try transfer from table to array
( only needed in rare occasions )

1 Like