nullPointerException when trying loadTable()

Hello,

I'm getting a nullPointExeption when trying to loadTable. here is my code.

    String twitterFile = "output2.csv"; 
    String twitterDataFile = twitterFile;

    ArrayList<Twitter> tweets = new ArrayList();

    void setup() {
      size(1000, 600, P2D);
      smooth();
      Table twitterCSV = loadTable(twitterDataFile, "header, csv");
    }

Any ideia on what could it be?

thanks a lot

Answers

Sign In or Register to comment.