# Csv does not exist or could not be read NullPointerException

**URL:** <https://discourse.processing.org/t/csv-does-not-exist-or-could-not-be-read-nullpointerexception/10785>\
**Category:** Coding Questions\
**Created:** [April 29, 2019, 4:36pm UTC](https://discourse.processing.org/t/csv-does-not-exist-or-could-not-be-read-nullpointerexception/10785 "2019-04-29T16:36:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [April 30, 2019, 6:18am UTC](https://discourse.processing.org/t/csv-does-not-exist-or-could-not-be-read-nullpointerexception/10785/4 "2019-04-30T06:18:05Z")

</div>

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

```auto
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

```auto
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 )

---

_[View the full topic](https://discourse.processing.org/t/csv-does-not-exist-or-could-not-be-read-nullpointerexception/10785)._
